3 ms·
Personally I moved over to Rust for as much as I can. I still use TS on frontend (as frontend framework in rust are not quite there yet when compared to someth
by jokethrowaway 4y ago
Personally I moved over to Rust for as much as I can.
I still use TS on frontend (as frontend framework in rust are not quite there yet when compared to something like solid start - perseus is getting there though) but I definitely use any freely when I'm in a hurry.
That's exactly what I don't like about TS: it enables developer to bypass safety making the whole thing not very safe. You can't trust your dependencies as you normally do with Rust (unless your dependencies specifically opt out with unsafe - there is still deps vetting needed, but it really hasn't been a problem).
Is it worth it? Before swc I would say no, with swc (typescript compiler written in Rust) the perf hit and DX is not too bad and I'd say yes.