News for hackers. Stuff that matters.
Re:On the impossibility of composing finalizers and FFI by light_hue_1 on Tuesday February 27, 2024 @06:43AM (#39522898)
In Haskell you would write a newtype that keeps a pointer back to blob along with the data that's being returned. This makes the result perfectly correct. There's nothing impossible here. You could even write yourself a small function to access the blob that ensures the results are always wrapped this way.

There are no comments on this comment yet.