If you don't know what Tachyon is, Tachyon is my very own Scratch runtime/recreation written in C++ using SDL3 whose ultimate goal is speed, and performance, while still being lightweight and easy to understand. In other words, Tachyon is designed to be very lean.
In the demo video, I test Tachyon against TurboWarp, ScratchEverywhere!, and xyo-cpp, which are all Scratch VMs/runtimes that utilize (in some way, shape, or form) some of the best JIT compilers out there. In the video, Tachyon counts to 100 million in about 3 seconds, while the others take longer than that.
Even though these results may not seem like much to some, it's a big boost in performance to me, which gives me hope that this really will be faster than TurboWarp.
Technical Details:
- All runtimes ran at 30 FPS and without the warp timer, so *I believe* this is a completely fair comparison.
- In the demo video, coroutines are finally implemented in Tachyon, and it is showcased. In previous demo videos, they were left unimplemented. This made Tachyon run as if it had "run without screen refresh" enabled at all times.
- SE! was built with it's JIT compiler enabled, but I am not sure if it's LLVM backend was enabled or compiled in with the binary.
- xyo-cpp ran with deferred JIT disabled, JIT hotspot compilation, and without turbo mode.
Made by me alone 🥲
EDIT: please don't mind the music, i listen to it a lot while i work