DEV Community

Discussion on: Is Rust going to Replace Java?

Collapse
 
labzdjee profile image
Gérard Gauthier

I agree with most comments stating this lean article misses the point and there would be much to say around this fairly strange question from some (well also there was an article about 'will Rust replace Python', so there's no limit for puzzling questions).
As much it is right and interesting to wonder which fields Rust will address (like backoffice, embedded IoT, frontends, Linux and more generally OS'es system programming) considering its daring complexity, it appears quite clear to me to note Rust benefits from its youth while Java is quite ossified now. Rust is certainly fast, secure, and modern (with a much potent macro system). Will Rust broadly succeed where academic languages never made it through? No definite answer either way...
Java mainly thrived on backend, Android, and as a cross-OS solution (Eclipse, NetBeans...). Something remarkable and strange is Java never made its way in the browser as a frontend option. Such a void place ECMAScript addressed to such an extend its realm is much beyond now.
From some articles I come to read almost daily, C++, C#, ECMAScript and now TypeScript keep being equipped with many most discussed features like functional, asynchronicity, etc and boilerplate squashing. And yes Kotlin, Go, Swift... are also languages communities discuss much.
About Java? No so, very much not so. Uh? Never heard of modern Java as it is the case for modern C++, latest version of C# or TypeScript. And Rust in this respect as the new kid on the block is part of this heat.
I will not elaborate more on those fields Java was king years ago and now not a strong candidate any longer. Java opened a way and is probably lagging behind now. Nonetheless it has an immense installed based and is present in many prominent industries.
Does Java sound like Cobol to some extend?

Collapse
 
mate3241 profile image
mate3241

I am not sure if community buzz is a very useful metric here. I mean Java is certainly not cutting edge, but liked and used are two very different things. As a Java dev I am obviously biased, but I generally don't get the hate.
With the JVM and all the frameworks/tooling around it, even if it's dying, it will be a viable career option for quite some time still. Certainly long enough for me to pick up something else when the ship really starts sinking. Not everyone works in SV after all.

Collapse
 
labzdjee profile image
Gérard Gauthier

Thank you for this addition. I fully agree with you. I consider Java as a big player for many years to come before it even faint and become a niche as Cobol or Fortran are now.
My reaction was not about buzz only, it was also as in the job offers and projects coming with many other options along with Java are looming large.
For a job seeker or a anyone wanting to engage in the software industry it would be wrong to assert Java is dying, don't go there (it even an option to consider if you plan to join many reference companies). It is still a very sound option for at least one solid decade to go. I'm sure you'll continue having fun with Java!