News for hackers. Stuff that matters.
Re:The absurd cost of finalizers in Go by bkail on Monday May 22, 2023 @08:36AM (#36030614)
> Java even plans to remove them from the language

The "Alternative techniques" section of the JEP suggests to use Cleaner.register, which was created as a replacement and has a similar API to Go's runtime.SetFinalizer.

https://docs.oracle.com/en/java/javase/20/docs/api/java.base...

There are no comments on this comment yet.