← @bgSponge

Introducing FTL: A new operating system for clouds

Summary

Seiya Nuta introduces FTL, an early Rust exokernel meant as a practical cloud operating system.

  1. Put the OS in a library.

    FTL keeps a minimal kernel for vCPU, memory, drivers, and virtual networking, and implements processes, VFS, and TCP in a userspace OS mapped into each container.

  2. Linux compatibility is optional.

    Existing Linux binaries run on that userspace ABI, a musl HTTP server already serves on Google Compute Engine, and Docker images plus modern async runtimes are still ahead.

  3. Isolation is user mode, not VT-x.

    The kernel aims to make containers as isolated as virtual machines by shrinking the interface, but processes that share a container can still interfere with the shared library.

  4. Drivers stay in-kernel, in Hard Mode Rust.

    virtio-net is a no_std library with no implicit allocation, handed an explicit I/O interface so it can be unit-tested, though implicit panics are not rejected.

  5. A cloud Linux replacement is the goal, not the present.

    Disk, efficient copy-on-write fork, /proc, and TTY are missing, and the near work is tokio, Node.js, and Linux container images.

    The goal of FTL is to be a drop-in replacement for Linux in clouds.

Read the original ↗Save to your Sponge

Summarized with Sponge. Quotes are the author’s own words.

More from @bg

All readings →