3 ms·
@ThePrimeTimeagen trigger ... BRazil mentioned ... New Go Billion Row Challenge w/ Great Optimizations | Prime Reacts - https://www.youtube.com/watch?v=SZ1PDS
by adeptima 2y ago
@ThePrimeTimeagen trigger ... BRazil mentioned ...
New Go Billion Row Challenge w/ Great Optimizations | Prime Reacts
- https://www.youtube.com/watch?v=SZ1PDS7iRU8 https://www.youtube.com/watch?v=SZ1PDS7iRU8
- https://r2p.dev/b/2024-03-18-1brc-go/ https://r2p.dev/b/2024-03-18-1brc-go/
Spoiler:
SwissMap: A smaller, faster Golang Hash Table
- https://www.dolthub.com/blog/2023-03-28-swiss-map/ https://www.dolthub.com/blog/2023-03-28-swiss-map/
- https://github.com/dolthub/swiss https://github.com/dolthub/swiss
Want to see Paul Allen's implementation in Rust, Zig, Mojo ... and even Bun.sh, Deno.com
- adeptima 2y ago... previously https://github.com/shraddhaag/1brc https://github.com/shraddhaag/1brc
- neonsunset 2y agoTwice as slow as top submissions in C# and C++ which is still pretty good for Go but a likely indicator that memory here has become the major bottleneck. https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-fastest-on-linux-my-optimization-journey/ https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-...
- adeptima 2y agothanx! 2.9 seconds (4.5 GB/s using .NET 8 on my Xeon Mac)
- pjmlp 2y agoIn theory it could be improved, as Go also has most tools for that, with exception of having to manually dive into SIMD, as discussed in previous threads. Even though I am not a big fan of Go, I feel that in the spirit of the guild of systems stuff with GC languages it always deserves some cheering nonetheless.