Re: [Pharo-users] Calling Pharo from C

2014-09-21 Thread Pierce Ng
On Fri, Sep 19, 2014 at 08:49:27PM -0300, Ronie Salgado wrote: > Another thing, is being able to embed the VM in a C application, and then > call the VM explicitly from the application. In this case, there is not > efficient support at all. You're right. For this case Gnu Smalltalk is designed to

Re: [Pharo-users] Calling Pharo from C

2014-09-19 Thread Ronie Salgado
> FFI - Not sure > Alien - Not sure > NativeBoost - Yes One thing is receiving a callback from C. In this case, NativeBoost is the one with the worst end-user API. Another thing, is being able to embed the VM in a C application, and then call the VM explicitly from the application. In this case,

Re: [Pharo-users] Calling Pharo from C

2014-09-19 Thread Pierce Ng
On Thu, Sep 18, 2014 at 10:05:51PM +0200, Annick Fron wrote: > Is it possible to call pharo from C ? FFI - Not sure Alien - Not sure NativeBoost - Yes Simple example here: http://www.samadhiweb.com/blog/2014.08.02.c.callback.smalltalk.html Pierce

Re: [Pharo-users] Calling Pharo from C

2014-09-18 Thread Clément Bera
Let's say no. It will be possible in the future but it requires quite some work in the VM. If you want to do this work, ask the question on VM-dev mailing list they will tell you what you need to do to make it possible. 2014-09-18 22:05 GMT+02:00 Annick Fron : > > Is it possible to call pharo fr

[Pharo-users] Calling Pharo from C

2014-09-18 Thread Annick Fron
Is it possible to call pharo from C ? Annick