3 ms·
Sometimes I think about the man-years of work dedicated to deficiencies in C/C++ that lead to results such as this. Conceptually, it's nothing but madness. Hack
by armitron 4y ago
Sometimes I think about the man-years of work dedicated to deficiencies in C/C++ that lead to results such as this. Conceptually, it's nothing but madness. Hacks upon hacks upon hacks upon hacks. And all of that because we've been unwilling to get rid of a programming model that we know is fundamentally broken?
With systems languages like Go and Rust things are slowly changing, but we're still bogged down in the swamp.
- xiphias2 4y agoThis is the best documentation I could find from 2 years ago (with a tiny update), and at the same time Android added some Rust code: https://www.chromium.org/Home/chromium-security/memory-safety/rust-and-c-interoperability/ https://www.chromium.org/Home/chromium-security/memory-safet...
- pjmlp 4y agoFeels like UNIX culture to me. Go also has its own share of hacks by ignoring the history of language design since early 60's, while Rust remains to be seen how they will evolve the missing parts of error handling, co-routines, and system programming use cases from C and C++, where Rust still hasn't a mature alternative. Both are definitly safer by default than either C or C++, however since Modula-2, Object Pascal and Ada, there were many other alternatives as well. The OS vendors decided to go another route, and as we see here, the Chrome team isn't keen in following the Firefox route, rather improve the existing codebase.