Can D be used for operating system development ?

Paulo Pinto pjmlp at progtools.org
Fri Jun 3 06:06:09 UTC 2022


On Thursday, 2 June 2022 at 20:36:59 UTC, Jakob Jenkov wrote:
> Is it feasible / practical to use D to develop an operating 
> system from the ground up? Or does the VM / memory management 
> get in the way?

Surely, as the others have pointed out, there are some examples 
already.

A small secret when people talk about C being used to write OSes 
is that you aren't really using ISO C on the kernel, rather a 
language subset, and the full language is only available for the 
userspace stack.

D can be used just as well, and don't let the GC put you off, 
here are some examples of OSes written in safe systems 
programming languages.

https://www.progtools.org/article.php?name=oberon&section=compilers&type=tutorial

https://www.progtools.org/article.php?name=safe_systems&section=compilers&type=tutorial




More information about the Digitalmars-d mailing list