Google To Allow Rust Code In the Chromium Browser (phoronix.com) 23
Google announced today that moving forward they will be allowing Rust code into the Chromium code-base, the open-source project that ultimately served as the basis for their Chrome web browser. Phoronix reports: Google is working to introduce a production Rust toolchain into their build system for Chromium and will be allowing Rust libraries for use within Chrome/Chromium. The timeframe for getting this all together is expected within the next year following a slow ramp. Google is backing Rust for Chromium to allow for simpler and safer code than "complex C++" overall, particularly around avoiding memory safety bugs. In turn using Rust should help speed-up development and improve overall security of the Chrome web browser. Initially they are focused on supporting interop in a single direction from C++ to Rust and for now will only be supporting third-party libraries for their Rust usage.
faster (Score:2)
In turn using Rust should help speed-up development and improve overall security of the Chrome web browser.
I accept the idea that there will be fewer memory bugs, but if they are able to speed up development, they are doing something seriously wrong with their C++ development.
Re: faster (Score:1)
But just the same, this makes sense more so than the Linux kernel push right about now? Letting people see something work?
Re: faster (Score:1)
Re: (Score:2)
I strongly disagree with that, finding bugs takes more time than writing the code in the first place to begin with but even apart from that, C++ code is far more verbose.
The real issue is of course that C++ has far wider architecture support than Rust.
Re: faster (Score:3)
You don't need to change rust at all to get more architecture support. And how many does chrome support anyways? And which of those doesn't rust offer first class support for?
Re: faster (Score:1)
It seems like a given platform has to include rust in its development as a system language but it is difficult to say where in that system it is useful.
Re: faster (Score:2)
If it wasn't useful, they wouldn't include it
Re: (Score:3)
Indeed. Also, they will just get bugs in other places, probably as bad but harder to find in testing. Memory bugs are a symptom of incompetent developers and these will always find ways to mess up and will just focus their incompetence on something else now. Apparently there have been some pretty bad security problems with Rust already, at least measured against the minuscule use in actual development.
Re: (Score:2)
Apparently there have been some pretty bad security problems with Rust already, at least measured against the minuscule use in actual development.
Any reference for that? I would like to move to Rust from C++. It want to learn what I need to be careful about.
Re: (Score:2)
Go away asshole.
Re: (Score:2)
You’re going to miss it when it’s gone.
Re: (Score:2)
Re: (Score:2)
You have a problem recognizing an obvious troll?
Re: (Score:2)
Re: faster (Score:1)
Funny (Score:1)
Re: (Score:2)
Re: (Score:1)
Google understands (Score:2)
Rust is a replacement for C++, not C.