News for hackers. Stuff that matters.
Re:Google says replacing C/C++ in firmware with Rust is easy by lenkite on Sunday September 08, 2024 @04:43AM (#41479064)
Ladybird browser decided to use Swift of all things. I am just confused on how can one use a ARC based language for extreme performance software like a browser . Don't you need manual memory control or custom memory paradigms like arenas ?
Re:Google says replacing C/C++ in firmware with Rust is easy by pjmlp on Sunday September 08, 2024 @12:36PM (#41481360)
Now imagine using such a language for a full blown graphical workstation!

"Eric Bier Demonstrates Cedar"

https://www.youtube.com/watch?v=z_dt7NG38V4

"Project Oberon"

http://www.projectoberon.net/

"The Midori Operating System Overview"

https://www.youtube.com/watch?v=37WgsoZpf3k

https://joeduffyblog.com/2015/11/03/blogging-about-midori/

Re:Google says replacing C/C++ in firmware with Rust is easy by lenkite on Sunday September 08, 2024 @01:59PM (#41481923)
Nice, but like the extinct Dodo, these are all affectionate memorials to dead software. The web browser is still alive and kicking after 30 years. And is the world's most popular software application. And all the mainstream browsers are mostly written in C++. Even the massively hyped Servo never got adopted into Firefox.
Re:Google says replacing C/C++ in firmware with Rust is easy by pjmlp on Sunday September 08, 2024 @02:41PM (#41482204)
As usual, the usual mistake to mix up technology with political mistakes, and lack of budget.

Apple and Google show on their mobile OSes how to make developers dance to the music of modern systems languages.

Re:Google says replacing C/C++ in firmware with Rust is easy by orobio on Monday September 09, 2024 @03:07PM (#41492318)
Swift has always been designed with the potential for more manual memory control. Recently, non-copyable types were introduced, and non-escapable types are currently being proposed. Additionally, more ownership control features are being added. While there is still much work to be done, progress is steady.