Hacker News new | ask | show | jobs
by iamNumber4 2783 days ago
As already mentioned. It exists, D Lang. It’s a better C and a better C++. It has a runtime, which you can choose or not use. It is ABI compatible with C, and C++ ABI is a work in progress.

You can switch from writing C to D, and still use all of the existing C libraries and code you do today. You can even use D libraries in your C projects.

There is the betterC flag that can be used as well which essentially turns off the D Lang runtime.

The runtime allows garbage collection and other memory safety that more modern languages like Java and C# have spoiled use with. Also allowing for write once, compile every where. Making it a very portable language.

http://www.dlang.org

The other benefit is it is a language not owned and developed by a corporation like Java, C#, objective-C and go. So there is no ulterior motive’s or agendas by said corporation.