Repository navigation
tsbTheMachine 27.5.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.5.0.tar.gz (133M)
sha1 f70fc4549ca34cd7c41f7d1d9c8164e29972e6ec
commit 3a077bbfec824e798c4d0a549f96ac00b331547b
Unpacks to tsbthemachine-27.5.0/. Pinned in TheMachine.java of both projects; the checksum there must match this one.