|
|
|
|
|
by echelon
1312 days ago
|
|
We run https://FakeYou.com on Rust/Actix/sqlx, and I'm not missing the "batteries included" anymore. The type safety alone makes Python and Ruby a thing of the past for us. The tests being easy to refactor is really nice too. Both sqlx and diesel have DB migrations. We use them. Sqlx is actually type checked too, which is awesome. There are plenty of 3rd party auth and email packages (though we didn't use any, so I can't attest to them). It was quick enough to grow our own internal stuff, which we now reuse internally. Rust is fantastic for working with audio or video on the server. We're starting work on rendering 3D workloads headlessly. Another thing Rust can do that Python can't dream of - our servers have easy to manage background threads! We can launch async processes or have long-running background processes (infinite loops with periodic sleeps) that update singletons (Arc<Lock<T>>) of important caches, which is way faster and more durable than Redis in certain cases. Actix makes these a breeze to work with. |
|