D vs Java

kris foo at bar.com
Wed Mar 22 01:39:45 PST 2006


Kyle Furlong wrote:
> kris wrote:
> 
>> Walter Bright wrote:
>>
>>> "kris" <foo at bar.com> wrote in message news:4420779B.6020604 at bar.com...
>>>
>>>> It would be more interesting if this were entitled D vs C++. After 
>>>> all, isn't that (as Mattias indicated) the target "competition" ?
>>>
>>>
>>>
>>> We've already had those threads in spades <g>. 
>>
>>
>> True <g>
>>
>> Did anyone mention DDL? Given that it would make D the only compiled 
>> language I've heard of with a runtime link-loader, that would seem to 
>> have some bearing?
> 
> 
> Just what I was thinking. Can DDL make compile once, run everywhere 
> possible? (assuming that is an idiom we would like to support)

No, DDL does no such thing. Nor is it intended to (instead, it's 
deliberately machine-architecture specific).

Functionality exposed by DDL is roughly the equivalent of a Java 
class-loader, but for pre-optimized native object-code exposing a D 
callable interface. This is a highly unusual attribute for native code 
runtime, and is (in my opinion) one of the most important assets for the 
D language. DDL also has the potential to support full reflection.



More information about the Digitalmars-d mailing list