Java vs. C, a totally unscientific microbenchmark

Java vs. C — inspired by an interview question, I wrote a little bit of sample code to create an array of a billion random integers, and either (A) take the sums as I go, or (B) go back over and sum it on a second pass. In C (cygwin, gcc 6.4.0 64-bit): – summing… Continue reading Java vs. C, a totally unscientific microbenchmark