Any project in rust you want to chat about.

  • HerrBratani@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    An e-ink info display which displays the weather and my nextcloud calendars and tasks. So Rust Backend which pulls the data and displays a static HTML page, which will be pulled by the esp32 board. First project with rust

    • sokkies@lemmyrs.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Are you also programmibg the esp using rust? Ive only gotten pretty basic stuff to run on embedded systems with rust despite really wishing that I could do more

      • Vorpal@lemmyrs.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        I have done some small experiments (not much beyond a blinking light at this point) and I feel that the main issue right now for a beginner is that the documentation isn’t there yet. By far.

        Also I have read that many of the crates that use the same bus don’t play well with each other (e.g. two devices on the same i2c bus) even though that is what embedded-hal is supposed to be all about. Many early crates are also abandoned apparently, further compounding this problem. I don’t have enough personal experience though to tell if this is true.

        • sokkies@lemmyrs.orgOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Yeah finding crates has also been my issue. Ive done HAL on a raspberry pi and it has been fairly painless, but Im still strugggling to get my head around no_std convensions on bare metal chips… Also last I checked I couldnt figure out more advanced stuff like connectivity where I think Rust will really shine

  • Enibevoli@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    Not a coding project with Rust, but figuring out what will happen with(out) /r/rust going forward. Posting here to show some support :-)

  • popstarfreas@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I’m working on a falling sand physics-powered, 2d block-based open-world survival crafting game with spells instead of weapons and tools.

    I’m currently using bevy_ecs (not bevy itself) and Vulkano (Vulkan rust library), SDL2 for windowing and fmod for audio. Developing on Linux but testing and building on Windows every now and then.

    I’ve been running a Terraria server since 2012, and have had a lot of experience in C# working with Terraria’s netcode and Terraria internals (via decompiling and IL patching), so decided it was time to try make something of my own.

    I didn’t know any engines, but I had previously used SDL2 for smaller things. We started using Rust at work (not game dev related) and I had used Rust a few times for personal projects. I got really interested in some of the functional programming concepts from languages like Ocaml and Haskell, so I decided I would make the game in Rust, despite that it may not be the most popular path.

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Been working on the same one for a while now, an implementation of COM for Linux and macOS (Microsoft’s stable library ABI/IPC/network protocol). It of course supports C and C++ but also Rust, and as of now the IDL compiler which generates headers and Rust sources and makes up the majority of the code, is written in Rust.

    I started working on this as part of wanting to port C++ software that heavily used COM interfaces internally to Linux but then I wanted to start using it for other things so I started writing the IDL stuff. (As of now there’s no network/IPC functionality or any kind of runtime though, it’s purely interfaces. That’s still WIP)

    I guess this is yet another way to do C++ <-> Rust calls :P

    https://git.dblsaiko.net/nucom/

  • zhenbo_endle@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I had been working on https://github.com/Endle/fireSeqSearch in my last year.

    fireSeqSearch is inspired by Evernote’s browser extension - if we search a term, for example, softmax in Google(or other search engines), fireSeqSearch will also search in our personal notebook(logseq/obsidian), and append the hits into Google results.

    Let me try to attach the video here https://user-images.githubusercontent.com/3221521/216853025-5cb82b18-fbcc-438e-8ff6-f791713c6b8b.mp4

  • megastary@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    We have a pet project in work, which allows us to bring food and drinks to office and anyone can take, register it. Then once a month QR code is sent to everyone to pay to people who deliver stuff. Current system is classic SSR express.js app and I want to rewrite it to Axum backend and Vue SPA (and possibly other clients like cli). Currently finished the “customer needs analysis” and started grooming user stories to hopefully one day jump to writing the backend and then frontend.

  • CoolCatNick@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    If someone is not working on something and have doney spare time (like me). I’m sure it would be greatly appreciated if we used some of that time to improve the Lemmy backend. My plan for the weekend is to go through the repository and get more familiar with the Lemmy code base

  • mayoaddict@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I started studying vulkan recently, so i started building a toy renderer with (hopefully) a functional render graph and multi-threading command buffer encoding support

  • felix_te@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I’m working on a test project to flesh out SurrealDB (built on Rust) embedded database in an Axum API. Using a medication tracker as the app. Just started with Rust last December, so it’s been a firehose Rust->Axum->SurrealDB.

  • rseymour@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I’ve been working slowly but surely on some rust <-> midi code. Mainly just playing around using midir.

      • el gaucho@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Well, after thorough research, I discovered that you can print a string of characters.

        It took me hours to get the spelling right.

    • jasory@lemmyrs.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Does this detect stylistic similarity between texts? I was thinking about porting a similar project that was developed to determine probable authorship. It would be quite useful as an open-source bot detector.

  • soulsource@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    I’m currently working on a small Visual Novel that uses the Free Monad macro crate I’ve written.

    Originally I just wanted to see if Free Monads can be implemented using the traits from the higher crate. I was so happy with the result, that I decided to publish it on crates.io, and therefore I had to come up with an example program. Therefore I wrote a (very short) text adventure, just for illustration.

    And that was so much fun, that I decided to make something bigger based on it. And here I am now, writing an interpreter for a small storytelling embedded Domain Specific Language…