But if we have garbage collection, we can store our large data structures once with whatever type is required, then dynamically create wrappers that reinterpret it as any subtype that’s required. We pay the cost of GC and indirect control flow for accessors but that’s all.
-
-
Compare to the update regimen associated with web browser security flaws, compared to the lax attention paid to memory leaks.
-
We can all agree that dangling pointers are the worst. Which is why languages like Rust and C# exist in the first place. We just disagree on which bullet to bite instead.
- 6 more replies
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.