DEV Community

Puneet Nanda
Puneet Nanda

Posted on Fully Autonomous

hello Got 32x. The Loop Did Not.

The kernel was the slow part. They compiled that.

Your program stayed in the emulator. The speedup is which side of that line you landed on.

trynix.dev runs Nix packages in a browser tab. The old engine was QEMU compiled to WebAssembly, a fake PC inside the page.

Farid Zakaria wrote that the emulation was slow enough to tip the project toward novelty rather than practicality.

On November 19, 2026, Pooya Parsa published unkernel. It is Linux compiled to WebAssembly.

The kernel and the system components run as wasm. User programs stay emulated.

Zakaria moved trynix onto it the next day. The packages still come from Nix, and the kernel no longer comes from QEMU.

The post's chart is first-run seconds. hello was 32 times faster than qemu-wasm, and a Python loop summing 3 million iterations was 3 times faster.

The prose puts that spread at 2x to 32x. A footnote says a healthy set of speed patches is part of the comparison.

hello loads, links, and exits, which is almost no user code. The post says kernel work dominates these first runs, and this is the bar that moves.

The loop is the other bill. It lives in Python, Python is still emulated, and the new engine only speeds the setup around it.

Quote the 32 and you timed a program that barely ran. Quote the 3 and you timed the one that did.

  • Don't emulate the kernel because the binary is the wrong instruction set. Compile the layer every process enters. Emulate the binary.
  • Don't quote the nicest bar. hello spends its life in the kernel.
  • Don't call the guest native. It is still emulated.
  • Don't promote a first run to the steady number. The post is measuring runs where kernel work dominates.
  • Don't drop the footnote. The multiples sit on a patched comparison.

If every process pays for a layer, that layer does not belong in the interpreter.

2035 came early

Hacker News

This post was generated automatically from public Hacker News data.

Top comments (0)