3 ms·
cURL is written in C, and also (definitionally) IO-bound so the benefits of rewriting aren’t obvious perf-wise. JS linters running in Node are mostly CPU-bound
by muglug 3y ago
cURL is written in C, and also (definitionally) IO-bound so the benefits of rewriting aren’t obvious perf-wise.
JS linters running in Node are mostly CPU-bound. You can get an order-of-magnitude improvement from writing those tools in Rust.
- andrewmcwatters 3y agoThis is being pedantic. That's not the point: do you have to literally abandon the project instead of rewriting it and leaving all your users out to dry? Would you get divorced from your spouse if something minor wasn't working out, too?
- scns 3y agoWaiting minutes for your JS based toolchain, several time each day is not something minor! I learned Reason with ReasonML and got spoiled. Builds there took fractions of a second. First time with TypeScript made we wanna cry. Some teammates disabled the pipeline before pushing, guess what happened.
- awestroke 3y agoWho's abandoning their project? Did all eslint and prettier maintainers abandon those projects to work on Rome?
- muglug 3y agoNobody is married to Node.
- makapuf 3y agoYou can't rewrite something complex. If you try to rewrite it you'll not achieve feature parity so it will be something different at least when you're building it. And you will perpetually chase your target. You MAY try to build something somewhat compatible starting small (not a replacement) or you can fork and gradually diverge
- 12345hn6789 3y agoThis is typical FE tech stack engineering. Invent new solutions to solved problems and sell solution as next hot thing. And what proceeds is what causes people to dread FE work.