Hacker News new | past | comments | ask | show | jobs | submit login

I think folks said the same thing about Java in the 90s...





C++ is almost nowhere to be seen in modern day distributed computing and business software, outside OS, language runtimes, databases and networking stacks, also known as low level infrastructure code.

All relevant application software is written mainly in a mix of Java and .NET languages, complemented with a mix Go, Rust, Python, Ruby, and SQL dialects.

Likewise Apple, Google and Microsoft no longer have C++ based GUI frameworks, like it was common in the 1990's, and one of them ships a whole OS where Java rules the userspace.


It did to a degree but still left a sizeable amount of use cases as they were ill suited for Java. I feel like this is repeatedly happened since where each new or newly hyper language has peeled off parts of C++'s use cases but never gone for the core. I feel like Rust is the first that can do it and significantly improve on it. While it does lack specialization and some template tricks, it has memory safety, core/alloc/std, first and third party libraries focusing on `Result` rather than exceptions, etc. This is much better suited for kernel, embedded, and framework development while also being able to scale up into the use cases that went to Java and other languages previously.

Java completely replaced C++ in business software

Nobody wrote systems software in Java and been successful. But Rust did.

Arguably, Android is a systems software large chunks of which are written in Java.

The places that Java is used are mostly higher level parts AFAIK. Java is more for the API of Android for app developers.

[flagged]


Given that MSFT seemingly failed to extend-and-then-extinguish Java, what is the applicability of this analogy?

(I don't have any particular faith in MSFT. I just don't think EEE even remotely works as a strategy in cases like this, and I think MSFT is not stupid enough to think that it does.)


Just like Google did with Android, which apparently gets celebrated in FOSS circles, big bad Oracle, what they think they are playing the Sun lawsuit card.

I look forward to Rust# and then eventually all the good stuff hitting C#.

Unlike Java, Rust does not threaten Microsoft's hegemony. There's no need for them to extinguish.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: