Sunday, November 05, 2023

GoLang => Rust ?

InfluxDB drops Go for Rust but gokrazy is really cool (Changelog News #64) |> Changelog

A watchful Redditor posts /r/rust: “Looks like influxdb flipped the switch, deleted all the Go code, and is 99.5% Rust now!”

influxdb officially made the switch from Go => Rust : rust

Cofounder and CTO of InfluxDB here, so I can comment on it. As someone in the thread already mentioned, there are all the normal reasons:
  • No garbage collector
  • Fearless concurrency (thanks Rust compiler)
  • Performance
  • Error handling
  • Crates


Rust Vs Go: A Hands-On Comparison
Building a small web service
  1. Routing
  2. Templating
  3. Database access
  4. Deployment


If you're looking to get started quickly, Go might be the better choice. It offers a batteries-included development environment and is great for web apps.

However, don’t underestimate the long-term benefits of Rust. Its rich type system paired with its awesome error handling mechanisms and compile-time checks can help you build apps which are not only fast but also robust and extensible.


No comments: