WOAH

Tagged: webassembly

5 articles

· 5 min read

A student's gravity engine keeps 6,000 bodies at 60 Hz

HelioSim is an N-body gravity simulator written in C++ and compiled to WebAssembly. Barnes-Hut trees, Verlet steps and a published benchmark table show how far one tab can go.

#physics#webassembly#space#open-source

· 4 min read

Let there be sand: a falling-sand toy in Rust

Sandspiel gives you elements, physics, and an empty canvas, then gets out of the way. Rust in the browser, chaos in your afternoon.

#simulation#webassembly#play

· 5 min read

Dozens of operating systems that boot in a tab

v86 emulates a whole x86 PC in the browser and boots a hundred-plus operating systems, from Windows 1.01 to 9front, by recompiling their machine code to WebAssembly live.

#emulation#webassembly#operating-systems

· 5 min read

Every Mac OS since 1984 boots in this tab

Infinite Mac runs classic Macintosh and NeXT systems in the browser, from System 1.0 to Mac OS X, using seven emulator cores compiled to WebAssembly with Emscripten.

#emulation#webassembly#retro

· 6 min read

A full Debian Linux boots here with no server

WebVM runs a real Debian userland client-side through CheerpX, an x86-to-WebAssembly JIT. You can compile C with gcc, and nothing on a server ran your code.

#webassembly#linux#emulation