3 ms·
But do these runtimes allow circular references across language boundaries?
by amelius 5y ago
But do these runtimes allow circular references across language boundaries?
- pjmlp 5y agoHow do you think something like mixing .NET and COM/UWP libraries work? By mixing GC with the reference counting of pining such references. Naturally you can get the reference count wrong. Still much better than just doing plain old manual memory management, as those are corner cases, while with manual memory management every allocation is a possible leak. Incidently this scenario was exacly one of the ones presented at why Linear Haskell (JVM/Haskell interoperability) by Tweag at the recent functional programming languages conference.