zlacker

[return to "A Look at Rust from 2012"]
1. assbut+OOl[view] [source] 2025-12-03 14:17:11
>>todsac+(OP)
Very interesting to see the ML influences like ~ for unary minus, unscoped enums, mut on specific struct fields...

It seems like over time, a lot of that was replaced with C++-style syntax and semantics. Presumably to make the language appeal more to C++ devs

◧◩
2. echelo+IVl[view] [source] 2025-12-03 14:53:00
>>assbut+OOl
Rust looks nothing like C++.

It looks like Ruby.

The generics look like Java.

◧◩◪
3. ninken+ehm[view] [source] 2025-12-03 16:32:14
>>echelo+IVl
Other than the `|var|` syntax in closures, I can't think of a single way Rust looks like Ruby. I mean that seriously, there is almost no other similarities.
[go to top]