3 ms·
I kinda just think of Rust as C++ with a vaguely MLish inspired syntax & some aspects of the type & module system -- which is sort of how it explicitly started
by cmrdporcupine 3y ago
I kinda just think of Rust as C++ with a vaguely MLish inspired syntax & some aspects of the type & module system -- which is sort of how it explicitly started TBH -- and the borrow checker just grew out of what you end up needing to do if you rip the garbage collector out of a language like that.
- trealira 3y agoRust was originally garbage collected. From Graydon Hoare's post, he didn't want explicit lifetimes originally either. He agreed because he thought they would always be inferred by the compiler. https://graydon2.dreamwidth.org/307291.html https://graydon2.dreamwidth.org/307291.html It seems to me that Rust evolved into a better C++, but it did not start out that way.
- iopq 3y agoEarly on I argued for bignums and decimals in Rust, imagining also things like automatic currying, and other FP features But it went a completely different way, ripping out any runtime it had, making reference counting a lot more noisy, etc. It would be interesting to build a "simpler Rust"