top | item 39578675

(no title)

dsff3f3f3f | 2 years ago

The Java version does additional optimizations that his Go version doesn't do and he mentions that at the end of the post. The Java version is really optimized and is an interesting read.

discuss

order

neonsunset|2 years ago

The more accurate statement would be is Go implementatation is incapable of accessing optimizations that exist in Java and then Java is incapable of optimizations performed by C# and C++ implementations.

See https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-...

dsff3f3f3f|2 years ago

Go is perfectly capable of all of the additional optimizations that are in the fastest Java implementation that is linked in the article.

avinassh|2 years ago

> The Java version is really optimized and is an interesting read.

is there any similar blog post on the Java optimisations?

dsff3f3f3f|2 years ago

Not that I know of. I just looked at the code and the commit history but a more in depth article would certainly be interesting.

AtlasBarfed|2 years ago

Well the Go guy probably didn't read it because "java doesn't interest him"