[Pharo-project] FFI examples?
I'm trying to use SVMLight (http://svmlight.joachims.org/) from Pharo. SVMLight has some *.h files I need to load and some *.so libraries. I need to be able to call functions from them and manage the results. How do I create a FFI in Pharo? [jake]
Jake can you check in the archive of this list because there were a lot of mail on this topic. We should consolidate that into a couple of page and documentation Does anybody with experience have a bit of time to get some text for the website Stef On May 17, 2010, at 3:53 PM, Jake Bartlett wrote:
I'm trying to use SVMLight (http://svmlight.joachims.org/) from Pharo. SVMLight has some *.h files I need to load and some *.so libraries. I need to be able to call functions from them and manage the results. How do I create a FFI in Pharo?
[jake] _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 17 May 2010 18:35, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Jake
can you check in the archive of this list because there were a lot of mail on this topic. We should consolidate that into a couple of page and documentation Does anybody with experience have a bit of time to get some text for the website Stef
I cannot help, because a Jake's question is too generic. I have no idea what kind of explanations he may require. Is FFI-Examples not enough to grasp the idea? Because for me, its so naturally trivial, that i can't understand what kind of help is needed there.
On May 17, 2010, at 3:53 PM, Jake Bartlett wrote:
I'm trying to use SVMLight (http://svmlight.joachims.org/) from Pharo. Â SVMLight has some *.h files I need to load and some *.so libraries. Â I need to be able to call functions from them and manage the results. Â How do I create a FFI in Pharo?
[jake] _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
Stéphane Ducasse wrote:
Does anybody with experience have a bit of time to get some text for the website
You read my mind... stop that! I've been working on this for a few days. I almost have a summary for more-knowledgeable folks to critique. Sean -- View this message in context: http://forum.world.st/FFI-examples-tp2219674p2219873.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Stéphane Ducasse wrote:
Does anybody with experience have a bit of time to get some text for the website
You read my mind... stop that!
In another life we did telepathy magicianwith alex and it was fun
I've been working on this for a few days. I almost have a summary for more-knowledgeable folks to critique.
excellent I'm eager to read that.
Sean -- View this message in context: http://forum.world.st/FFI-examples-tp2219674p2219873.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/5/17 Jake Bartlett <jakebartlett@gmail.com>
I'm trying to use SVMLight (http://svmlight.joachims.org/) from Pharo. SVMLight has some *.h files I need to load and some *.so libraries. I need to be able to call functions from them and manage the results. How do I create a FFI in Pharo?
Hi. The documentation I know about FFI is from Squeak and it is here: http://wiki.squeak.org/squeak/1414 It has little documentation, but it may help to start. You can also browse the example package from the FFI repository. To install FFI in Pharo, evaluate: Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfFFI'; load. ((Smalltalk at: #ConfigurationOfFFI) project version: '1.3') load. There have been several similar questions. I invite you to read them: http://forum.world.st/template/NodeServlet.jtp?tpl=search-page&node=1294836&... Cheers Mariano
[jake]
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (5)
-
Igor Stasenko -
Jake Bartlett -
Mariano Martinez Peck -
Sean P. DeNigris -
Stéphane Ducasse