Hacker News new | ask | show | jobs
by pjmlp 3615 days ago
Anything that increases our dependency on C is bad.

I find interesting that a Rust designer thinks otherwise.

1 comments

Anything that increases our dependency on C++ is much, much worse.

You can easily call into something with a C ABI (er, OS ABI designed around C, or whatever is the correct technical name) from any language. Try that with C++ :D

No problem on Windows thanks to .NET and COM.

C++ provides better tools to write safer code than C ever will.

I would rather be using Ada, Rust, System C#, D, <whatever safe systems programming language>, but until OS vendors start providing something else, C++17 will have to do.

Since 1994 I only write C code when forced to do so.