3 ms·
> I don't count Rust, because one of the good things about C is that it's quite easy to write a compiler for. A better C shouldn't require a too clever compiler
by geezerjay 9y ago
> I don't count Rust, because one of the good things about C is that it's quite easy to write a compiler for. A better C shouldn't require a too clever compiler.
Why is that relevant?
- solidsnack9000 9y agoMaybe one reason is portability? Although the Rust strategy of leveraging LLVM is a good answer, there are situations -- a partial implementation for the sake of analysis, or a clean room implementation for reasons of IP or national security -- where a simple language retains an edge.
- earenndil 9y agoThere was a new implementation of rust in c++ https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc
- solidsnack9000 9y agoYeah but it still needs original rustc for verification (borrow checking).