That doesn't surprises me at all.

A couple years ago I worked for a company where I created prototypes in Go 
and production code in C++, using the same architecture and algorithms. Go 
version usually ran 15% faster. After some work both versions could be 
tuned to run faster, but it amazed me to find that just plain Go code was 
faster than the corresponding C++ code.

On Thursday, February 28, 2019 at 2:05:55 PM UTC-3, Isaac Gouy wrote:
>
> "We reimplemented elPrep in all three languages and benchmarked their 
> runtime performance and memory use. Results: *The Go implementation 
> performs best*, yielding the best balance between runtime performance and 
> memory use. While the Java benchmarks report a somewhat faster runtime than 
> the Go benchmarks, the memory use of the Java runs is significantly higher."
>
> proggit discussion 
> <https://www.reddit.com/r/programming/comments/avsfc6/performance_comparison_of_go_c_and_java_for/>
>
> article <https://doi.org/10.1101/558056>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to