nerdculture.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
Be excellent to each other, live humanism, no nazis, no hate speech. Not only for nerds, but the domain is somewhat cool. ;) No bots in general. Languages: DE, EN, FR, NL, ES, IT

Administered by:

Server stats:

1.2K
active users

#rustlang

108 posts84 participants8 posts today

PROJECT SPOTLIGHT 💡

#rust #rustlang #programming
Flowistry

Flowistry is a Rust tool that analyzes the information flow of Rust programs.

Flowistry understands whether it's possible for one piece of code to affect another. It integrates into your IDE to provide a "focus mode" which helps you focus on the code that's related to your current task.

Flowistry is open-source on GitHub at github.com/willcrichton/flowis.

Flowistry is an IDE plugin for Rust that helps you focus on relevant code. - willcrichton/flowistry
GitHubGitHub - willcrichton/flowistry: Flowistry is an IDE plugin for Rust that helps you focus on relevant code.Flowistry is an IDE plugin for Rust that helps you focus on relevant code. - willcrichton/flowistry

Right, I've tested Gemini 2.5 and Cloudflare Workers / KV (using Rust). And it is stunning.

Context: My wife has terrariums. They need constant maintenance (sifting, cleaning). She needs to quickly check when and for what reason something was last processed.

I've prompted Gemini to create me a Cloudflare worker, paired with an Expo (React Native) app that scans QR codes. These QR codes have a GUID, and the GUID correlates to the last update stored on Cloudflare KV.

It proceeded giving me code with command line commands to create and deploy the Workers and Expo apps.

Surprise - the commands didn't work. But they were close.
Also surprise - the code didn't compile. But they were close.
For the issues - with me knowing what's going on - I could quickly fix what was missing.

45 minutes later, I've got something running and working correctly. Coding this by hand would've maybe taken half a day otherwise.

#ai#llm#gemini

Finished my day job, so I can come back to fixing my personal projects. And this time, I have a "funny" story! :3

Just fixed a segfault in my Rust sysinfo crate on FreeBSD. So, apparently, in some FreeBSD types, a pointer isn't actually a pointer but a kernel pointer. So to get access to the data, you need to use kvm_read function... And it might return types that also have kernel pointers and so on.

Lost a few hours trying to understand why my non-null pointers were out of my memory to discover by reading FreeBSD source code what was going on (because if there is documentation about this, didn't find it).

Anyway, I think this whole API is awful. FreeBSD making breaking changes in structs layout between each version is also a nightmare. Of all platforms I wrote Rust bindings for, this is the worst by far.

PR is here: github.com/GuillaumeGomez/sysi

Fixes #1497.
GitHubFix segfault on FreeBSD by GuillaumeGomez · Pull Request #1499 · GuillaumeGomez/sysinfoBy GuillaumeGomez

🎆 Bevy Hanabi v0.15.0 is out!

Following the usual release pattern, v0.15.0 is a major release with amazing new features:

➡️ New "hierarchical" effect feature allowing with GPU spawn event, to allow an effect to trigger particle spawning into another effect
➡️ A rewrite of the ribbons/trails implementation with explicit particle sorting. This replaces the confusing "group" API.

github.com/djeedai/bevy_hanabi

📦crates.io/crates/bevy_hanabi/0
🦀github.com/djeedai/bevy_hanabi

🎆 Hanabi — a GPU particle system plugin for the Bevy game engine. - djeedai/bevy_hanabi
GitHubbevy_hanabi/CHANGELOG.md at v0.15.0 · djeedai/bevy_hanabi🎆 Hanabi — a GPU particle system plugin for the Bevy game engine. - djeedai/bevy_hanabi