News for hackers. Stuff that matters.
Re:Thoughts on Go vs. Rust vs. Zig by mh2266 on Thursday December 04, 2025 @06:43PM (#46154887)
The only thing I really found weird syntactically when learning it was the single quote for lifetimes because it looks like it’s an unmatched character literal. Other than that it’s a pretty normal curly-braces language, & comes from C++, generic constraints look like plenty of other languages.

Of course the borrow checker and when you use lifetimes can be complex to learn, especially if you’re coming from GC-land, just the language syntax isn’t really that weird.

Re:Thoughts on Go vs. Rust vs. Zig by timschmidt on Thursday December 04, 2025 @06:52PM (#46154979)
Agreed. In practice Rust feels very much like a rationalized C++ in which 30 years of cruft have been shrugged off. The core concepts have been reduced to a minimum and reinforced. The compiler error messages are wildly better. And the tooling is helpful and starts with opinionated defaults. Which all leads to the knock-on effect of the library ecosystem feeling much more modular, interoperable, and useful.
Re:Thoughts on Go vs. Rust vs. Zig by peterfirefly on Friday December 05, 2025 @11:22AM (#46163436)
It's really an ML with type classes and a better syntax (and a non-stupid module sublanguage) that also just happens to be more C-like.