[–] PaulHoule 2y ago ↗ People got a lot faster with complex Java solutions. [–] neonsunset 2y ago ↗ And even faster with C# and C++ ones :)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 ago ↗ Here is the fastest Java result on the same machine with 48 cores, 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.4163It is very fast :)
[–] neonsunset 2y ago ↗ And even faster with C# and C++ ones :)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 ago ↗ Here is the fastest Java result on the same machine with 48 cores, 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.4163It is very fast :)
[–] baarse 2y ago ↗ Here is the fastest Java result on the same machine with 48 cores, 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.4163It is very fast :)
4 comments
[ 2.8 ms ] story [ 25.5 ms ] threadhttps://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.
JVM: 2.133 ± 0.236 1.857 2.586 Native Image: 0.4121 ± 0.0051 0.4019 0.4163
It is very fast :)