can you report that to the Cog bug tracker? Stef On Mar 29, 2011, at 6:12 PM, Gary Chambers wrote:
Lol.
Just to mention that we have been having problems (VM crashes/lockups) with OSProcess, using FFI to callout to libc for executing shell command has seemed to help this.
Looked like memory corruption (especially targetting Delay objects, but likely they were on the stack at the time...).
Occurs on all VMs, though more apprent with Cog.
FFI saves the day!
Regards, Gary
----- Original Message ----- From: "Igor Stasenko" <siguctua@gmail.com> To: "laurent laffont" <laurent.laffont@gmail.com> Cc: <Pharo-project@lists.gforge.inria.fr> Sent: Tuesday, March 29, 2011 4:09 PM Subject: Re: [Pharo-project] PharoCasts with experts
On 29 March 2011 07:58, laurent laffont <laurent.laffont@gmail.com> wrote:
- Igor on VM debugging or FFI / NativeBoost (for example interfacing with http://id3lib.sourceforge.net/ or other lib)
this lib is a C++.. interfacing with C++ is troublesome. Usually this is done by creating a standard C library with C- functions wrapping around C++ calls. Then as usual.
OK. I've tried FFI with this and I got mad. Do you know a fun C library to start working with ?
Yeah.. i have one.. called OpenGL :) See http://www.squeaksource.com/NBOpenGL
But for exercise, i think standard C library is just fine. There's a lot of functionality which might be handy and can be exposed via FFI.
Laurent.
- Lukas on Magritte or PetitParser - Dale on Metacello - Nicolas on Iliad - Janko on Aida/Web and all that I forgot ..... I'm sure plenty of people would like their open-source project to be more known. This may be an opportunity.
How to do this: contact me if you wish to do that so we can choose an hour that match our respective calendars and agree on tools used (skype, google video chat, vnc, teamviewer, ....) - I will care about video stuff. > Just talk and code :)
Anyone ?
Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.