FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Documentation on features of DDL

 
Post new topic   Reply to topic     Forum Index -> DDL - D Dynamic Libraries
View previous topic :: View next topic  
Author Message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Thu Sep 28, 2006 9:30 am    Post subject: Documentation on features of DDL Reply with quote

It has come to my attention that quite a few don't really get the point of DDL, and most likely this is because it isn't very easy to see the more advanced features, like compile time reflection, finding classes that implements an interface, calling of the ctor, etc.

For non-Windows-users, the problems with .dll's (garbage collection and exceptions cross binary boundaries) are moot, because this is a problem with how programs are loaded on Windows. Using gdc to compile D programs and link .so's, you'll get D programs where garbage collection and exceptions just work. Thus the other features of DDL needs to get stronger attention, for instance in the FAQ and the About DDL. Also, talking about DLL and SO in the same sentence might not always be technical correct Smile
Back to top
View user's profile Send private message
Gregor



Joined: 05 May 2006
Posts: 72
Location: Portland, OR

PostPosted: Thu Sep 28, 2006 12:02 pm    Post subject: Reply with quote

FYI:

If you want to make a statement aimed a UNIX users, start with your regular statement aimed at Windows users, then remove every element you added that makes you go "ARGH, DLLS SUCK". As it turns out, .so files do /not/ suck, and just about everything Microsoft did wrong in usinging COFF to make PE AT&T did right when they abandoned COFF for ELF Smile
Back to top
View user's profile Send private message AIM Address
pragma



Joined: 28 May 2004
Posts: 607
Location: Washington, DC

PostPosted: Fri Sep 29, 2006 10:37 am    Post subject: Reply with quote

Excellent points all.

I'll make a point of touting the higher-level stuff as it comes online. I noticed that out in the DNG, the lib is really going to need this kind of stuff (easier reflection, etc) in order to gain wider adoption.

On my next doc pass, I'll see about divorcing the sentiments leveled at .dll files from .so files - as Lars is correct, they don't apply.
_________________
-- !Eric.t.Anderton at gmail
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DDL - D Dynamic Libraries All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group