my d blog has idea of effect system to replace @nogc etc

Guillaume Piolat first.last at spam.org
Tue Aug 16 14:57:04 UTC 2022


On Monday, 15 August 2022 at 15:08:01 UTC, Adam D Ruppe wrote:
> In my blog this week, I described an idea I've had percolating 
> in my brain for a bit about a user-defined effect system that 
> could potentially move nogc, safe, pure, etc to library aliases 
> - which would let you combine them as a fun bonus - among other 
> things:
>

I know it isn't really related, but currently on DUB there is 4 
different @nogc nothrow string library, -betterC or not, friendly 
licence or not, with various tradeoffs, and I'm about to add 
another one.

D is balkanized in concentric circles:
- -betterC D
- disabled runtime D
- @nogc D
- full D

And more basic building blocks are being made for the least 
restricted part of D, such as allocators and concurrency. At a 
more basic level, we cannot share code.



More information about the Digitalmars-d-announce mailing list