Jacob Carlborg wrote:
For shared library support on Linux I think http://d.puremagic.com/issues/show_bug.cgi?id=4583 is a blocker. For Mac OS X a patch is already available (of which the dmd part has already been applied) http://d.puremagic.com/issues/show_bug.cgi?id=4080 . BTW compiling Tango as a dynamic library on Mac OS X has been possible the last couple of months.
One thing about OS X is that all object files are sharable, so if your code even works on the Mac it will be possible to put it in a shared library. Things are much more complex on Linux.