HashLink bytecode can be produced by using Haxe compiler (requires 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 out/main.c -main MyApp
gcc -O3 -o myapp -std=c11 -I out out/main.c -Lhl [/path/to/required.hdll]
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.