3 ms·
If I were to rewrite Rust, I'd probably go the route of less features, not more. Make it 70% of Rust in 10% of the code, similarly to what QBE[0] is doing with
by louismerlin 2y ago
If I were to rewrite Rust, I'd probably go the route of less features, not more.
Make it 70% of Rust in 10% of the code, similarly to what QBE[0] is doing with LLVM.
You'd probably be able to achieve that if you remove macros and some of the rarely-used features.
[0]: https://c9x.me/compile/ https://c9x.me/compile/
- lifthrasiir 2y agoNot to downplay QBE, but the initial goal of QBE was to provide 90% of the performance in 10% of the code, until it was changed to 70%. You generally don't know how much of Rust (or anything else) is possible without actually trying.
- chkhd 2y agoI wonder how soon they will arrive at 80%/20%.