Skip to content

Dolly v0.1.1

Choose a tag to compare

@daugasauron daugasauron released this 09 Oct 16:27
· 3198 commits to main since this release

Dolly v0.1.1: a POSIX-like agent userspace that runs in one browser WebAssembly machine.

The site serves each version under its own path: this one is https://daugasauron.com/v0.1.1/, v0.1.0 stays where it was, and / leads to the newest.

New since v0.1.0

  • Rust is built inside Dolly. rust-llvm builds LLVM 22 with Dolly's c++; rust-build builds rustc, its standard library and Cargo from their pinned sources. The externally built seed compiles a first rustc; that one compiles the standard library and then rustc again, and the second rustc is the one the rust package carries. The build fails unless the standard library from both is the same, byte for byte. Nothing of the seed is in the rust or cargo package.
  • Everything Rust is built by Cargo. ripgrep, fd, cbindgen, protox and Codex (963 crates) build with cargo build --offline from vendored crates. Patti, the C stand-in for Cargo, is removed.
  • wine: Wine 4.0.4's own programs compiled for wasm64, on a desktop with a taskbar and Start menu. Notepad, WineMine and ReactOS Paint run side by side, and an x86-64 interpreter runs an unmodified TinyCC, which compiles C programs that then run under it.

What stops working

  • patti is gone; amy install rust no longer brings it. Use cargo.
  • A build's record at /usr/share/dolly/builds/NAME.json is now the project's lock file, NAME.lock.

Known gaps

  • cargo run builds and then fails: Cargo replaces itself with the program (exec), which Dolly does not have. Run target/debug/NAME.
  • The Rust seed (stage 0), Dolly's kernel, its libc and the cc of the images are still built outside Dolly.
  • Wine: its programs are threads of one process, so one crash ends the desktop and CreateProcess fails. The x86-64 interpreter has no floating point or guest threads, runs one program at a time, and bridges window procedures but few other callbacks. 32-bit Windows programs are refused. Paint's status bar shows a wrong coordinate.
  • In Chrome only the compiler runs on the larger browser stack (docs/browser-stack.md).
  • git help COMMAND fails (no exec); file modes and umask are not in this release.
  • GitHub Pages carries a subset of the catalog.

The domain version's file list (deployment.sha256) has SHA-256 7d45a56afe95c4c6aecf354fff58f597d12031b35ade0a50a0e1ca5bf13e2b33.