3 ms·
How does this really work, is it possible to write such stuff as drivers with a garbage collected language?
by klrr 14y ago
How does this really work, is it possible to write such stuff as drivers with a garbage collected language?
- pjmlp 14y agoYes. There are operating systems written in system programming languages with GC. Check Native Oberon and A2 for desktop operating systems used at Zurich's university. Smalltalk was originally developed as OS. Only the so called primitives were done in Assembly, with the remaining parts in Smalltalk itself. Sun played around with Java in Solaris for device drivers and Squawk is a VM that runs directly on hardware with device drivers written in Java, as an example.
- rwmj 14y agoAlso OpenMirage, written in OCaml straight to the "hardware" (where "hardware" is a Xen virtual machine). http://openmirage.org/ http://openmirage.org/