pothosware / PothosCore

The Pothos data-flow framework
https://github.com/pothosware/PothosCore/wiki
Boost Software License 1.0
306 stars 49 forks source link

JIT blocks for C++ #93

Open guruofquality opened 8 years ago

guruofquality commented 8 years ago

Using the conf-file based registry, it should be possible to install a C++ source (or sources) and register them with a conf file. The file would describe the source locations and possible linker or include options. Upon instantiation, the JIT loader would compile the source into a module, load it, and return the resulting block to the caller.

This could be a very better way for users to write simple C++ blocks without dealing with the compiler tools. We already have a module compiler interface available, so half of the dirty work is done.

guruofquality commented 8 years ago

Almost complete, a demo is checked in with comments: https://github.com/pothosware/pothos-demos/blob/master/jit_cpp_block/README.md