DMD workforce contribution

Jacob Carlborg doob at me.com
Tue Nov 8 04:06:05 PST 2011


On 2011-11-08 11:32, Don wrote:
> On 08.11.2011 10:40, Gor Gyolchanyan wrote:
>>> I think that a programming language that declares itself as a "System
>>> Language" should be able to build and use native shared libraries.
>>
>> You're completely right. Just as D supports extern(C) to support
>> C-function, it should support C-libraries. But this doesn't mean, that
>> this is the way it should work always.
>> At the end, all shared libraries are always usable, because they need
>> a C API and D can interface with C APIs. There can even be neat
>> high-level wrappers around those APIs to ease the access to C shared
>> libraries.
>> But I think encouraging programmers to wrote _new_ libraries in _D_
>> using those shared library formats is a bad idea. Too many
>> workarounds, too much danger.
>>
>>> There is the DDL project with that approach:
>>> http://www.dsource.org/projects/ddl/wiki
>>
>> I knew about DDL a long time ago. But it's D1 only and doesn't seem to
>> be willing to add D2 support. If and when it supports D2, I'll take a
>> look at it, test it for various traits and if it passes the tests I'll
>> make a pull request to add it to Phobos.
>
> Last serious update seems to be 4 years ago. D2 barely existed back then.

There's a fork available that is a bit more recent: 
http://h3.gd/devlog/?p=12

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list