News for hackers. Stuff that matters.
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by entropicdrifter on Wednesday March 31, 2021 @11:56AM (#26648858)
I mean, Mozilla migrated parts of Firefox to Rust, that's the big one. I hear it might start being included in the Linux Kernel soon.
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by Thaxll on Wednesday March 31, 2021 @12:43PM (#26649525)
It's not entirely true though, most of the code base is still C++ and there is no plan to migrate the rest.
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by nicoburns on Wednesday March 31, 2021 @12:57PM (#26649750)
Isn't that exactly what makes it successful partial migration?
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by Thaxll on Wednesday March 31, 2021 @04:07PM (#26652418)
You need to defind partial, because 90% of the codebase is still C++.
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by nicoburns on Wednesday March 31, 2021 @05:14PM (#26653265)
Some thoughts:

1. Firefox is a huge codebase. 10% of that is still quite a bit.

2. Some highly complex core parts of firefox such as the rendering engine are at least partly written in Rust.

3. The bits written in Rust are not all isolated from the bits written in C++. In places they intertwine at a function level of granularity.

Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by z77dj3kl on Wednesday March 31, 2021 @12:10PM (#26649051)
Rust originated from Mozilla...