Resident memory usage dropped from 87MB down to a mere 3MB, a 29x reduction! The resulting docker image shrunk from 668MB to 4.3MB, a 155x reduction!
- Where can you deploy a Web App built in Go?
- Currently, which are the most common use cases of Go in the real life development?
Generics may well be added at some point. We don't feel an urgency for them, although we understand some programmers do.
Generics are convenient but they come at a cost in complexity in the type system and run-time. We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it. Meanwhile, Go's built-in maps and slices, plus the ability to use the empty interface to construct containers (with explicit unboxing) mean in many cases it is possible to write code that does what generics would enable, if less smoothly.
The topic remains open. For a look at several previous unsuccessful attempts to design a good generics solution for Go, see this proposal.