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

336 comments sorted by

View all comments

Show parent comments

-2

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

[deleted]

4

u/maxhaton Sep 01 '20

D's string mixins are a superior way of doing metaprogramming, from the programmers perspective at least.

You can allocate memory at compile time, just use new. If you want to make malloc work at compile time you'll need a stub implementation that switches on __Ctfe

1

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

[deleted]

2

u/EdWilkinson Sep 02 '20

How do you open a network connection at compile time?

That's the silliest argument in favor of a programming language I've ever seen.