Earlier quoted context omitted.
I’m skeptical of this finding out at least it’s generalizability. I know (and like) Rust a fair bit better than JS, but I would be surprised if I could build a nontrivial web app in Rust faster than Node. And that’s without using TypeScript. YMMV, but I’d be curious to hear from others with experience with both languages.
I've used Rust for two years and still regularly get stumped. Recently, I wanted to maintain a map of routes to futures so that multiple in-flight requests could await the same future while it fetches from disk. The Javascript version took about one minute. Using Rust doesn't give you free performance wins, especially not when working with async code where lifetimes actually get hard. Any time you're carrying around…
What did you finally come up with for your router impl in Rust?