HashLink is a virtual machine for Haxe
HashLink bytecode can be produced by using Haxe compiler (requires upcoming Haxe 3.4+)
haxe -hl output.hl -main MyApp
HashLink bytecode can be run using HL/JIT virtual machine.
HashLink bytecode can be either run through HL/JIT virtual machine or converted to C with HL/C:
haxe -hl output.c -main MyApp
gcc -o myapp -D INCLUDE_ALL -std=c11 output.c -Lhl
HashLink runtime includes the following features:
While the standard HL runtime provides support for Haxe standard library, HashLink also provides several libraries that can optionally be used to build HL-specific applications.
Provide some binary format support:
Provide some OS UI operations:
Support for the popular SDL framework:
HashLink uses advanced optimizations to increase Haxe performance:
Initial benchmark shows that HL/JIT outperforms Adobe AIR and Node/V8 in many cases. Many room for performance improvement exists in HL/JIT to bring it as much near as HL/C as possible.
Initially developed in Haxe with Adobe AIR, it now runs with HL and HLSDL library with the same performance.