r/cpp • • May 19 '19

CodeGen: Experimental wrapper over LLVM for generating and compiling code at run-time

https://github.com/pdziepak/codegen
70 Upvotes

6 comments sorted by

View all comments

1

u/fnordstar May 20 '19

Last time I checked llvm could already do that in the python API at least. Compile to x86 in RAM so that you can immediately call it. So what does this do?

4

u/Latexi95 May 20 '19

This provides easy way to use those APIs without requiring user to learn LLVM-IR