Hello,
in Java since JDK7 or so you can have off heap memory (f.ex. see
article). This way you can put large amounts of data on the heap not being controlled by the GC (that is not causing memory to run full). I thought it would be kind of nice to have this in Go as well for special purposes, which in the times of BigData might not be that special any more, like large in-memory caches (see Apache Cassandra, Joss Infinispan, Hazelcast), some little in-memory Hadoop, etc.
The problem with the Go GC is also at the moment that you have no way to tell when the heap is running full. When it does so, the runtime crashes and you are basically sold. So putting MB of data on the heap is too risky. But the idea of off heap memory is not to work around GC issues till the GC has become more mature. For BigData applications and certain data-intensive server-side applications such a feature would be useful. Any chance to see something like that in Go one day?
Regards, Oliver