Hacker News new | ask | show | jobs
by int_19h 2765 days ago
The way I'd describe Rust is, it's what C++ would have been if it used ML as a source of inspiration rather than Simula, and didn't care about preserving syntactic compatibility.

To unpack, this means that it's still a language that is very "close to the metal" in terms of lack of overhead, and broadly follows the don't-pay-for-what-you-don't-use C++ maxim. But at the same time, it's a very high-level language with lambdas and ADTs and destructuring.

1 comments

Yeah, however that is exactly why C compiler vendors did embrace C++, and it got a foothold in OS SDKs.

Had Bjarne not taken that decision and C++ would having drinks with Modula-2, Pascal, Oberon and others.

So it was both a bless and a curse.

Rust seems to be increasingly adopted in spite of being different, so lets see when it gets a nice OS SDK sweet spot.