News for hackers. Stuff that matters.
Re:Organizations Using the D Language by mhh__ on Tuesday February 16, 2021 @05:34PM (#26159634)
The performance is going to be exactly the same for almost all code. D is spectacularly good at turning performance up to 11 - inline assembly is a first class thing in D.

D also makes generating code at compile time extremely easy which is a performance win at the expense of some compile time (no free lunch) but once again you slide the scale easily as the code the generates it is the same as at runtime.

There are two real backends one can use for these kinds of things, or one for Rust (LLVM) and friends.

Re:Organizations Using the D Language by WalterBright on Tuesday February 16, 2021 @05:43PM (#26159735)
Actually, there are 3 D back ends. There's the original Digital Mars C++ backend for DMD, the Gnu Compiler Collection backend for GDC, and the LLVM compiler backend for LDC.

Each has their strengths and weaknesses, and some users even switch back and forth depending on what they need at the moment.

Re:Organizations Using the D Language by mhh__ on Tuesday February 16, 2021 @05:46PM (#26159768)
I was keeping it simple as the DM backend cannot compile (say) Rust whereas LLVM (and sort of GCC) has frontends for both so you can make the comparison.

I myself am not in the "move to ldc" camp, I like having dmd available for speed.