Search

April 28, 2021
General »
Split the finalizer from the destructor and make the finalizer an interface.

-Alex
April 28, 2021
General »
But it is also memory unsafe isn't it?

If @safe is to be a...
April 28, 2021
General »
Yes and I think Andrei defended the idea years ago, and it was shutdown by...
April 28, 2021
General »
...that people might write a class for RAII and then allocate in on the GC...
April 27, 2021
General »
...You have to write frameworks differently for RAII and non-deterministic destruction...

So in practice...
April 10, 2021
General »
...runs(dmd -vgc, ldc -nogc flags), use RAII or whatever for memory allocations, make your...
April 09, 2021
Issues »
...extern(C++) class to destroy

  Ensures proper RAII behaviour for stack allocated instances but doesn...
April 09, 2021
Issues »
...extern(C++) class to destroy

  Ensures proper RAII behaviour for stack allocated instances but doesn...
April 08, 2021
Issues »
...extern(C++) class to destroy

  Ensures proper RAII behaviour for stack allocated instances but doesn...
March 24, 2021
Issues »
...extern(C++) class to destroy

  Ensures proper RAII behaviour for stack allocated instances but doesn...
3 4 5 6 7 8 9 10 11 12 13 14
Next ›   Last »