[squeak-dev] Calling Nim from Squeak/Pharo via FFI

Germán Arduino garduino at gmail.com
Tue Nov 4 12:22:53 UTC 2014

Interesting option Göran, thanks for sharing!

2014-11-04 7:19 GMT-03:00 Göran Krampe <goran at krampe.se>:

> Hey guys!
> Just wanted to mention an article I wrote yesterday:
> http://goran.krampe.se/2014/11/03/squeak-to-nim
> In fact, its the latest in a series of articles on Nim:
> http://goran.krampe.se/category/nim
> The gist of it and why I post here:
> Squeak/Pharo has the ability to use .so/.dll libraries (typically written
> in C) via either VM plugins or FFI. The plugin route is a bit messy. The
> FFI route (there are multiple FFIs available as you may have heard, but my
> article uses the "old" one) on the other hand is quite easy to use.
> Now... Nim is a higher level language than C, very very interesting in
> many ways - and it compiles via C (or C++) to either binaries or libraries.
> Such a library is just like a library in C, so we can easily call it using
> FFI.
> So, if you wanted to play with very fast native code that is not the PURE
> PAIN like C or C++ is, then Nim is a very interesting alternative.
> cheers, Göran

Saludos / Regards,
Germán Arduino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20141104/d30a5007/attachment.htm

More information about the Squeak-dev mailing list