3 ms·
So far working with Rust has been great. We haven't had to build any special build tooling. The build times are greater than Go, but we're able to keep things m
by pauldix 6y ago
So far working with Rust has been great. We haven't had to build any special build tooling. The build times are greater than Go, but we're able to keep things manageable by breaking the project into separate Crates (all still within the same repo and directory tree), which can take advantage of incremental compilation.
Rust has the memory control we're looking for with the safety of a higher level language. For programming that requires concurrency, as most server software including this project does, it's fantastic as the compiler will prevent data races. The way Rust has you deal with errors also makes it easier to write correct code at compile time rather than finding problems at runtime when they can be harder to track down.
Most of what I wrote here a few years ago still feels true:
https://www.influxdata.com/blog/rust-can-be-difficult-to-learn-and-frustrating-but-its-also-the-most-exciting-thing-in-software-development-in-a-long-time/ https://www.influxdata.com/blog/rust-can-be-difficult-to-lea...
I also talk about using Rust in the announcement blog post here: https://www.influxdata.com/blog/announcing-influxdb-iox/ https://www.influxdata.com/blog/announcing-influxdb-iox/