Architecture
The principles behind the proposed independent operating system. The design choices of the earlier prototype are kept below, separately.
Proposed: independent Khelforge OS
Proposed architecture. This is the design goal for the independent Khelforge OS. Most of it does not exist yet.
User applications
The games and programs you want to use. Which ones will work is not known yet.
What can run depends on every layer below, and for some software on its publisher’s permission.
Planned
Today: No application runs.
Desktop and gaming platform
The desktop, settings and game library.
Native applications on the same interfaces that other developers would use.
Planned
Today: No desktop exists for the independent system.
Compatibility environments
Research into running apps made for Windows, Linux and Android.
Separate environments, kept apart from native applications, so that a fault in one should not take down the rest.
Planned
Today: No environment exists.
Native application runtime
What applications made for Khelforge are written against.
Documented interfaces and tools, meant to stay stable between releases.
Planned
Today: No interface has been published.
Graphics and system services
What draws the screen, plays sound, stores files and connects to networks.
Services with narrow jobs. Hardware acceleration needs drivers that do not exist yet.
Planned
Today: No service exists.
Security and resource management
What keeps programs apart, and keeps background work out of a game’s way.
Access control, isolation and resource limits as one concern, not an addition made later.
Planned
Today: Nothing has been published.
Native driver framework
How the system will recognise and use your devices.
One structure for device discovery and drivers, kept behind clear boundaries.
Planned
Today: No device is supported.
Independent Khelforge Kernel
The core that shares the processor and memory between programs. This is being built first.
The project’s own kernel. No public milestone has been verified yet, and it is not ready for use.
In development
Today: It cannot be downloaded or used.
Hardware
Your computer. No computer is supported yet.
Support will be stated for an exact model only after it has been tested.
Not part of the system
Today: No test result has been published.
Design principles
Principles for a system in development. They are not finished features. The technology ecosystem lists every part.
Kernel first
The foundation is built and checked before the parts that depend on it.
Separate layers
Each layer has its own job and a clear boundary, with the aim that one part can change or fail without taking the rest with it.
Least access
Each part should have only the access it needs.
Compatibility kept apart
Environments for other platforms are planned outside the native system, and unsupported programs must fail with a clear message.
Hardware is untested until proven
Support will be stated for an exact model, after testing it.
Publisher rules are respected
Khelforge does not bypass copy protection, anti-cheat, sign-in or licence checks.
Status labels
- In development
- Work has started. It is not finished and cannot be used.
- Planned
- Not started. It does not exist.
- Long-term direction
- A direction the project may take much later. It does not exist.
Historical: Linux-based prototype
These choices belong to the earlier prototype. They are not the architecture of the independent operating system.
Its own compositor, built with Qt
The desktop and the shell were drawn by one program written for this project, so windows, animation and input could be designed together.
The installer interface never ran as root
A separate service did the privileged work. It accepted only choices from a fixed list and re-checked the disk before writing.
Pinned and checked packages
Packages were pinned to a fixed date. The installation was designed to stop if one differed from what was expected. There was no release signing key.
Hardware was read-only until proven
Device settings were to be written only once a protocol was known. Until then they were labelled unverified and nothing was sent.
Memory Guard advised, it did not act
It reported pressure. Soft limits applied only to a new app the user chose to start with them, and games got none. System memory settings were never changed.
Windows compatibility stayed out of the core
Compatibility research was isolated from the stability path, and unsupported programs had to fail with a clear message.