Rust Survey 2021 Results

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • windows-rs

    Rust for Windows

    Nope, I was speaking about this,

    https://github.com/microsoft/windows-rs/tree/23ff38bbbf46fb5...

    Apparently since last November they decided to replace it with another approach, so my information is outdated.

  • cargo-watch

    Watches over your Cargo project's source.

    I have some time between contracts and I've found myself learning rust.

    Pros:

    - Sum types. I am an OO apologist, but trying to use classes in C++ is an exercise in frustration. Sum types map very well to union types and are a better fit for systems programming.

    - Unit tests built right into the language - it seems like a small thing but it's a hassle in most languages to choose a library, set it up etc.

    - The above, combined with cargo-watch [0]. With the right flags, you hit save, and your tests all run. It's a god-send.

    - Ecosystem is pretty big. I can find most things I need.

    - Discord channel is nice. I was put off a bit by the Rust Evangelism Strikeforce back in the day, but so far everyone is pretty chill.

    - Options & Results in the standard library. All languages should have this

    Cons:

    - I find it hard to transfer knowledge of C to rust, because they use different terminology.

    - Docs can be confusing to read because every method on collections like `map` or `filter` returns its own Trait. People have explained why this is to me a couple of times but I still haven't gotten it through my head.

    - You still have to think about memory and pointers. Not always a bad thing, but it is an extra dimension when solving a problem.

    Overall I'm powering through. I'm hoping to get to a point where Rust is an obvious choice for anything that involves finer control of memory.

    [0] https://github.com/watchexec/cargo-watch

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts