←back to thread

160 points todsacerdoti | 2 comments | | HN request time: 0.396s | source
1. afavour ◴[] No.41904138[source]
I have sympathy with this viewpoint... but only to a certain limit. I've optimized JS codebases before now and ended up reaching for typed arrays, arraybuffers and even workers to get things running in parallel and yeah, it's possible. But I'd much rather just be doing in Rust or a similar language. And now that WASM is a realistic possibility I can.
replies(1): >>41904218 #
2. Jcampuzano2 ◴[] No.41904218[source]
The interesting part is that often you don't even need to parallelize when using a language like Go or Rust to see a speedup when compared to JS. You could start by writing everything super simple and straightforward, completely sync and already see a multiplier on the speed just due to the language being that much faster.