View previous topic :: View next topic |
Author |
Message |
larsivi Site Admin
Joined: 27 Mar 2004 Posts: 453 Location: Trondheim, Norway
|
Posted: Thu Sep 28, 2006 9:30 am Post subject: Documentation on features of DDL |
|
|
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 |
|
Back to top |
|
|
Gregor
Joined: 05 May 2006 Posts: 72 Location: Portland, OR
|
Posted: Thu Sep 28, 2006 12:02 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Fri Sep 29, 2006 10:37 am Post subject: |
|
|
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 |
|
|
|
|
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
|