AKUMA
Bohemian operating system

Compose
your own kernel

A platform kernel assembled from crates to fit your runtime. Akuma is an experiment at building a durable and minimal operating system that can sustain its own development needs.

main.rsrust
#![no_std]
#![no_main]

akuma_tokio_kernel::entry!(main);

fn main(kernel: akuma_tokio_kernel::Kernel) -> ! {
    kernel
        .name("Akuma")
        .banner(include_str!("banner.txt"))
        .console()
        .disk()
        .net()
        .smp()
        .run_init()
}
00 / the kernel family

Shared roots.
Different missions.

A family of kernels composed from shared foundations, each built to run a specific runtime.

Akuma

Linux ABI compatible OS and hypervisor. Runs on AWS and on amd64 Ryzen laptop and is used to develop itself and other kernels

                      =#=      .-
                      +*#*:.:-**
                      +%%#%##***
                      +%%%#%%#**.
                      +%@@@%%%+*:
          :::::--=+++*%@%@%%%%*-
     :-+##%%%%%%%%@%@#%%@%%%%##%+
  .=##%%%%%%%%%@@@@@%#%%@%%%@@@%%-
.*%%%%%%%@%%%%@%@@@@%%%%@%%%%%@@#-
%@%%%%%%%%%%@%%%%%@@@%%%@@@@@%%%#+
*%%%%%@%@@%@@@%%%%#%@@@@@@@%%@@%@@@*+--
 ::=+*#@@@@@@@@@@@%%%%%%@%%@#----=**@%@#
         .--+**%@@@@@%@@%%@@%*       :-.
                  ::::---#@%%*
Rust / TokioPythonamd64aarch64JVMContainersKVM host

Denver

A JVM platform kernel composed from Akuma crates, built to run Clojure and Scala.

   /\        /\        /\        /\        /\
  /  \  /\  /  \  /\  /  \  /\  /  \          D E N V E R
 /    \/  \/    \/  \/    \/  \/    \        https://akuma.sh/
_/                                    \_     Beans System Debauchery:
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       kernel for Clojure
Rust / TokioPythonamd64aarch64JVMContainers · experimental

Taoxichuan

A self-hosting kernel born from an experiment with open models.

                                   ||==================||
       )  (                        ||   TAOXICHUAN     ||
      (    )                       ||                  ||
     )  (  (                       ||        陶        ||
     /\/\/\/\                      ||        溪        ||
    /        \                     ||        川        ||
   /          \                    ||                  ||
  /   .-""-.   \                   ||    KILN-FIRE     ||
 |   /      \   |                  ||     MARKET       ||
 |__|________|__|                  ||==================||
                                   ||                  ||
===================================||==================||=
┌──────────────────────────────────||──────────────────||┐
│  • Fired in Akuma's kiln                               │
│  • Booted under Akuma's hypervisor on Akuma's metal    │
└────────────────────────────────────────────────────────┘
Rust / TokioPythonamd64aarch64

Shanghai

A small tutorial kernel assembled from the Tokio kernel building blocks.

            |                                                      ___
            |                   |                                 /   \
         .-----.               /_\           ___________         /     \
        ( ==o== )              | |          |  _______  |       /       \
         '-----'              /___\         |  /     \  |      /         \
            |                 |   |         |   /   \   |     |           |
     .-------------.         /_____\        |    /_\    |     |           |
    /               \        |     |        |           |     |___________|
   |     ===o===     |      /_______\       |           |     |           |
    \               /       |       |       |           |     |           |
     '-------------'       /_________\      |           |     |___________|
        //     \\          |         |      |___________|     |           |
       //       \\         |         |      |           |     |           |
      //         \\        |         |      |           |     |___________|
     //           \\       |         |      |           |     |           |
    //             \\      |         |      |           |     |           |
 __________________________________________________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rust / TokioPythonamd64aarch64
01 / field notes

Experiments

Talks and experiments from the strange places you can go when you build your own operating system.

02 / by the numbers

Stats

A snapshot of the code and the bugs we have found along the way.

136,052

production Rust code lines in src/, crates/ and taoxichuan/src/. Line counter ↗

73,840

test Rust code lines in the same source scope, counted separately from production. Line counter ↗

99.25%

of production Rust code lines are outside unsafe blocks in that scope. Line counter ↗

330

production unsafe sites counted across the same Rust source scope. Line counter ↗

3 / 4

kernels initially built with mostly open models: Denver, Taoxichuan and Shanghai.

1,688

distinct fixes recorded in the Akuma bug-fix audit. Bug-fix list ↗

139

distinct Taoxichuan fixes recorded in its separate audit. Bug-fix list ↗

495

investigation documents contribute fixes to the Akuma bug-fix audit. Bug-fix list ↗