DMD workforce contribution

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Tue Nov 8 03:04:34 PST 2011


Yes. The idea is awesome. Being able to embed almost all of D's
constructs in a shared library is a great idea.
Unfortunately it stopped it's development right before it would
actually become useful.

Why don't we take it, refactor it for Phobos and include it?

On Tue, Nov 8, 2011 at 2:32 PM, Don <nospam at nospam.com> 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.
>


More information about the Digitalmars-d mailing list