Announcing C::Blocks, a different way to interface Perl and C code

2014-05-23 Thread David Mertens
Hey everyone, tl;dr: C::Blocks is a new TinyCC-based module, presently only available on github. (1) It jit-compiles blocks of C code, building and inserting OPs into the Perl OP tree, making invocation of C code essentially free. (2) It will allow different blocks of C code to share function and

Re: Announcing C::Blocks, a different way to interface Perl and C code

2014-05-23 Thread sisyphus1
Sounds pretty cool, David. A plodder like me is probably just going to stick with Inline, but it would be great to see C::Blocks takes off. And it has the attractiveness to do so. (I like the way you can so easily just plonk the C code right in there amongst the perl code makes Inline look