|
|
|
|
|
by __s
1322 days ago
|
|
I rewrote a card game engine, openEtG, from JS to Rust. It was a pretty 1:1 rewrite. 2x improvement even when I was using HashMap everywhere. I've since entirely removed HashMap, which has only further improved perf As a bonus, the code is now statically typed |
|
If JS is only half the speed of a compiled language like Rust, that shows remarkably optimized performance.