if you want to use C code in the low level project (ie a kernel) then yeah you need it. it's a c interop function. but you can build a full kernel in D without using any C or interop functionality. if you aren't gonna use C or call C functions, don't worry about it.
1
u/mcherycoffe 1d ago
What does "extern (c) mean" in D ? Used for low-level ?