CodeGen: LLVM wrapper for just-in-time code generation and compilation
github.com
github.com
I don't know if stability is a goal for this project but personally I'm hoping someone comes along and makes a stable LLVM interface (and manages to be successful with it).
I just wish something like this was available for ARM. There's xtaak (ARM port of xbyak), but it's woefully incomplete.
1. Quite confused about actual use cases, could anybody come up with an example? 2. The way I see it, it's kind of a way to have run-time "macros"? 3. How much overhead does this have when shipping the code to the user? 4. Would it be difficult to implement something like this for Rust? I can see special syntax to define the functions, would it make sense to add language support for this feature?