Comment by indrora

1 year ago

Very. In fact it’s becoming harder to write non-safe c++.

Stuff like nullptr has been in the spec for a while, unique_pointer and other stuff has worked its way in too.

And Rust has plenty of ways to turn memory into Swiss cheese. Anyone who does not actively acknowledge unsafe and the fact you can embed C into rust is delusional.

> It's becoming harder to write non-safe c++.

It's becoming harder if you understand those features and use them correctly, on top of your knowledge of unsafe C++. Even then those are opt in, and it still takes a tremendous effort. I don't trust anyone using C++ correctly. It's just hubris at this point. You can use unsafe and call C but that's a smaller surface area to audit. Most big companies are transitioning to Rust for a reason. Some big companies were trying to replace C++ even before Rust was a thing.

Why make a C++ browser now? What's the point?