Using and porting GNU lightning

GNU lightning is a library that generates assembly language code at run-time; it is very fast, making it ideal for Just-In-Time compilers, and it abstracts over the target CPU, as it exposes to the clients a standardized RISC instruction set inspired by the MIPS and SPARC chips.


GNU lightning is usable in complex code generation tasks. The available backends cover the aarch64, alpha, arm, hppa, ia64, loongarch, mips, powerpc, risc-v, s390, sparc and x86 architectures.

Contact Paulo Andrade or subscribe to the mailing list for more information and bug reports.

GNU lightning Resources

Releases are available from Documentation is available on-line.

Development code can be checked out from