News for hackers. Stuff that matters.
Re:Cloudflare Workers by geofft on Sunday June 02, 2019 @09:13AM (#20075229)
Fascinating, Wrangler is in Rust but installed through npm? I guess you did some market research and determined that more of your target audience would have npm installed than cargo, and then stuffed the compiled binary in an npm package or something?
Re:Cloudflare Workers by steveklabnik on Sunday June 02, 2019 @09:20AM (#20075257)
It’s also just a nicer experience; let each audience install in the way that feels natural to them. And since binary releases are being built anyway, why make npm users wait on the Rust compiler.

We’re not the first to do this, by the way. This is how ripgrep is integrated into VS: Code, in my understanding.