A virtual computer
EFOS has its own processor design (EFVM), its own assembler (EFASM), a console shell and a windowed desktop. Programs written for EFOS run on that virtual processor, not directly on your machine.
EFOS is a complete virtual computer, and the Workspace is its desktop. This is a recording of it running on Linux. Nothing here is a mock-up: Paint and Snake are programs written for EFOS, and each runs in a window of its own.
EFOS is a sandboxed virtual computer: it has its own processor, its own programming tools and its own desktop, all built from scratch. The Workspace is that desktop.
EFOS has its own processor design (EFVM), its own assembler (EFASM), a console shell and a windowed desktop. Programs written for EFOS run on that virtual processor, not directly on your machine.
The Workspace has a sidebar, an Apps view and windows with title bars and close buttons. Each program opens in its own window and draws only inside it.
Every program is given only the permissions it asks for and is approved to have, such as a window or some memory. Anything else is refused, so a program cannot reach beyond its sandbox.
The Workspace is hosted on Linux. It is developed on Pop!_OS, where it opens as an ordinary window and Linux supplies the screen, keyboard and mouse. Everything inside that window, the desktop, the windows and the programs, belongs to EFOS. The core of EFOS is plain, portable C, so running it on other hosts is a direction, not something it does yet.
Three screens from the same recording: the desktop with its Apps view, then the two programs.
A sidebar with Home, Drives, Apps and more, drawn by the native Workspace itself. Programs appear in Apps as tiles: double-click one and it opens in a window of its own, with the standard title bar and minimize and close buttons.
Pencil, brush, spray, eraser, line, rectangle and ellipse, with outline or filled shapes, a 28-colour palette and separate left and right colours. It is deliberately small: there is no fill bucket and no undo. This picture was drawn with the mouse.
Arrow keys steer and Esc quits. The window system paces the game at 60 frames a second, and the whole program fits in 754 instructions.
Every program in the recording took the same three steps.
A short, C-like source file. Paint is one file of about 440 lines.
The compiler produces bytecode for EFVM, a small virtual machine with a fixed 4 KiB of memory.
The Workspace gives the program a window and only the drawing and input it asks for.
The browser playground runs efclang and EFVM programs, including Paint and Snake, with keyboard and mouse. Nothing to install.