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

Bruno Medeiros brunodomedeiros+spam at com.gmail
Fri Sep 28 15:17:42 PDT 2007


Craig Black wrote:
> 
> "Patrick Kreft" <patrick_kreft at gmx.net> wrote in message 
> news:fdjoh7$rdk$1 at digitalmars.com...
>> Steven Schveighoffer schrieb:
>>> "Patrick Kreft" wrote
>>>> Cuz Dynamic lib are platfrom feature.
>>>> On Windows are DLL. Linux have shared libs, and its incompatible.
>>>
>>> I'm sorry, no, that argument falls flat on its face.
>>>
>>> 1. Other languages have solved this problem
>>> 2. DMD.exe is "incompatible" with dmd the linux compiler, so how do 
>>> you explain the co-existance of those?
>>>
>>> -Steve
>>
>> Hmm, i didnt get what do u wanne say. Your previous speaker complain 
>> about not portable dynamic library. DLL arent running on Linux. CLR 
>> and Java are others situation. That is why the most lib are static 
>> libs, same situation like C++.
> 
> It is true that load time D dynamic libraries would be different on 
> linux/windows.  However, that does not prevent us from being able to 
> compile a DLL on Windows and an SO on linux.  That would be fine.  What 
> Steven and I are trying to understand is why it seems that can't be done 
> with DMD.

I think the problems with DLL usage and D were discussed extensively 
between Kris and Walter. Something about objs, DLL, COMDATS and 
templates, but I don't recall exactly what the problem was. I think this 
thread is were they discussed that:
http://www.digitalmars.com/d/archives/digitalmars/D/Lib_change_leads_to_larger_executables_49170.html#N49204
If someone could post a short, understandable summary of what the 
problem is, it would be nice. Even nicer would be to document that 
somewhere, such as the wiki.

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list