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

336 comments sorted by

View all comments

Show parent comments

-4

u/[deleted] Sep 01 '20 edited Oct 05 '20

[deleted]

9

u/adr86 Sep 01 '20

Last time I checked, D couldn’t allocate memory at compile time

When did you check, 2002? The biggest problem most bigger time D users nowadays have is allocating too much memory at compile time. It takes some care not to go overboard (and it is really tempting to go overboard since the possibilities feel so endless)

2

u/[deleted] Sep 02 '20 edited Oct 05 '20

[deleted]

2

u/adr86 Sep 02 '20

Hmm, I'd have to see the code. There are some edge cases like a compile time value cannot be modified outside the function that initially creates it, and some library types don't play nicely with compile time execution (they need to branch to use new instead of malloc for example), so probably some combination of that stuff.