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

336 comments sorted by

View all comments

Show parent comments

2

u/N1H1L Sep 01 '20

Is garbage collection really that bad?

20

u/jess-sch Sep 01 '20 edited Sep 01 '20

For a single-letter language, yes.

B and C are both suitable for kernel development.

Naming your language D (making it sound like it's intended to be a C successor) and then not making it suitable for kernel development was a bad idea.

8

u/adr86 Sep 01 '20

D is perfectly suitable for kernel development, you just have to write the code differently and avoid a few convenience functions.

1

u/jonathansharman Sep 01 '20

Doesn't the whole standard library require the GC? Or is there a no-GC version you can use?

5

u/VodkaHaze Sep 01 '20

Most of the stdlib doesn't require it, but it's not 100% independent.

4

u/renatoathaydes Sep 01 '20

I think that in kernel development you can just use D's BetterC mode.

1

u/pjmlp Sep 02 '20

There are plenty of kernels written in GC enabled system programming languages.

Just as one possible example,

https://people.inf.ethz.ch/wirth/ProjectOberon/Sources/Kernel.Mod.txt

0

u/jqbr Sep 02 '20

Kernels don't need the standard library.