News for hackers. Stuff that matters.
Re:DConf 2019 in London by CyberShadow on Friday February 15, 2019 @03:19AM (#19169327)
D has:

- fast compilation times

- a module system

- famously powerful metaprogramming and compile-time introspection

- a familiar, but not ugly syntax

- comes with a package manager

- simple-to-use build tools with dependency discovery

- mostly-optional garbage collector (great for 90% projects!)

- interfaces with C and C++

- memory safe

C++ still has:

- header files

- a preprocessor

- infamously hard-to-parse syntax

- decades of legacy cruft

- fun things like design-by-SFINAE

My biggest reason to use D is that it works great for both small scripts (one program can be one file and is ran with one command, or even a shebang), and large projects (with packages / dependencies etc.). Similarly, if idiomatic D is too slow, you can optimize it by going as low as C or inline assembler without having to call-out to a lower-level language.

Source: using D for almost everything since 2006, while also maintaining a few C++ projects.

Re:DConf 2019 in London by zerr on Friday February 15, 2019 @01:05PM (#19173143)
The issue with D, I guess, how do you find gigs? :)