[OT] Walter's anecdotes

Mark mt.rzezniczak at gmail.com
Mon Aug 9 07:25:20 UTC 2021


On Monday, 9 August 2021 at 01:03:55 UTC, rikki cattermole wrote:
> On 09/08/2021 12:56 PM, Mark wrote:
>> Just to add to that. Does DMD use the standard library 
>> (phobos)? It
>
> No.
>
>> doesn't so any optimizations in phobos won't get passed down 
>> to DMD because it uses a small run down library that no one 
>> really keeps up to
>
> That bit of code is probably older than me... (and that's a 
> good thing).

Yes it is good for legacy, it is robust. But because the code is 
so old, no one keeps it up to date and optimized like they are 
doing with phobos. So it is also a weakness.

>> date. DMD should start using phobos I think. That might be a 
>> good place to start with making DMD faster.
>
> Unlikely to improve performance, the things that are slow 
> should not be in phobos. All it does is introduce new 
> requirements for bootstrapping it which is rather bad news long 
> term.

So how do we make it easier long term while still working on it 
short term?




More information about the Digitalmars-d mailing list