Comments

Hacker News

I built W4ME Station, a WASM-4 runtime for old Java ME phones.

It runs standard WASM-4 cartridges on devices that support CLDC 1.1 and MIDP 2.0. The runtime includes a WebAssembly interpreter, graphics, audio, input, persistent storage, and support for loading external cartridges.

The full application, including 13 bundled cartridges, fits into a JAR of about 275 KB.

I started this to see whether an unchanged WASM-4 cartridge could run on memory-constrained Java ME hardware. I’d be interested in feedback on the interpreter, cartridge compatibility, and real devices worth testing.

by sqshi

> Both release variants stay below 300 KB.

> W4ME Station brings unmodified WebAssembly cartridges to CLDC 1.1 / MIDP 2.0 devices, including feature phones from the mid 2000s.

300kb is a _way_ too huge for most of the feature phones.

by zx8080

Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • I built W4ME Station, a WASM-4 runtime for old Java ME phones.

    It runs standard WASM-4 cartridges on devices that support CLDC 1.1 and MIDP 2.0. The runtime includes a WebAssembly interpreter, graphics, audio, input, persistent storage, and support for loading external cartridges.

    The full application, including 13 bundled cartridges, fits into a JAR of about 275 KB.

    I started this to see whether an unchanged WASM-4 cartridge could run on memory-constrained Java ME hardware. I’d be interested in feedback on the interpreter, cartridge compatibility, and real devices worth testing.

  • > Both release variants stay below 300 KB.

    > W4ME Station brings unmodified WebAssembly cartridges to CLDC 1.1 / MIDP 2.0 devices, including feature phones from the mid 2000s.

    300kb is a _way_ too huge for most of the feature phones.