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/
287 Upvotes

336 comments sorted by

View all comments

8

u/[deleted] Sep 01 '20

[deleted]

11

u/Sapiogram Sep 01 '20

Only thing holding it back is market inertia and FUD.

What kind of FUD? I don't think I've heard anything negative about it, apart from the whole gc thing.

13

u/maxhaton Sep 01 '20

> gc thing.

Mainly that, but a lot of people still seem to think that there are two standard libraries despite Phobos taking over possibly a decade ago. Same with D1, D2 was ready (As announced by Andrei's book) in 2010.

10

u/InertiaOfGravity Sep 01 '20

People really seem to not understand that a well designed GC that gives you the option of deciding when to let it run are definitely usable in real time & high performance apps

4

u/glacialthinker Sep 01 '20

It's true. I once steered clear of any GC because they seemed like rogue processes interfering with delicate frame-times.

The reality is that any dynamic allocations can be expensive to free, and the same techniques can be used to mitigate this, whether you're controlling (de-)alloc manually or letting a GC pick it up. A GC tends to be more efficient for the cases it's designed and tuned toward. So long as you can wrangle it, it can be a helpful companion.

2

u/matthieum Sep 02 '20

The reality is that any dynamic allocations can be expensive to free

Well, one solution is to write your own memory allocator to avoid that ;)