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. dhosek+ubm[view] [source] 2025-12-03 16:08:18
>>echelo+IVl
Java Generics look like C++ templates and Rust generics act much more like C++ Templates than Java Generics.
◧◩◪◨
4. dhosek+Gbm[view] [source] 2025-12-03 16:08:57
>>dhosek+ubm
Also, “new C++” refers less to syntax and more to role in the development ecosystem.
[go to top]