Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've done it by embedding libclang into an executable. You still have to be really careful to keep ABI compatibility between the host and the JITed plugin, if you want to send and receive complex C++ objects. Most likely you'll need to set up a simple C ABI and reconstruct the objects on either side of the interface. The last thing you want is to send std::string across a DLL boundary.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: