← Wed, Nov 11 digest

Pharo in the Browser with WebAssembly

read article ↗ hn thread ↗

Massimo Nocentini released a WebAssembly port running the Pharo Smalltalk environment directly inside web browsers.

summary is enough A neat browser-based WebAssembly demo of Pharo Smalltalk that you can try in seconds without installing anything.

summary

Massimo Nocentini published a WebAssembly version of the Pharo Smalltalk virtual machine, allowing users to run the complete live coding environment entirely inside a browser. The setup supports git integration via CORS proxies and lets developers experiment with Smalltalk images without local installation. Commenters note surprising performance in browsers like Firefox, alongside minor UI and viewport bugs.

key points

  1. Runs the complete Pharo Smalltalk image and VM inside the browser using WebAssembly.
  2. Supports GitHub integration and package loading through configurable CORS proxies.
  3. Commenters report varying performance across browsers, with Firefox outperforming Chrome for some users.

who should read it

Developers interested in Smalltalk, live coding environments, or WebAssembly ports of desktop applications.

discussion positive

consensus

Commenters are nostalgic and fascinated by running a full Smalltalk environment in the browser, noting its surprisingly snappy performance in Firefox despite minor UI and back-button bugs.

pushback

A few users encountered sluggish performance in Chrome and criticized the app for hijacking browser navigation.

best comment by jsrcout ↗

I still remember the Byte issue on Smalltalk from 1981 [0]. To high school me it was The Future for sure. It looked so cool. I had no way to try it on the family Apple II+ [1] though.

Trying out various Smalltalk-family systems in recent years showed the advantages of implementing the entire system in one language and running it in one image. There's a refreshing coherence and predictability to everything, and pervasive simplicity instead of fractal complexity.

You can browse the entire codebase in a single window - language/compiler, math operations (except for the base primitives I …

It eloquently captures the unique appeal and architectural coherence of Smalltalk's live-coding environment.

Generated by an LLM from the article and thread. Check the sources before relying on it.