3 ms·
So two things. First the actual quote: > The rewrite of the service in Rust did take longer than both the JavaScript version and the Go version: about a week t
by SCdF 6y ago
So two things. First the actual quote:
> The rewrite of the service in Rust did take longer than both the JavaScript version and the Go version: about a week to get up to speed in the language and implement the program.
So that was an hour for a programmer who knew JS, and then a week for a developer who didn't know Rust.
Secondly, to me those times are acceptable, because they don't tell the whole story. JS is very easy to quickly prototype things in, but that doesn't mean it's great to maintain. Just yesterday in our JS code we have found in some places we are writing timestamps as an epoch number, and some places we are writing them as a DateTime string. It's not as fast as native code, nor as easy to parallalise, etc.