Drawbacks of exceptions being globally allocated

Tejas notrealemail at gmail.com
Sun Aug 15 04:32:08 UTC 2021


On Sunday, 15 August 2021 at 03:45:07 UTC, Mathias LANG wrote:
> On Sunday, 15 August 2021 at 02:09:08 UTC, Tejas wrote:
>> [...]
>
> You can't really have `@nogc` allocated Exception without 
> circumventing the type system. Personally I gave up on `@nogc` 
> just because of how inconvenient it is.
>
> [...]

You think I should bother with ```gc_stats``` or stick to 
```DRT-gcopt=verbose:2```?

I'm trying to transpile the C++98 standard library so that we 
finally have a true `@nogc` standard alternative. C++98 and not 
C++11/14/17 because DIP 1040 is stuck in limbo.

That is why I'm insisting on pure @nogc stuff



More information about the Digitalmars-d-learn mailing list