-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
In this video I present two example scenarios both implemented in JavaScript and Rust. In the first example, Rust's strictness shines and enables clear and robust code. The second example, a logger middleware, demonstrates some of Rust's weaknesses. Rust's middleware example is taken from David Pedersen's video on tower services: https://youtu.be/16sU1q8OeeI My Neovim config is here: https://github.com/David-Kunz/vim
Well done with the video in general. I can agree that Rust can cause some extremely verbose trait impls and types but usually that only happens when you write library code (especially with async). I think, you're making your life unrealistically hard with the example used in your video. It's not surprising that Rust appears complicated when you use a low level library like hyper to do the job. In reality you would have written something like this by using a web framework like axum, rocket or actix-web.
To be fair Rust async is indeed very complicated and full of pain. Even if you pick high-level libraries you will still face issues. I've spent more than hour fighting with borrowchecker and compiler bugs (for example this one bite me very hard) with help of some quite experienced dev friends of mine.