Linux without Unix?

Summary

At the end of 2000 Hubert Tonneau presented FullPliant, a system that takes only the Linux kernel and rewrites everything above it. Instead of GNU and Unix tools, it ran its own environment based on Tonneau's programming language Pliant, including a dynamic compiler and web, FTP, mail and database servers. The entire code was to fit into one megabyte and be compiled at start-up.

The idea

Linux came about when Linus Torvalds wrote a new kernel for the existing GNU tools. Tonneau reversed this: Tonneau took the Linux kernel and replaced the entire Unix-like system above it. The aim was a system that a single person can read and understand from the first line to the last.

At its core was the Pliant language with a dynamic compiler that translates programs only at run time. Web server, FTP, SMTP, POP3, a database, a browser-based configuration tool and an encrypting proxy were all to fit into that one megabyte.

Why it is interesting

The Linux kernel is not tied to Unix programs. It provides system calls, and what runs on top is interchangeable. Android later implemented this idea on a large scale: a Linux kernel, but its own user environment without a classic GNU system. FullPliant itself remained a niche project, but it shows how far a system can be simplified if you give up compatibility.

Ideas

  • The Linux kernel can be combined with a completely different user environment.
  • A small, fully readable system is meant to offer traceability rather than a wealth of features.
  • A dynamic compiler translates the entire code only at start-up.

Insights

  • Readability of the entire code is a goal in its own right that competes with compatibility.
  • Without Unix compatibility, access to the huge body of existing software is lost.
  • Kernel and user environment are separate layers that can be replaced independently.

Facts

  • The entire system was to fit into about one megabyte of code.
  • It included HTTP, FTP, SMTP, POP3 and database servers, among others.

References

Remarks

  • Android still uses the Linux kernel with its own user environment without a classic GNU system, showing that Tonneau's basic idea was viable, albeit on a completely different scale.

Recommendations

  • When making system decisions, deliberately distinguish between the kernel and the user environment.
  • With minimal systems, check which existing software can no longer be used as a result.

Read the original article

Search the Web Archive

Found a mistake or have something to add? Get in touch.