3 ms·
Didn't containers just create a sandbox for the code to run? If they get a full VM, what is the difference between containers and old style VMs? Anyway, I don'
by marcosdumay 11y ago
Didn't containers just create a sandbox for the code to run? If they get a full VM, what is the difference between containers and old style VMs?
Anyway, I don't have experience on Go or V8 Javascript, but C pthreads, Haskell threads and Python threads all just encapsulate the OS functionality to add some conveniences. Java does come with a complete threading implementation, and gets no lack on criticism because of that. You may get away running Node on a single task kernel, but Postgres will simply refuse to load if it can not fork some processes and talk to them by shared memory. Apache's behavior is similar.
- sp332 11y agoContainers share a kernel, but unikernels run right on the hypervisor. Basically your program is the kernel, and it's the only thing running in the VM.
- marcosdumay 11y agoOh, thanks. So unikernels are not about containers, and I've been mixing two different approaches. It makes more sense now.