3 ms·
In my experience with Rust so far I find that I'm slower when I write Rust code than, say, C. However I find Rust code a lot simpler to maintain. I can offload
by simias 10y ago
In my experience with Rust so far I find that I'm slower when I write Rust code than, say, C. However I find Rust code a lot simpler to maintain. I can offload some of the cognitive load of C to the borrow checker (who owns what? Should I free this pointer? How should I tell this method what's the length of this buffer? Can this function fail, and if so how?)
For the same reason I also find it easier to dive into 3rd party Rust code and modify it. In general you don't have to worry about hidden side effects, global state, weird calling conventions and similar things with Rust.