4 pointsby ngrilly9 days ago1 comment
  • Alex-Programs9 days ago
    > Rust → Memory safety with zero overhead (Mozilla)

    I think Rust is interesting because while a lot of its initial appeal came from memory safety, a lot of the usage now is not as a C++ replacement but as a Go/JS/Java replacement. It introduced people to algebraic type systems, its excellent tooling, etc, and now it's moved beyond its initial appeal. When I use other languages I miss Result<>, Option<>, and the fact that everything - from if statements, to matches, to simply {} - is an expression.

    There are places where I use it as a C/C++ replacement - STM32 firmware, for example - but I also use it for accelerating my webextension code with WASM and as a CRUD backend.

    • ngrilly9 days ago
      I agree. I'm seeing that trend as well (teams using Rust instead of Go, JS, Java). But only for teams that are very experienced and really passionate about programming languages and software engineering (typically most of us here on HN). I'm under the impression that the majority is sticking to the usual tools — Java, C#, Python, Go, JS/TS — and not ready to use Rust.