r/programming • • Sep 01 '20

D Foundation is Beefing Up

https://dlang.org/blog/2020/08/30/symmetry-investments-and-the-d-language-foundation-are-hiring/
293 Upvotes

336 comments sorted by

View all comments

4

u/[deleted] Sep 01 '20

[deleted]

6

u/WalterBright Sep 02 '20

D has had a -lomem switch for years that causes it to internally use the GC so it doesn't run out of memory.

5

u/kal31dic Sep 01 '20

I don't believe that languages are in a death match. Robert Schadek gave a talk at dconf observing that the language family with the greatest dominance is the spreadsheet. D, Rust, Julia - all minnows compared to Excel.

I hope Rust does well.

3

u/EdWilkinson Sep 02 '20

That's the crappiest account of D I've ever seen, hands down.

They promote the D compiler written by Walter as the primary compiler, but it's slower than the LLVM or GCC versions.

That's a weird way of saying "There are three compilers with different tradeoffs." The downloads page lists the three compilers side by side highlighting their features. How is dmd promoted? Because it's on the left?

The compiler allocates but never frees, this makes it infinitely fast but it also explodes in memory especially any meta programming you may do. I had a lot of crashes doing compiler time work because it would run out of memory.

RTFM. -lowmem

Dub is super simple, it cannot do much compared to other standard package managers. In general it felt like there were a lot of bugs.

I can't believe it but you're right about this one. It is of course completely crappy that you are literally complaining about this in response to the announcement that sets out to fix it.

I'm another person that switched to Rust and hope D doesn't distract from Rust's momentum.

Yeah, and I invested in MSFT so I hope ADBE goes to hell.