3 ms·
Rust's 'one-size-fits-all' approach and the 'rewrite it in rust' movement are due to the language's high-level flexibility whilst also being as low-level as C.
by 0atman 4y ago
Rust's 'one-size-fits-all' approach and the 'rewrite it in rust' movement are due to the language's high-level flexibility whilst also being as low-level as C.
If you set out to write a new language in Rust, to escape the perceived limitations of the language, you end up extending Rust, not building a new language, and now you have Rust without the limitation you started with, and others can benefit from your work.
I've written two videos on the topic that I'd love to know your thoughts on, the first talking about Rust's universality due to both the unsafe and macro systems:
https://www.youtube.com/watch?v=PuMXWc0xrK0&list=PLZaoyhMXgBzoM9bfb5pyUOT3zjnaDdSEP&index=3 https://www.youtube.com/watch?v=PuMXWc0xrK0&list=PLZaoyhMXgB...
The second a deeper dive into the macro system:
https://www.youtube.com/watch?v=MWRPYBoCEaY&list=PLZaoyhMXgBzoM9bfb5pyUOT3zjnaDdSEP&index=16 https://www.youtube.com/watch?v=MWRPYBoCEaY&list=PLZaoyhMXgB...