[squeak-dev] Re: Why FFI is not included with latest squeak ?

dimitris chloupis thekilon at yahoo.co.uk
Mon Aug 20 13:37:26 UTC 2012


Thank you . I have dowloaded Athens and NB and NBOpengl and will study all of them. I also downloaded the video and I am watching it. If I have any questions I will come back with them. 


________________________________
 From: Igor Stasenko [via Smalltalk] <ml-node+s1294792n4644627h10 at n4.nabble.com>
To: kilon <thekilon at yahoo.co.uk> 
Sent: Monday, 20 August 2012, 14:04
Subject: Re: Why FFI is not included with latest squeak ?
 

There is a more recent video, a presentation which i gave at ESUG: 
http://www.youtube.com/watch?feature=endscreen&NR=1&v=a3paB9-iaCY

and for examples, i forgot to mention Athens.. 
http://www.squeaksource.com/Athens
which is a vector graphics engine we developing. 
You load 
ConfigurationOfAthens which is metacello configuration 
and then just invoke 
ConfigurationOfAthens loadVersion: '1.2' 
which is latest available today. 
It will automatically load nativeboost (so, you don't have to install 
it by yourself) 
and you can browse the code in Athens-Cairo package to see how i using 
NB to bind with Cairo graphics library.. for example look at 
AthensCairoCanvas class, like: 

rectangleX: x y: y width: aWidth height: aHeight 
        <primitive: #primitiveNativeCall module: #NativeBoostPlugin> 
        
        ^ self nbCall: #(void cairo_rectangle (self, 
                 double x, double y, 
                 double aWidth, double aHeight) ) 


On 20 August 2012 11:12, dimitris chloupis <[hidden email]> wrote: 

> WOW I only left for a day and the mailing list just exploded. 
> 
> First I thank you all for your help and yes I am a big fan of Starship 
> Troopers too, its sad that this greaty movie never got the sequel it 
> deserved and still is so misunderstood.. The truth is that Native boost is 
> very tempting for that precise reason, it allows you to stay in smalltalk 
> and do your magic and never leave the comforts of the smalltalk debugger but 
> is also tool that overall documentation is not much. Still I guess I can 
> alway ask Igor and he can answer back and even contribute myself in 
> documenting things. Whats funny is that if you ask here at mailing list you 
> get a lot of useful answer but those answers dont make it back to 
> documentaion. People are bored making documentation but cant resist 
> answering in malling list with often extremely detailed helpful info as 
> Davind's pst which I think should be included with Squeaks onboard 
> documentation. 
> 
> Saying that taking into considerina how non popular Squeak and Pharo are , 
> documentation is not that bad actually. 
> 
> On my project goals Ephestos, is to take advantage of pure object orientated 
> approach of smalltalk nature to provide a framework of attaching flexible 
> documentation to smalltalk objects so the user can ask a method or class or 
> any object  "help" (ie UIManager help  . UIManager default ChooseDirectory 
> help. etc) 
> 
> Anyway after Igor's explanation I am certainly more inclined to use 
> Nativeboost but will certainly would like to test Vm plugin creation. I 
> certainly hope Nativeboost gets included with both Squeak and Pharo. If its 
> really stable and reliable as Igor is claiming then I most certainly would 
> like to help documenting it in time when I get more experience with it. 
> 
> I did find great introduction to Nativeboost this presentation -> 
> http://www.youtube.com/watch?v=Bd6mz6F167s which is what introduced me to 
> nativeboost. 
> 
> 
> 


-- 
Best regards, 
Igor Stasenko. 



________________________________
 
If you reply to this email, your message will be added to the discussion below:http://forum.world.st/Why-FFI-is-not-included-with-latest-squeak-tp4644264p4644627.html 
To unsubscribe from Why FFI is not included with latest squeak ?, click here.
NAML 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120820/01a9891b/attachment.htm


More information about the Squeak-dev mailing list