miniblog.
← Back to all posts
Jun 20, 2015 at 12:43
Rust is a lovely language to write compilers in. The pattern matching support makes code very readable. (1/2)
Wilfred Hughes
Related Posts
Sep 21, 2015 at 20:34
I haven't yet managed to write a Rust without wanting nightly. Macros are lovely to use but compiler plugins aren't stable.
Wilfred Hughes
Shared words: Rust, lovely, write, compilers Score: 107.1
Jun 14, 2018 at 07:30
https://build.rs/
is a handy Rust pattern for compile-time code generation. E.g.
https://rust-lang-nursery.github.io/rust-bindgen/tutorial-3.html
It's a small standalone program that prints lines of Rust code! It reminds me of much more dynamic languages.
Wilfred Hughes
Shared words: Rust, language, pattern, code Score: 98.9
Aug 3, 2019 at 09:43
How does Rust allow different language versions ("epochs") to interoperate?
https://stackoverflow.com/q/57332016/509706
The SO answer even includes the relevant source code from the compiler!
rust - What is the exact mechanism that allows source code targeting different Editions to interoperate? - Stack Overflow
Wilfred Hughes
Shared words: Rust, language, compilers, code Score: 92.3