Another effort leveraging FFI is CPPBridge... http://forum.world.st/ANN-CPPBridge-One-Ring-to-rule-them-ALL-td4922275.html... and TalkFFI (this announcement for Pharo 4) http://forum.world.st/TalkFFI-automatic-FFI-generation-for-Pharo-td4662239.h... cheers -ben On 17 November 2017 at 02:55, Todd Blanchard <tblanchard@mac.com> wrote:
UFFI (Universal Foreign Function Interface) is pretty good.
It is how we access things like sqlite, cairo, and some other native frameworks. There is work going on to make it more automatic by leveraging libclang to parse headers and automate a lot of the grunt work. Search the list for FFI in the subject lines and you will find some things.
-Todd Blanchard
On Nov 16, 2017, at 7:14 AM, Hans N Beck <hnbeck@educational-concepts.biz> wrote:
Hi,
is it possible - at least in theory - to build a VM such that Pharo could handle binary objects ? For example, there may be objects written in C, in Golang, Lisp... you could load the objects into to image, you would see their methods as all other Smalltalk Code, with the difference that you could not see the implementation or do Smalltalk level debugging. I have in mind the FMI of Modelica (http://fmi-standard.org) I donât now if the modern FFI already works like this. And now, I donât reestablidvh CORBA :)
Cheers
Hans