4 ms·
D 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 inte
by vips7L 6y ago
D 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...