armless

arm64 Linux,
in a browser tab.

An AArch64 machine emulator written in Rust. The whole machine, devices included, is Rust.

Read the docs Releases

/bin/sh not in this build

The machine is not part of this build.

machinevm.smp_report()
instructions per second, all CPUs
-MIPS
CPUs
-
JIT blocks
-
linear memory
-MiB
    all CPUs

    Linux 6.8, booted in this tab from an initramfs with busybox, with as many CPUs as this device can spare. One awk per CPU draws a trench run, a new one every time. Ctrl+c stops it. Escape, then Tab, leaves the console.

    Embed it

    <script src="armless.js"></script>
    <script>
      const vm = new Armless({
        wasm: "armless.wasm",            // armless-smp.wasm next to it is used for cpus > 1
        memory_mb: 512,
        cpus: 1,
        filesystem: { json: "filesystem.json", baseurl: "filesystem/" },
        initial_state: "state.bin.zst",  // or boot: { kernel, initrd, cmdline }
        network: { tls: "tls.json" },    // the guest's HTTP(S) and WebSockets go out via fetch()
      });
      vm.on("console", (bytes) => term.write(bytes));
      term.onData((text) => vm.console_input(text));
      vm.on("ready", () => vm.console_resize(term.cols, term.rows));
    </script>

    Every option, event and call