April 28, 2021 General » Re: Finalizers, Destructors, RAII, GC | |||
|---|---|---|---|
| |||
Split the finalizer from the destructor and make the finalizer an interface. -Alex | |||
April 28, 2021 General » Re: Finalizers, Destructors, RAII, GC | |||
|---|---|---|---|
| |||
But it is also memory unsafe isn't it? If @safe is to be a... | |||
April 28, 2021 General » Re: Finalizers, Destructors, RAII, GC | |||
|---|---|---|---|
| |||
Yes and I think Andrei defended the idea years ago, and it was shutdown by... | |||
April 28, 2021 General » Finalizers, Destructors, RAII, GC | |||
|---|---|---|---|
| |||
...that people might write a class for RAII and then allocate in on the GC... | |||
April 27, 2021 General » Re: Tasks, actors and garbage collection | |||
|---|---|---|---|
| |||
...You have to write frameworks differently for RAII and non-deterministic destruction... So in practice... | |||
April 10, 2021 General » Re: World needs a safe language | |||
|---|---|---|---|
| |||
...runs(dmd -vgc, ldc -nogc flags), use RAII or whatever for memory allocations, make your... | |||
April 09, 2021 Issues » [Issue 21693] extern(C++) class instance dtors are never called, breaking RAII | |||
|---|---|---|---|
| |||
...extern(C++) class to destroy Ensures proper RAII behaviour for stack allocated instances but doesn... | |||
April 09, 2021 Issues » [Issue 21693] extern(C++) class instance dtors are never called, breaking RAII | |||
|---|---|---|---|
| |||
...extern(C++) class to destroy Ensures proper RAII behaviour for stack allocated instances but doesn... | |||
April 08, 2021 Issues » [Issue 21693] extern(C++) class instance dtors are never called, breaking RAII | |||
|---|---|---|---|
| |||
...extern(C++) class to destroy Ensures proper RAII behaviour for stack allocated instances but doesn... | |||
March 24, 2021 Issues » [Issue 21693] extern(C++) class instance dtors are never called, breaking RAII | |||
|---|---|---|---|
| |||
...extern(C++) class to destroy Ensures proper RAII behaviour for stack allocated instances but doesn... | |||
Copyright © 1999-2021 by the D Language Foundation