Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by dsff3f3f3f on Sunday March 03, 2024 @12:29AM
(#39578675)
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.
[ Parent
| on HN ]
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by avinassh on Sunday March 03, 2024 @12:38AM
(#39578714)
> The Java version is really optimized and is an interesting read.
is there any similar blog post on the Java optimisations?
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by cempaka on Sunday March 03, 2024 @01:22AM
(#39578911)
Cliff Click did a walkthrough of his solution on YouTube: https://youtu.be/NJNIbgV6j-Y?si=Wj97f-Imw5nfIzF7
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by o11c on Sunday March 03, 2024 @12:49AM
(#39578758)
https://news.ycombinator.com/item?id=39467885 but it looks like there have been improvements since.
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by dsff3f3f3f on Sunday March 03, 2024 @12:44AM
(#39578728)
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.
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by neonsunset on Sunday March 03, 2024 @02:11AM
(#39579099)
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-...
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by dsff3f3f3f on Sunday March 03, 2024 @02:37AM
(#39579213)
Go is perfectly capable of all of the additional optimizations that are in the fastest Java implementation that is linked in the article.
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by neonsunset on Sunday March 03, 2024 @05:20AM
(#39579891)
Until some time ago Go did not even have inlining profitability logic in the compiler and could only inline leaf functions, something which is worse than JVM implementations could do in...2005 or so I think?
Are you sure?
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ...
by AtlasBarfed on Sunday March 03, 2024 @03:26AM
(#39579398)
Well the Go guy probably didn't read it because "java doesn't interest him"