this post was submitted on 12 Jun 2023
4 points (100.0% liked)

Rust Lang

9 readers
1 users here now

Rules [Developing]

Observe our code of conduct

Constructive criticism only

No endless relitigation

No low-effort content

No memes or image macros

No NSFW Content

founded 1 year ago
MODERATORS
 

Any project in rust you want to chat about.

all 21 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year 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

[–] [email protected] 1 points 1 year 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

[–] [email protected] 1 points 1 year ago (1 children)

Just had a massive breakthrough in my "Hello Cargo" program last night

[–] [email protected] 0 points 1 year ago (1 children)

Thats good! What were you stuck on and howd you figure it out?

[–] [email protected] 2 points 1 year ago (1 children)

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

It took me hours to get the spelling right.

[–] [email protected] 1 points 1 year ago (1 children)

Wow, well done, I still struggle with that and ive been coding in rust for almost 3 years now

[–] [email protected] 0 points 1 year ago (1 children)

Sorry but am I missing something? What's there to struggle with println("Hello Cargo")?

[–] [email protected] 2 points 1 year ago

They are kidding.

[–] [email protected] 1 points 1 year 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

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year 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 :-)

[–] [email protected] 0 points 1 year ago (1 children)

I started working on a text analysis crate during grad school. I've gotten some surface-level stuff in there already, but I'd like to flesh it out and add some more true NLP functionality.

Link: https://github.com/michael-long88/rnltk

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago

Nothing quite that advanced. It's mostly just stemming, basic tokenization, TF-IDF, and cosine similarity at this point.

[–] [email protected] 0 points 1 year ago (1 children)

I'm working on to-html, a CLI for running a command and converting the output to HTML, with colors, to embed in a website. It wasn't getting any love for a while, but now there's a new contributor helping out, which motivated me to work on it again ❤️