3 ms·
> If C isn't suitable for projects with more than 10K lines, then praytell, what language should my kernel be written in? The Xen hypervisor (which shares a lo
by technomancy 15y ago
> If C isn't suitable for projects with more than 10K lines, then praytell, what language should my kernel be written in?
The Xen hypervisor (which shares a lot of characteristics with an OS kernel) is written in OCaml, which seems to have proven a good choice in practice: http://gazagnaire.org/pub/SSGM10.pdf http://gazagnaire.org/pub/SSGM10.pdf
- el_presidente 15y agoThe problem with OCaml is that you need to recompile every library you use whenever you update the compiler; even minor versions. You might be able to use it for any program, but not for every program.
- plantain 15y agoNot the hypervisor, just the management tools.