News for hackers. Stuff that matters.
Re:Google says replacing C/C++ in firmware with Rust is easy by mav3ri3k on Saturday September 07, 2024 @10:34PM (#41477807)
From my perspective (college student), it is true that there is godly amount of C code in the world which would remain true for a long long time. In similar sense there are also quite a lot of new java developers who maintain the millions of lines of java code.

However a lot of new infrastructure is being developed in rust. Infact it can be argued that the very reason it should be in rust is because it is critical. I think there would be great value if a person can efficiently thread between both rust and c rather than competing.

Re:Google says replacing C/C++ in firmware with Rust is easy by MBCook on Saturday September 07, 2024 @11:43PM (#41478053)
Java is not an old “maintain the code” language as you seem to imply. Despite not being the new hotness for about 25 years it’s an extremely useful and productive language and I assure you there are tons and tons of new things being written in it every day. The language is still evolving and has been getting great improvements. Yeah it has some warts, but it’s been running and keeping backwards compatibility for 30 years despite evolving.
Re:Google says replacing C/C++ in firmware with Rust is easy by pjmlp on Sunday September 08, 2024 @12:44PM (#41481395)
Many seem to forget all the time, that the Java ecosystem powers the most widely sold mobile OS platform across the globe.
Re:Google says replacing C/C++ in firmware with Rust is easy by MBCook on Monday September 09, 2024 @04:47PM (#41493583)
Including me! I was referring to server stuff, since server side Java is my job and thus front of mind.

But you’re dead right. At this point Android apps may be the bigger set of code. Or at least put up a good fight.

[dead]
Re:Google says replacing C/C++ in firmware with Rust is easy by MBCook on Saturday September 07, 2024 @11:45PM (#41478066)
The entire graphics driver for Apple Silicon Macs in Linux, with zero memory bugs in the code despite being deployed to a large number of machines. including a fully conformant OpenGL implementation and most/all of Vulkan (I’ve lost track of the current state).
Re:Google says replacing C/C++ in firmware with Rust is easy by jay-barronville on Sunday September 08, 2024 @03:40AM (#41478829)
> Infact it can be argued that the very reason it should be in rust is because it is critical. I think there would be great value if a person can efficiently thread between both rust and c rather than competing.

I fully agree with that.

Re:Google says replacing C/C++ in firmware with Rust is easy by lenkite on Sunday September 08, 2024 @04:51AM (#41479090)
There are a ridiculous number of greenfield Java projects being started every day. Far more than Rust by orders of magnitude.