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
  • SonarQube - Static code analysis for 29 languages.
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • 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.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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

  • 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 - open source flash-drive-sized 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

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

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