Java/C# vs Rust
Java/C# vs Rust
Posted Aug 17, 2024 3:31 UTC (Sat) by khim (subscriber, #9252)In reply to: Java/C# vs Rust by Cyberax
Parent article: Standards for use of unsafe Rust in the kernel
> The abovementioned Watcom C/C++ did not support template members, SFINAE, and even ":" initializers in constructors.
I don't think it was lack of resources. From Visual Studio blog: throughout the VS 2015 cycle we’ve been focusing on the quality of our expression SFINAE implementation. That's year 2016!
It's just hard to support certain things when your compiler is not designed to support them. But the fact is that in year 1995 there already were compilers that supported pretty advanced C++ (I think Borland was the most advanced at that time, still) means Rust could have existed back then if someone would have invented it.
> Rust can't compile individual files like C or C++ compilers (of that time). It can operate at most on the crate level.Um. That's how Turbo Pascal 4+ did starting from year 1987 and how Ada did from the day one in year 1983. Not a rocket science at all and, in fact, it reduces resources consumption not increases them: no need to parse the same thing again and again and again.
