What are you building with Rust?

Are you using Rust at work? Hobby projects?

Why did you choose Rust for your project?

  • tuto@lemmy.world
    link
    fedilink
    brezhoneg
    arrow-up
    0
    ·
    7 months ago

    I’m doing Game Dev with Rust (Godot + gdext in my case). Sadly it’s just hobby projects, but would love to actually use rust (at all) at work.

    I choose Rust over other languages (C#, Python, GDScript, C++, etc), because I enjoy writing in Rust.

    I love that it’s so concise and easy to read, while providing super useful errors at compile time, and great auto-completion thanks to the rust-analyzer. Despite it being a much more complicated languages than almost even C++, it provides so much useful information when writing/compiling, that running can be mostly taken for granted (but shouldn’t of course).

    I don’t need to worry about types or pointers, but rather about writing what I want in Rust, which is simply too much fun.

  • codemonk@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    At work and for hobby projects. At work I am looking at using Rust for safety-critical systems. As a hobby I am building a dmenu alternative. It is a fun project and I have a menu that satisfied my wishlist.

  • peanutbutter_gas@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    I’ve mostly done hobby projects with rust.

    • axum + mongodb + oauth2 (just basic rest api)

    • rust-bert ( for some nlp stuff. Zero-shot, NER, etc.)

    • Bevy ( I was following a tutorial for a super basic space invaders game)

    I chose rust because I always like to have some kind of systems level programming language on my belt. It used to be c++. Rust had seemed very interesting so I began trying it out more and more. It’s awesome.

  • snaggen@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    My use for rust at work have been to avoid C when using third party libraries. Rust bindgen is very nice to use. This way I get to use a modern language instead of C. Also replaced some java for a performance critical media monitor and xfer engine. On my spare time I have been doing some minor hacking for fun on Cosmic Term

  • JoYo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    Looking at it longingly while I update another legacy C project.

  • anti-idpol action@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    attempting to build a database normalization checker up to 4NF. Also forking some Spotify client and modifying it to work with the Soulseek network has been in my bucket list for a long time

  • pancake@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Lately I use it for hobby projects, but also for academic stuff (e.g., interacting with experimental devices, sensors). Rust allows me to write fast code quickly while not spending a long time with valgrind.

  • sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    7 months ago

    I mostly use it for hobby projects. For example:

    • lemmy alternative - I’m using Iroh and Tauri to create a distributed lemmy-like application (mostly wanted an excuse to play with async Rust)
    • Godot game projects - GDScript for most things, Rust for more intense processing - not a fan of C++, and everything else is similarly awkward, so picked Rust because I like it
    • small web projects - I built a game server that did interesting things with different socket types (websockets, TCP, and UDP); wanted correctness since I’m doing a lot of async stuff; I’ve used Go for this kind of thing in the past, but I don’t like some of the footguns it has

    I’d love to use it at work, but my team is mostly Python-centric and it’s working well enough for us.

  • kevincox@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Everything basically.

    • Ricochet Robots solver.
    • A CLI tool to add timestamps and time since last log annotations when watching logs in a terminal.
    • A few random games.
    • RSS to Email service.
    • Making a CRDT library that embeds well in programs.
    • A tool for uploading journald log files to log aggregation services.
    • Some machine learning experiments.
    • A tiny library to implement rate limits.
  • Reacher@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Mostly for hobby projects. Just started a small project at work to evaluate if Rust fits for our company.

  • BrucePotality@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Just side projects building web severs for fun and to learn more about rust.

    I have lovingly called my new tech stack SHART

    SQLX HTMX ASKAMA RUST TOKIO

  • bluGill@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Crying over some C code I have to work with. I’m supposed to do a quick proof of concept but with all data passed by global variable.

  • crispy_kilt@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago
    • A kind of reverse proxy which wraps a rest api and makes it compatible with a shitty app that uses said api.

    • A CLI tool to write SDN configurations into the SDN orchestrator’s rest api based upon yaml files so that networking people don’t have to use the terrible GUI.

    • Another CLI tool which automatically reads credentials from the terrible CyberAIDS centralised credential management system and provides it to the OpenSSH client so that ssh users don’t have to copy/paste a billion different passwords a billion times a day. (Yes, use keys, I know, but corporate bullshit wants it this way.)

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Currently writing a distributed file system that if all goes well, can replace my current Nextcloud (which annoyed me one too many times) and NFS (which is unusable over the internet).