3 ms·
The One Billion Row Challenge in Rust: Part 1
- deleted 2y ago[deleted]
- PaulHoule 2y agoPeople got a lot faster with complex Java solutions.
- neonsunset 2y agoAnd even faster with C# and C++ ones :) https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-fastest-on-linux-my-optimization-journey/#results https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-... Java is not particularly good at this kind of number crunching tasks, where-as in Rust it's a matter of adopting C#/C++ implementation to the language specifics - the necessary pieces are there.
- baarse 2y agoHere is the fastest Java result on the same machine with 48 cores, https://github.com/REASY/1brc?tab=readme-ov-file#fastest-java-solution-calculateaverage_thomaswuejava https://github.com/REASY/1brc?tab=readme-ov-file#fastest-jav... JVM: 2.133 ± 0.236 1.857 2.586 Native Image: 0.4121 ± 0.0051 0.4019 0.4163 It is very fast :)