[squeak-dev] Calling Nim from Squeak/Pharo via FFI
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:
> In fact, its the latest in a series of articles on 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
> 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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev