druntime redesign

IGotD- nise at nise.com
Tue Mar 17 19:34:45 UTC 2020


On Tuesday, 17 March 2020 at 17:38:41 UTC, Denis Feklushkin wrote:
>
> I used version (CRuntime_Abstract) to import platform dependent 
> code.
>
> This strategy looks good, but again there is a problem that is 
> not directly related to the code: changing one module required 
> changing only 8 lines in the code, but 15 lines in build 
> scripts. And this is not all of needed changes - LDC uses its 
> own cmake build scripts.
>
> And each module will require approximately same changes. It 
> will be like a disaster. Thus, at first stage we need to clear 
> up build scripts.

This is where something like

import core.sys.<compiletime identifier>.semaphore;

would be an absolute great help.


More information about the Digitalmars-d mailing list