4 ms·
Great comparison, but I’m sad that D lost out in the popularity wars. Talk about a versatile workhorse that is appropriate for 90% of (non-GUI) tasks. D is a v
by elephant_talk 6y ago
Great comparison, but I’m sad that D lost out in the popularity wars. Talk about a versatile workhorse that is appropriate for 90% of (non-GUI) tasks.
D is a valid competitor of Rust, that just happens to smash Go in the process. All the ergonomics of a high level language like c#, decent (toggleable) garbage collector, the ability to write all your scripts in it... the list goes on.
It lacks options in the editor and tooling department (although VS Code support is great), but that comes with community size.
- vips7L 6y agoD also has LLVM and GCC back ends so you can target every architecture. Other things it has over go: Generics, inline assembly, kernel threads, and great interopt with C/C++.
- tandr 6y agoHow is the compilation speed - instant (close to Go), seconds (like C# or Java), something longer (like C++, Rust)? Sorry, I have not used D extensively.
- vips7L 6y agoIt depends on your backend. Dmd is fast but it doesn't optimize as much as LDC or GDC iirc. Here's an old thread: https://forum.dlang.org/thread/hpsps2$2lqp$1@digitalmars.com?page=1 https://forum.dlang.org/thread/hpsps2$2lqp$1@digitalmars.com...
- apta 6y ago> instant (close to Go), seconds (like C# or Java), golang compilation is about the same speed, if not slower than Java or C#. Especially for larger projects.
- koffiezet 6y agoI've not looked into D yet, but not having a GCC or LLVM backend is imho not necessarily an advantage, and in many cases even a disadvantage. The simple toolchain is one of the reasons I quite like Go...