3 ms·
With the large number of new languages coming out (and maturing) these days, I've always found it annoying that there's not been a real attempt at a better C. S
by audunw 9y ago
With the large number of new languages coming out (and maturing) these days, I've always found it annoying that there's not been a real attempt at a better C. So this is nice to see.
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.
Another attempt I stumbled across recently is Zig: http://ziglang.org http://ziglang.org
- 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).