3 ms·
This is called a Unikernel: https://en.wikipedia.org/wiki/Unikernel https://en.wikipedia.org/wiki/Unikernel > Unikernels are specialised, single address space
by stable-point 10y ago
This is called a Unikernel: https://en.wikipedia.org/wiki/Unikernel https://en.wikipedia.org/wiki/Unikernel
> Unikernels are specialised, single address space machine images constructed by using library operating systems. A developer selects, from a modular stack, the minimal set of libraries which correspond to the OS constructs required for their application to run. These libraries are then compiled with the application and configuration code to build sealed, fixed-purpose images (unikernels) which run directly on a hypervisor or hardware without an intervening OS such as Linux or Windows.
- runeks 10y agoThat is correct. I guess what I wanted to point out is that it would be cool if Linux could become this - a library that you can compile into your program, rather than a program in which you run your programs (an OS).
- paulddraper 10y agoLinux is purposefully and by design monolithic. However, you could base your unikernal capabilities on the same interface (like POSIX). Current unikernals: http://unikernel.org/projects/ http://unikernel.org/projects/
- digi_owl 10y agoThe GPL would likely give any legal department pause for thought in that regard.
- justincormack 10y agoThere is a library port of Linux, lkl https://github.com/lkl https://github.com/lkl
- digi_owl 10y agoOr as i like to call them, DOS-in-a-can...
- paulddraper 10y agoDOS like Denial of Service? Or DOS like MS-DOS? Either one doesn't make sense to me.
- digi_owl 10y agothe latter. DOS was a downright minimal layer of code between the software and the hardware. Little to no memory protection etc. If it walks like a duck and quacks like a duck...
- nickpsecurity 10y agoThat's not fair given DOS was 100% unsafe in architecture and implementation language. The Ocaml or Rust ones are more like the Pascal OS's (eg Solo) with a certain amount of safety built-in. I agree on the minimal part but the overall metaphor doesn't fit.