News for hackers. Stuff that matters.
Re:On the impossibility of composing finalizers and FFI by epcoa on Tuesday February 27, 2024 @10:18AM (#39525083)
Yes, and? It has mechanisms with well defined semantics such as GCHandle and KeepAlive. That’s literally what it is there for so it makes this: “or attempt to manually extend the lifetime of a finalizable object, and then pray the compiler and GC don’t learn new tricks to invalidate your trick” a non starter.

It’s not a trick, it’s a documented interface.

There are no comments on this comment yet.