Things that make writing a clean binding system more difficult

Seb via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 4 10:33:13 PDT 2016


On Thursday, 4 August 2016 at 12:44:49 UTC, Manu wrote:
> On 29 July 2016 at 16:51, Jonathan M Davis via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>> [...]
>
> Bingo! But it's much deeper than that. ref is a disaster. Use 
> it to
> any real extent; in particular, binding (or fabricating 
> bindings) to
> extern(C++) code, and you will see just how fast it breaks down 
> in the
> most horrific of ways (almost always resulting in text mixin). 
> I would
> fork D just to fix ref!

I might sound stupid, but there is a better way than forking:

1) Work out a _good_ D improvement proposal and submit it for 
review to https://github.com/dlang/DIPs (exact process is 
explained over there)
2) Once accepted, send a PR


More information about the Digitalmars-d mailing list