Re:Performance Showdown: Rust vs Javascript (2020)
by yesbabyyes on Friday February 12, 2021 @11:27AM
(#26115347)
I did some of the Advent of Code 2020 challenges in both js and Rust. For one of them, the js solution took minutes to finish, while the same algorithm in rust finished in <200 ms. I could probably have optimized the js solution to remove a bunch of allocations- it must have been the gc-but it was really surprising with the speed-up.
[ Parent
| on HN ]
There are no comments on this comment yet.