GCC5 and LibertyEiffel

From: JIT-compilation using GCC 5 | Red Hat Developer Blog

This post is about something more user-visible: as of GCC 5, GCC’s code-generation backend can now be built as a shared library.

The new library in GCC 5 is named libgccjit, since it can be used to implement Just-In-Time compilation within a language interpreter. Although I primarily had JIT-compilation in mind when writing it, the library can also write the code it generates out to disk as an executable, allowing you to build more conventional ahead-of-time compilers.

Eureka!

That’s exactly what we need for GNU LIberty Eiffel!

Let’s study it a little, issuing

The new library in GCC 5 is named libgccjit, since it can be used to implement Just-In-Time compilation within a language interpreter. Although I primarily had JIT-compilation in mind when writing it, the library can also write the code it generates out to disk as an executable, allowing you to build more conventional ahead-of-time compilers.

1 comment on “GCC5 and LibertyEiffel

Leave a Reply to Paolo Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.