You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeking funding for the tail calls project goal (Milestone 3 in the [workplan](/initiatives/workplans/codegen/)). Please [get in touch with us](/support), if you are interested in financially supporting our effort.
48
+
Please [get in touch with us](/support), if you are interested in financially supporting our effort.
49
49
50
50
### Acknowledgements
51
51
52
52
We want to acknowledge the [work done in the Zig ecosystem](https://github.com/ziglang/zig/pull/21257) where our idea was taken from fairly directly, and thank [joshtriplett](https://github.com/joshtriplett), [jackh726](https://github.com/jackh726) and folks at the [codegen unconf at GOSIM 2024](https://hackmd.io/@Q66MPiW4T7yNTKOCaEb-Lw/gosim-unconf-rust-codegen) for providing feedback.
53
53
54
-
We also thank [Tweede golf](https://tweedegolf.nl) for supporting the initial effort, and [NLnet](https://nlnet.nl) and [AWS](https://aws.amazon.com) for funding the milestone 1, *State machine codegen*, and milestone 2, *Identify performance bottlenecks*.
54
+
We also thank [Tweede golf](https://tweedegolf.nl) for supporting the initial effort, and [NLnet](https://nlnet.nl), [AWS](https://aws.amazon.com)and [Tempo Labs](https://tempo.xyz/)for funding the milestone 1, *State machine codegen*, milestone 2, *Identify performance bottlenecks* and milestone 3, *Tail calls*.
Copy file name to clipboardExpand all lines: content/initiatives/workplans/workplan-codegen.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,6 @@ backTitle = "Back to initiative: Making Rust Faster Than C"
10
10
11
11
## Work plan
12
12
13
-
### Milestone 1: State machine codegen
14
-
15
-
- Improve [RFC 3720 (improved state machines)](https://github.com/rust-lang/rfcs/pull/3720)
16
-
- Identify key rust projects that benefit from `#[loop_match]`
17
-
- Add experimental support for `#[loop_match]` to [c2rust](https://c2rust.com/)
18
-
- Evaluate the improvement by comparing the performance of a freshly translated bzip2 using either the original or patched c2rust
19
-
20
-
Timeline: Nov 2024 - Jun 2026
21
-
Status: *In progress*. Kindly funded by [NLnet Foundation](https://nlnet.nl/).
22
-
23
13
### Milestone 3: Tail calls
24
14
25
15
Guaranteed tail calls and computed goto are techniques used in systems programming to squeeze out the last bit of performance.
@@ -31,12 +21,22 @@ Guaranteed tail calls and computed goto are techniques used in systems programmi
31
21
For more details see the 2026 Rust Project Goal ["Explicit tail calls & loop_match"](https://rust-lang.github.io/rust-project-goals/2026/tail-call-loop-match.html).
32
22
33
23
Timeline: April 2026 - Dec 2026
34
-
Status: *Needs funding*.
24
+
Status: *In progress*. Kindly funded by [Tempo Labs](https://tempo.xyz/).
35
25
36
26
Please [get in touch with us](/support), if you are interested in financially supporting our effort.
37
27
38
28
## Completed milestones
39
29
30
+
### Milestone 1: State machine codegen
31
+
32
+
- Improve [RFC 3720 (improved state machines)](https://github.com/rust-lang/rfcs/pull/3720)
33
+
- Identify key rust projects that benefit from `#[loop_match]`
34
+
- Add experimental support for `#[loop_match]` to [c2rust](https://c2rust.com/)
35
+
- Evaluate the improvement by comparing the performance of a freshly translated bzip2 using either the original or patched c2rust
36
+
37
+
Timeline: Nov 2024 - April 2026
38
+
Status: *Completed*. Kindly funded by [NLnet Foundation](https://nlnet.nl/).
39
+
40
40
### Milestone 2: Identify performance bottlenecks
41
41
42
42
- Complete the [improved state machine codegen](https://github.com/rust-lang/rust-project-goals/issues/258) Rust project goal
0 commit comments