Right now, what's the most important for the success and adoption of D?

Patrick Kreft patrick_kreft at gmx.net
Fri Sep 28 10:32:23 PDT 2007


Steven Schveighoffer schrieb:
> "Craig Black" wrote
>>> Dynamic library support.  Without it, D executables are going to be
>>> unreasonably large.  Imagine a large project like gnome or KDE 
>>> implemented in only statically linked format.
>> Specifically what does D lack with regard to dynamic libraries?  I know it 
>> can load DLL's at runtime.  Does it lack support for load-time dynamic 
>> linking?  If this is the case, that is a very big problem.
> 
> I think the problem is BUILDING dynamic libraries from D.  I don't think D 
> has any problems linking against dynamic libraries written in other 
> languages, as the linker is the same as the C++/C linker.
> 
> For example, both tango and phobos are static libs.
> 
> I personally don't understand the reasons, as I don't really understand the 
> intricacies of compiling/linking, but it doesn't seem to be supported from 
> the command line that I can tell.
> 
> -Steve 
> 
> 


Cuz Dynamic lib are platfrom feature.
On Windows are DLL. Linux have shared libs, and its incompatible.



More information about the Digitalmars-d mailing list