Most portable library for dynamic code generation?

LiraNuna picture LiraNuna · Sep 12, 2009 · Viewed 7.1k times · Source

I'm looking for the most portable assembler library, like asmjit or jitasm.

When I say 'most portable' I mean, that has the most support for a wide verity of architectures. Language doesn't matter so much, but C++ would be the best solution, especially when coupled with GCC.

Important architectures for me, are x86/64, PowerPC and ARM.

Answer

Vladimir Panteleev picture Vladimir Panteleev · Jan 24, 2012

DynASM, used by LuaJIT, supports x86, x64, ARM, MIPS and PowerPC.