W4ME Station – a WASM-4 runtime for Java ME phones

(github.com)

15 points | by sqshi 3 hours ago

2 comments

  • zx8080 2 hours ago
    > 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.

  • sqshi 3 hours ago
    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.