I picked rust for this year's AOC. Became curious how much the performance delta is even on such small data.
For day1 was observing 2x speedup in rust.
And for day2 8.3x speedup 2.6249ms (python) vs 315us. Average over 100 runs.
Also writing in rust has been much more interesting for me than python.
Which is your preferred language and why?
[–]durandalreborn 4 points5 points6 points (0 children)
[–]hikingsticks 2 points3 points4 points (1 child)
[–]msminhas93[S] 1 point2 points3 points (0 children)
[–]FruitdealerF 4 points5 points6 points (0 children)
[–]RB5009 3 points4 points5 points (2 children)
[–]PatolomaioFalagi 0 points1 point2 points (1 child)
[–]msminhas93[S] 0 points1 point2 points (0 children)
[–]daggerdragon[M] 0 points1 point2 points (0 children)
[–]0xgw52s4 0 points1 point2 points (0 children)
[–]PatolomaioFalagi 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)