An Embeddable GCC-Based JIT Compiler Published
Written by Michael Larabel in Compiler on 03 October 2013 at 01:53 AM EDT. 4 Comments
Compiler
An experimental library has been published by a Red Hat developer that allows for an embeddable JIT compiler that's based on GCC.

GCC hasn't ventured much beyond its static compilation roles while LLVM continues to be adopted by numerous software projects for its Just-In-Time compilation abilities. However, David Malcom of Red Hat has published a "proof of concept" embeddable JIT compiler based upon the GNU Compiler Collection.

The code published on Wednesday is still a work-in-progress but it's a patch to GCC that allows the compiler to have an embeddable JIT compilation API that uses GCC as its back-end via a libgccjit.so library. The shared library can be dynamically linked into bytecode interpreters and other programs for generating native machine code at run-time.

While the code is still experimental, the Red Hat employee working on GCC hopes to eventually merge it into the mainline compiler code-base. More details on this GCC JIT compiler embeddable library can be found via its mailing list announcement.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Compiler News
Popular News
Trending Reviews & Featured Articles