3 ms·
After one year of full-time Rust (starting early 2019, details may have changed since) for web (API) development with Actix, I would not recommend to use it for
by sylvain_kerkour 6y ago
After one year of full-time Rust (starting early 2019, details may have changed since) for web (API) development with Actix, I would not recommend to use it for any serious web project.
The language is awesome and the performances too.
BUT, there is too many things that will distract you from being productive (compared to Node.js + TS or Go): unstable libraries, compile time is atrocious, cognitive load required to read Rust is high (break your flow), toolchain (RLS auto-completion) is weak, CI/CD costs are too high. You will spend most of your time solving Rust's problems instead of your project's problems.
In my opinion Rust is good on a 10-15 years timescale. But your project need to survive 10-15 years...
You can read the details here: https://gitlab.com/bloom42/wiki/-/wikis/engineering/languages/rust https://gitlab.com/bloom42/wiki/-/wikis/engineering/language...
- hobofan 6y ago> toolchain (auto-completion) is weak Based on your link, it looks like you are specifically referring to RLS. With the newer contender rust-analyzer[0] auto-completion is very good. In combination with TabNine[1] (for Rust the Pro version is free), auto-completion is pretty amazing by now. [0]: https://rust-analyzer.github.io/ https://rust-analyzer.github.io/ [1]: https://www.tabnine.com/ https://www.tabnine.com/
- sylvain_kerkour 6y agoYes! I've added a little disclaimer because my experience was last year. The ecosystem is moving fast so some details may have changed (which is a cons for me, too unstable).
- ragnese 6y ago> which is a cons for me, too unstable Totally unlike Node, right. ;)
- jokethrowaway 6y agoThat's interesting! I had the opposite experience with Rust With 5 years in PHP, 9 years in node, a few projects in Haskell and sporadic rust usage in the last couple of years: - PHP was great until they added autoloading and everyone started using a half assed package manager - node was great until everyone started using babel and they broke requires / import - python was ok until they split the ecosystem in 2 vs 3 - Haskell keeps getting better (stack, solved record name clashes) because things are rarely broken. It's too bad adoption is limited and there's not much commercial interest - Rust is my new favourite technology, it learned package management from node and functional programming from haskell. New features have been painless and easy upgrades