Rust 2024 the Year of Everywhere?

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

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

    Python library to decode StarCraft II replay protocols

  • vm = virtual machine/memory?

    I'm porting this Python library to Rust: https://github.com/Blizzard/s2protocol.

    For the shitty, first pass prototype code I've written so far I've seen a ~30-40x speedup compared to the Python implementation and a ~2x speedup compared to a Go implementation by someone else: https://github.com/icza/s2prot.

    That is why I chose Rust over a GC language like Go. It's a lot faster out of the box, even without me having a strong understanding of memory operations.

  • s2prot

    Decoder/parser of Blizzard's StarCraft II replay file format (*.SC2Replay)

  • vm = virtual machine/memory?

    I'm porting this Python library to Rust: https://github.com/Blizzard/s2protocol.

    For the shitty, first pass prototype code I've written so far I've seen a ~30-40x speedup compared to the Python implementation and a ~2x speedup compared to a Go implementation by someone else: https://github.com/icza/s2prot.

    That is why I chose Rust over a GC language like Go. It's a lot faster out of the box, even without me having a strong understanding of memory operations.

  • 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.

    InfluxDB logo
  • hylo

    The Hylo programming language

  • > I wonder if there is a subset of Rust that can be extracted someone into a new, minimal language with the core benefits.

    That is basically what Val aims to do:

    https://www.val-lang.dev/

    It has Rust-style ownership to guarantee memory safety, but without the complexity of lifetimes.

    There is still a borrow-checker-like component, but I believe it should be much simpler than Rust's. In particular it infers how to call functions automatically (see "method bundles" and how they are called).

    Still in the research phase. It is an open question how well this approach scales.

  • Vale

    Compiler for the Vale programming language - http://vale.dev/ (by ValeLang)

  • Good news! Complexity isn't a baseline requirement: it's possible to make a language that follows the basic patterns of an average Rust program. It's what we're doing in Vale [0].

    It turns out, they key is to move some checks to run-time [1] to reduce complexity, move other checks instead to compile-time [2] where it doesn't increase complexity, and then make the borrow checker "opt-in" instead of forcing it to be used everywhere [3].

    [0] https://vale.dev/

    [1] https://verdagon.dev/blog/generational-references

    [2] https://verdagon.dev/blog/higher-raii-7drl

    [3] https://verdagon.dev/blog/zero-cost-refs-regions

    Scanning back over the past couple years, there's plenty of commentary about coloring in async Rust

    https://hn.algolia.com/?q=rust+async

  • tamago

    TamaGo - ARM/RISC-V bare metal Go

  • Of course it can, there are companies shipping products written in bare metal Go.

    https://www.withsecure.com/en/solutions/innovative-security-...

    https://github.com/usbarmory/tamago

  • usbarmory

    USB armory - The open source compact secure computer

  • Of course it can, there are companies shipping products written in bare metal Go.

    https://www.withsecure.com/en/solutions/innovative-security-...

    https://github.com/usbarmory/tamago

  • 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.

    WorkOS logo
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