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.comIf you are not bound to D for creating system-level extensions for Pharo you have several options