Comment on Show HN: Optimizing compiler for a large subset of C, written in RustComments−lutusp1yIt's my hope that people will take the hint: "Wait ... if Rust is a better way to compile C than C itself, maybe I should learn Rust."−unclad59681yRust itself is compiled with LLVM which is millions of lines of C++. Does that mean that C++ is better than rust?−yjftsjthsd-h1yWhat makes you think Rust is a better way to compile C than C?−fanf21yAlgebraic data types−hu31yCurrently, that would be Zig.−kif1yI've tried Rust, and it's just too much cognitive overhead. C is simple, and that simplicity is hard to beat. Go on the other hand is more like C in that regard.
Comments
It's my hope that people will take the hint: "Wait ... if Rust is a better way to compile C than C itself, maybe I should learn Rust."
Rust itself is compiled with LLVM which is millions of lines of C++. Does that mean that C++ is better than rust?
What makes you think Rust is a better way to compile C than C?
Algebraic data types
Currently, that would be Zig.
I've tried Rust, and it's just too much cognitive overhead. C is simple, and that simplicity is hard to beat. Go on the other hand is more like C in that regard.