3 ms·
Go has a significantly smaller memory usage in all of the benchmarks, often by a factor of 10x. For most workloads, this can have a huge impact on when you nee
by unoti 12y ago
Go has a significantly smaller memory usage in all of the benchmarks, often by a factor of 10x. For most workloads, this can have a huge impact on when you need to spend more money to support your business.
- Skinney 12y agoIt also has a large impact on how often the GC is run. Less memory used, less GC performed.
- sacado2 12y agoIt also produces less garbage since, more often than not, small values are copied, not created on the heap then referenced.
- realusername 12y agoI was thinking the same thing. It depends of your needs, if you need raw performance and you have at your disposition a lot of RAM on a powerful server , Java might be a good bet. If you are building things for a normal computer, a Raspberry PI or a background service, the memory usage of Java is going to hit you badly.
- torvix 12y agowell, you don't need to run a virtual machine, so...
- igouy 12y ago"Huge differences in default memory allocation don't necessarily mean there'll be huge differences in Memory-used for tasks that require memory to be allocated." http://benchmarksgame.alioth.debian.org/play.html#whymemory http://benchmarksgame.alioth.debian.org/play.html#whymemory