Hacker News new | ask | show | jobs
by BraveNewCurency 3074 days ago
Huge difference. It's not the kernel size, it's the interface (ABI).

In a unikernel, the kernel is part of the application (like a library). Instead of a complex/slow transition from user space to kernel space, you just call a function.

A unikernel will also know exactly what your application needs (i.e. if you only use UDP, it doesn't bother including TCP.) It's possible to strip down the Linux kernel, but it requires a LOT of work (basically, remove something, then test that your application still works.)