News for hackers. Stuff that matters.
Re:Java vs. Go performance by unoti on Friday April 24, 2015 @03:14AM (#9431834)
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.
Re:Java vs. Go performance by Skinney on Friday April 24, 2015 @04:04AM (#9431974)
It also has a large impact on how often the GC is run. Less memory used, less GC performed.
Re:Java vs. Go performance by sacado2 on Friday April 24, 2015 @04:46AM (#9432080)
It also produces less garbage since, more often than not, small values are copied, not created on the heap then referenced.
Re:Java vs. Go performance by igouy on Friday April 24, 2015 @12:58PM (#9434540)
"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

Re:Java vs. Go performance by realusername on Friday April 24, 2015 @05:05AM (#9432129)
I 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.
Re:Java vs. Go performance by torvix on Friday April 24, 2015 @08:50AM (#9432950)
well, you don't need to run a virtual machine, so...