Re: Feedback on Átila's Vision for D

rikki cattermole rikki at
Sun Oct 20 03:45:55 UTC 2019

On 20/10/2019 4:41 PM, Walter Bright wrote:
> On 10/19/2019 6:52 PM, Nicholas Wilson wrote:
>> On Saturday, 19 October 2019 at 23:38:51 UTC, aliak wrote:
>>> Plus, IIRC dmd is a prime example where splitting is not happening 
>>> because of "reasons". So it's not always doable either.
>> Those reasons are largely "Walter" and are unrelated.
> I know I'm not popular with this idea, but packagizing dmd is akin to 
> painting a rusty/dirty car without prepping the metal first.

It is on my list of things that need to happen for dmd-fe as a library 
to be "usable".

Surely the lexer and its support infrastructure can be separated out 
into its own sub package?

> What I've been doing recently is a series of PRs aimed at OutBuffer, 
> Array, and StringExp to:
> 1. use [] instead of * so that array bounds checking can be performed
> 2. use [] to reduce dependency on terminating 0s
> 3. make the data allocation private
> 4. prevent direct access to internal memory management
> 5. add debug code to ensure no dangling pointers

I saw that, tis' good work that!

More information about the Digitalmars-d mailing list