Trying to use Mir ion, its a perfect example of the failure of D's attribute system

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Jan 19 02:51:49 UTC 2023


On 19/01/2023 3:10 PM, Walter Bright wrote:
> You can pretty much not use any attributes if you use none (including 
> not using @safe).
> 
> We can help if you can present specific cases.

If you call code that is annotated, that then calls your code this is 
not true.

Callbacks, hooks on types as used with serialization ext. don't really 
work here currently.

There is a reason why I've long wanted @localnogc, but yeah... pure and 
@safe also need local versions too.


More information about the Digitalmars-d mailing list