[Proposal] Switch to the Universal CRT on Windows.
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Jul 3 06:08:39 UTC 2026
On 03/07/2026 5:57 PM, Adam Wilson wrote:
> On Friday, 3 July 2026 at 05:18:38 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> On 03/07/2026 5:14 PM, Adam Wilson wrote:
>>> IMO, BaseD is going to become that abstraction.
>>
>> This is sounding far too platform specific, and will make it so it
>> cannot be the base most library for D.
>>
>> This is what druntime is for.
>
> And how do you avoid making it platform specific? The reason I ask is
> that DRT does not yet exist in BaseD code. DRT would be after it in the
> build chain (BaseD->DRT->Phobos). So everything you write is going to be
> platform specific.
Simple, you won't be doing these things in it.
They belong much further up the dependency graph.
Based can only really do simple stuff like bit manipulation, memory
copying byte by byte.
Trying to expand the scope of it beyond this is just going to lead to
massive problems both with binary sizes, as in 64k limit and make
porting extremely difficult to even get off the ground.
The scope is basically the same as compiler-rt builtins.
More information about the Digitalmars-d
mailing list