A JavaScript/TypeScript engineer shares their experience learning Rust over six months while maintaining a production game server backend. Key highlights include praise for Cargo's reliability compared to the JS ecosystem, appreciation for Rust's strict compiler with clear error messages, the elegance of Result-based error handling versus try/catch, and the challenges of concurrency with Mutex/RwLock deadlocks. The author concludes Rust is a mature, performant language worth considering for backend projects, but recommends JS/TS developers start with small CLI tools before tackling concurrent servers.

9m read timeFrom kittygiraudel.com
Post cover image
Table of contents
OverviewYou Cargo girl!Embracing the compilerError handling done rightLocks and deadlocksWhat’s next?
6 Comments

Sort: