throwa990323249
throwa990323249 on Hacker News
"Thus, while our proof of RH might look too short to be true, it really involves at least two rather long papers [6, 8], not to mention [9]."
https://play.golang.org/p/cjmflMBhF7
Why not learn the language before criticizing it?
It offers lots of abstractions Java didn't/doesn't: Lots of concurrency features, Ad hoc interfaces, Closures, Stack resizing, Type switches, Multiple returned values, Slices.
In any case the 3.3 branch seemed good when I compiled it last, it'd be nice to see a partial release.
Consider a graph which can have nodes added, and edges added or removed. Say you want to keep track of the part of the graph that is connected to a node.
You can't know ahead of time which references can be weak. So all must be strong and you will leak memory when a circular part of the graph becomes disconnected.
In general, garbage collection is a difficult problem that solves a lot. You can't trivially do without it. It's not just a tool of laziness.
It's something I find annoying about some ARC/Rust enthusiasts: their belief that because they haven't found need for a GC, that there isn't one.