A a C++ developer, I think I can better relate to D. Yeah, Nim is nice. I asked about the PyBridge as well (as there is in OpenQwaq|Terf) but no response from Ron so far. We need more bridges, that's my long term play. Some decent cash is coming my way, so I hope that I'll be able to devote more time to these projects. That's always the same story, cash buys time... Phil On Sun, Dec 13, 2015 at 11:34 AM, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
From a basic search it appears that D can generate dynamically linked libraries (DLL , SO, etc) which will be the easiest way to extend pharo using D.
However from a very basic search I did it looks like generating dynamically linked libraries with D is not as straightforward as someone would expect.
http://forum.dlang.org/thread/k3vfm9$1tq$1@digitalmars.com
If you are not bound to D for creating system-level extensions for Pharo you have several options
1) nim language is used by gokr and his company and they use it to extend Squeak
here is a blog post about what nim is
http://hookrace.net/blog/what-is-special-about-nim/
and here is a blog post of gokr about how to get it to work with squeak and pharo
http://goran.krampe.se/2014/11/03/squeak-to-nim/
2) Maybe just maybe you could use Slang , which is basically smalltalk that compiles to C and is what the pharo VM uses a lot. But I am not certain.
PS: Just realised you commented on that blog post so you may be aware of all this, but you can take this as a friendly reminder of your potential solutions :)
On Sun, Dec 13, 2015 at 2:16 AM phil@highoctane.be <phil@highoctane.be> wrote:
Anyone having used D to build system-level extensions for Pharo?
TIA, Phil