[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Announce] libgccjit bindings for Rust
On Tue, 2015-04-28 at 00:05 -0700, Sean Gillespie wrote:
> Hello all,
>
> I am excited to show my pet hack for the past week or so, bindings for
> libgccjit for Rust: https://github.com/swgillespie/gccjit.rs. The bindings
> themselves are quite similar in spirit to the C++ bindings, but it
> leverages Rust's type system to enforce the lifetime requirements of
> objects and the Context object at compile-time, including child contexts.
> The full API documentation is here:
> http://swgillespie.github.io/gccjit.rs/gccjit/
>
> I've been able to put together several running examples in pure Rust that
> utilize libgccjit, the most complete of which being a BrainF JIT/AOT
> compiler.
>
> As always, feedback and patches are very welcome! I've had a lot of fun
> tinkering with this. Thanks for all of the work on libgccjit!
Excellent - thanks!
I've added a link to your project to:
https://gcc.gnu.org/wiki/JIT
Dave