Skip to content

tsbTheMachine 27.7.0

Choose a tag to compare

The mobile compiler and runtime for RapidFX and RapidJ: class files up to version 61, a runtime library being filled in against Java 25, CocoaTouch reduced to what a rendered interface needs, and Swing on UIView.

Android compiles ahead of time, not just the VM core. A Java file becomes an arm64 binary that runs under adb shell, or — with -target androidlib — the lib<name>.so an APK carries in lib/arm64-v8a/: it loads in ART, and our VM starts inside the ART process.

An androidlib library is a third of the size it was. It used to export 293,029 dynamic symbols in order to use four: the linker was asked to make the wanted ones global and was never told to make the rest local, which costs nothing for an executable and nearly everything for a shared library. With a version script and a release link that strips, a hello-world library went from 120 MB to 39 — and stack traces are unaffected, because the VM reads its own tables rather than the symbol table.

A fork of RoboVM/MobiVM for our own purposes — see NOTICE for the origin and the licence.

asset   tsbthemachine-dist-27.7.0.tar.gz (133M)
sha1    8d888c7edeaefc7346657be5e82b0eb085a30174
commit  f7e886b2c777da6fe691d6ae371c0085e786f991

Unpacks to tsbthemachine-27.7.0/. Pinned in TheMachine.java of both projects; the checksum there must match this one.