3 ms·
But isn't such a language already there? It's called the D Programming Language [1]. Sorry a bit tongue-in-cheek, but I'm getting tired of all these 'even-more-
by grok22 4y ago
But isn't such a language already there? It's called the D Programming Language [1]. Sorry a bit tongue-in-cheek, but I'm getting tired of all these 'even-more-awesome' new programming language variants of C++.
[1] https://dlang.org/ https://dlang.org/
- RcouF1uZ4gsC 4y agoD could have been that. Back when it was released, D was so far ahead of C++98. However, D decided to go with garbage collection which kept it from being a replacement for C++. In addition, the D garbage collector never received the massive investment that Java’s garbage collector has received.
- gavinray 4y agoThe garbage collection is an optional feature you can disable though There's a lot of "@nogc" D code out there. Audio FX plugins that do realtime DSP and game/graphics stuff come to mind. I'd rather have the language give me a choice because it's very convenient to have. You'd be surprised how performant even GC'ed code in D's can be.
- fithisux 4y agoWhy is this bad? I am tired of the garbage collection thing. If you make extensions for R/Tcl/Lisps for computations, plotting, abstract mathematics, why the Garbage collection is bad? You have native performance! The only complaint is that D might think of adding some of the ergonomics of ML-family of languages. But it has its opinion (like Lisps) and I respect that. Ergonomics and possibly safety could be goals.
- pjmlp 4y agoThe problem was never the GC per se, see TinyGo, Astrobe, microEJ, Meadows among others, rather always chasing the next big thing that could bring users, while leaving the other behind not fully done. Now C++, Java and C# have many capabilities where D had an upper had back when Andrei's book came out, and naturally new competition also came into play with better corporate support.