# Using LLVM-based JIT Compilation in Genetic Programming

**Authors:** Michal Gregor, Juraj Spalek

arXiv: 1701.05730 · 2017-01-23

## TL;DR

This paper presents a novel approach to genetic programming by leveraging LLVM-based JIT compilation to improve execution speed of evolved programs, using a custom parser for C-like syntax trees.

## Contribution

It introduces an LLVM-based JIT compilation method for genetic programming, enhancing execution efficiency over traditional interpretation methods.

## Key findings

- LLVM JIT improves execution speed of evolved programs
- Parser supports C-like syntax for tree construction
- Comparison shows faster performance than previous implementation

## Abstract

The paper describes an approach to implementing genetic programming, which uses the LLVM library to just-in-time compile/interpret the evolved abstract syntax trees. The solution is described in some detail, including a parser (based on FlexC++ and BisonC++) that can construct the trees from a simple toy language with C-like syntax. The approach is compared with a previous implementation (based on direct execution of trees using polymorphic functors) in terms of execution speed.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1701.05730/full.md

## Figures

1 figure with captions in the complete paper: https://tomesphere.com/paper/1701.05730/full.md

---
Source: https://tomesphere.com/paper/1701.05730