News for hackers. Stuff that matters.
Re:Minix 3.3.0 by pjmlp on Wednesday September 17, 2014 @05:13AM (#8329196)
> I guess I don't see as being "way" safer than C.

Agree. But at least C++, the language, gives you the tools to write safer code, when you stick to what STL offers or similar libraries.

With C, only third party tools that aren't available everywhere.

Not to mention that back in 80's, C already felt primitive and its success is only a consequence of UNIX spreading into the enterprise out of research labs.

The best would be to have both gone. But until that doesn't happen C++ is way better than C.

> Perhaps. But a non-OO interface layer makes a lot of sense anyway (or at least OO agnostic ones).

C++ usage does not imply OO. The language has a lot more to offer.

> The problem with making your main OS interface be C++ is that now every other language has to contort its object model to match the C++ one.

I fail to see how this is different from OS where C isn't the OS ABI, like the mainframes, almost all of the 80-90's home market OS, for example.

Languages have to use the OS ABI. The fact that in most OS C ABI == OS ABI is a side effect of writing the OS in C.

There are no comments on this comment yet.