D wrapper classes leak memory. Next steps?
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 31 01:31:49 PDT 2014
On Friday, 31 October 2014 at 04:28:47 UTC, Marco Leise wrote:
> How would one write a big desktop application when
> a simple animation can exhaust system memory in seconds ?
Yep, it can be a long way from PoC to a quality implementation.
Write GtkD 2.0 with careful approach w.r.t. resource management.
Though, reference counting may not be a silver bullet, it still
requires you to not forget to clear unneeded resources. And it's
of no use if the reference is in an GC-managed object. Also you
can still create big resources too eagerly instead of on demand,
and hold onto them for longer than needed.
More information about the Digitalmars-d
mailing list