druntime redesign

IGotD- nise at nise.com
Tue Feb 25 00:22:19 UTC 2020


On Tuesday, 25 February 2020 at 00:05:05 UTC, Denis Feklushkin 
wrote:
>
> And at next step maybe every platforms can be implemented as 
> abstract (and "core.sys.abstract" will be renamed into 
> "core.sys").
>
> For me it looks like it can be done gradually and at the same 
> time not to break anything.
>
> How do you like this idea? Do you see missings/flaws in it?

This really opens up a second question, with your proposal with 
an abstract interface we can start to reduce the dependency on 
the C library. The C library is just there as baggage in order to 
give basic OS functionality. With an abstract interface we can 
use the OS primitives directly without going through any C 
library. This is a huge task but this offers a gradual approach.

We can have the C library as an option through the abstract 
interface if we still need it.

I see a double benefit of this.


More information about the Digitalmars-d mailing list