News for hackers. Stuff that matters.
Re:Fuchsia Developers Website by cameronbrown on Saturday June 29, 2019 @06:27AM (#20311785)
Though it is fun to rag on C++ every now and again, I believe Google's C++ style guide is a subset of features (classes, no exceptions, subset of boost,..).

Most C++ issues come from using every feature under the sun and accumulating loads of technical debt instead of picking one tool and sticking with it.

Re:Fuchsia Developers Website by PyroLagus on Saturday June 29, 2019 @09:47AM (#20312545)
> Though it is fun to rag on C++ every now and again, I believe Google's C++ style guide is a subset of features (classes, no exceptions, subset of boost,..).

Which is the same thing Genode does[1], and it has served them well. Maybe a different language like ADA/SPARK or something else would have been better, but C++ was what they're familiar with, so they made it work. Although I like Rust, it's a bad argument here. Rust has been changing a lot and is still changing, and Fuchsia wasn't started yesterday. And with C++, you could even replace critical parts with formally verified LEAN[1], which has C++ code generation and should be even safer than Rust.

[0] https://genodians.org/nfeske/2019-01-22-conscious-c++

[1] https://leanprover.github.io/

Re:Fuchsia Developers Website by steveklabnik on Saturday June 29, 2019 @11:57AM (#20313272)
Don’t forget that Fuchsia also has a lot of Rust in it already. These things don’t have to be either/or.
Re:Fuchsia Developers Website by fithisux on Saturday June 29, 2019 @03:32PM (#20314319)
C++i is excellent when you have a large code base. But if you have a large code base for a driver or a stack, you have already lost.