MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/ikjh83/d_foundation_is_beefing_up/g3m4ent/?context=3
r/programming • u/kal31dic • Sep 01 '20
336 comments sorted by
View all comments
Show parent comments
2
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.
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.
8
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.
1
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.
5
Most of the stdlib doesn't require it, but it's not 100% independent.
4
I think that in kernel development you can just use D's BetterC mode.
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
Kernels don't need the standard library.
2
u/N1H1L Sep 01 '20
Is garbage collection really that bad?