Repository navigation
tsbTheMachine 27.3.0
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.3.0.tar.gz (107M)
sha1 7c8bcc2ae2f7c8c9916a82d16c0b1efcd3e457ba
commit 34f168f11f529f0730d9a4da5ca9aea61e9f16c7
Unpacks to tsbthemachine-27.3.0/. Pinned in TheMachine.java of both projects; the checksum there must match this one.