/k23

Experimental WASM Microkernel Operating System

Primary LanguageRust

k23

Experimental WASM Microkernel Operating System

Manual k23 Discord

MIT licensed

About

k23 is an active research project exploring a more secure, modular, and easy to develop for operating system by using WebAssembly as the primary execution environment.

Roadmap

  • Phase 0 - Bringup
    • Bootloader stage
    • Risc-V Support
    • Crytographic Kernel Integrity
    • Compressed Kernel Support
    • Test Runner & Testing against WASM specification
    • Kernel Backtraces
    • Proper Error Handling
    • KASLR (Kernel Address Space Layout Randomization)
  • Phase 1 - WASM Features
    • Guest memory management
    • Guest ASLR (Address Space Layout Randomization)
    • Executing WASM
    • Handling Guest Traps & Fault Recovery
    • WASM module Imports & Exports
    • Execute WASM in Userspace
    • Support WASM Builtins
    • Handle WASM Traps
    • Syscall context switching & Basic Host Functions
    • WASM Proposal - Extended Constant Expressions
    • WASM Proposal - Multi-Value
    • WASM Proposal - Tail Call
    • WASM Proposal - Reference Types
    • WASM Proposal - Fixed-width SIMD
    • WASM Proposal - Relaxed SIMD
    • WASM Proposal - Multiple Memories
  • Phase 2 - Concurrency
    • Kernel Concurrency
    • Scheduler
    • WASM Proposal - Threads (Atomics)
    • WASM Proposal - Shared Everything Threads
  • Phase 2.5 - Kotlin on k23
    • WASM Proposal - Garbage Collection
    • WASM Proposal - Exception Handling
  • Phase 3 - Drivers
    • Support MMIO regions (WASM Memory Control Proposal or Typed Multiple Memories)
    • WASM Proposal - Component Model
    • WASM Component Linking

Contributing

I believe OS development should be fun, easy, and approachable. If you would like to hack on k23, fork it for your own experiments or just hang out and philosophize about computers. Be my guest! You can join our small, but growing community of likeminded, awesome people that all believe better computer system are possible!