#rustLang

2025-07-06

Almost got convinced to try Dioxus again during an interview with its creator on Rustacean Station, but then he lamented the lack of “a penchant” for AI tools in the Rust ecosystem and then said “we’re going to do it”, so, well, fuck that.

#RustLang

Sentinel SecuritySntlSecurity
2025-07-05

⚡️ Rust keeps climbing: Microsoft just announced another internal tool rewritten in Rust to eliminate memory bugs.
Safe languages aren’t a fad — they’re the future.
Are you investing in memory safety?

2025-07-05
Cool, my PR for rust-hex was merged:

https://github.com/KokaKiwi/rust-hex/pull/83

It adds decode_in_slice() function, which decodes the hex string within the input buffer overwriting the contents. It is with ugly but still useful for e.g., fast and constrained protocol implementations.

Just came as surprise because the PR was made almost two years ago...

#rust #rustlang
Howard Chu @ Symashyc
2025-07-05

Relationship/metadata tracking

dutchdata.io/

Written in , built on

I'm not thrilled to see this one. It's clearly aimed at govts to aid in surveilling large populations. But you should be aware of how good the tools for this task have gotten.

Predrag Gruevskipredrag@hachyderm.io
2025-07-05

New blog post + cargo-semver-checks v0.42 is out ✨

I found some unexspected sharp edges in the `#[target_feature]` attribute. They are getting fixed (teamwork! 🤜🤛), and cargo-semver-checks now also has lints to save you from footguns!
predr.ag/blog/unsoundness-and-

#rust #rustlang #semver

2025-07-05

Interesting conversation about #linux linkers and #rustlang with @davidlattimore creator of the “wild” linker on @timClicks compose podcast episode giving many insights into object files and executables. timclicks.dev/podcast/david-la

Andy Balaamandybalaam
2025-07-05

video.infosec.exchange/w/eruV7

Evaluating code blocks (video 36 in the mini-Rust series).

Orhun Parmaksız 👾orhun@fosstodon.org
2025-07-05

I'm live on YouTube 📢

Cooking up the new release of @ratatui_rs

youtube.com/watch?v=nucLyibb5N

#rustlang #ratatui #livestream

Jan :rust: :ferris:janriemer@floss.social
2025-07-05

The #Rust #compiler #performance #survey 2025 only runs until next Monday, 7th July - so fill it if you haven't yet and help the Rust project make us Rust developers more productive! 🚀

blog.rust-lang.org/2025/06/16/

#RustLang

Kevin P. Flemingkevin@km6g.us
2025-07-04

As much as I'm enjoying the Rust language, I doubt my brain will ever fully grok the automatic type inference mechanism. Here's a small example: docs.rs/tokio/1.46.1/tokio/syn

The type 'tokio::sync::mpsc:channel' has one generic parameter which is a type, and it's the type of the objects which will be sent and received through the channel. However, in this example that type parameter is not specified but the code is completely valid. What is that type in that example?

If your answer was not "whatever type the compiler chose for the index variable 'i' in the for-loop, which has a single constraint that it must be able to hold integer values from 0 through 9 (inclusive)", then welcome to the club!

#Rust #RustLang

musicmatze :rust: :nixos:musicmatze@social.linux.pizza
2025-07-04

You know, I won't contribute to your #rustlang codebase if you use 2 spaces for indention...

Just so that I've said it.

Trifecta Tech Foundationtrifectatech@fosstodon.org
2025-07-04

A new release of sudo-rs is out! Highlights:
- Increased backwards compatibility with older Linux kernels.
- Programs executed can be prevented from running other programs (NOEXEC)
- Other usability improvements suggested and contributed by our users!

With thanks for the support by @nlnet @ubuntu @jnsgruk @NGIZero

#sudo #rust #rustlang

github.com/trifectatechfoundat

A new release of sudo-rs, version 0.2.7

Quick stream: Env monitoring system & Indiedevcasts updates

twitch.tv/indiedevcasts

#rustlang #programming #indiedev

Orhun Parmaksız 👾orhun@fosstodon.org
2025-07-04

Found the ultimate way to focus... This TUI changed my life.

🌲 **serenIT** — Ambient sound player for your terminal.

🐦 Play sounds together, create your own scene & switch between. Supports configuration.

🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: github.com/ElevenJune/serenIT

#rustlang #ratatui #tui #ambient #focus #whitenoise #player #terminal

#rustlang #hottip Accepting `&self` or `&mut self` in a rust macro is tricky, but noting that they desugar to `self: &Self` and `self: &mut Self` makes it much easier.

// This macro implements a bunch of same-trait but different-type variants of an enum.
macro_rules! delegate_to_variants {
    (
        $(
            fn $fn_name:ident ($self:ty, $( $arg:ident : $arg_ty:ty ),* ) -> $ret:ty
        ),* $(,)?
    ) => {
        $(
            fn $fn_name(self: $self, $( $arg: $arg_ty ),*) -> $ret {
                match self {
                    ScriptContext::Shared(a) => a.$fn_name($( $arg ),*),
// …
                }
            }
        )*
    };
}

impl<P: IntoScriptPluginParams> ScriptContextProvider<P> for ScriptContext<P> {
    delegate_to_variants! {
        fn get(&Self, id: Option<Entity>, script_id: &ScriptId, domain: &Option<Domain>) -> Option<&Arc<Mutex<P::C>>>,
        fn contains(&Self, id: Option<Entity>, script_id: &ScriptId, domain: &Option<Domain>) -> bool,
        fn hash(&Self, id: Option<Entity>, script_id: &ScriptId, domain: &Option<Domain>) -> Option<u64>,
        fn insert(&mut Self, id: Option<Entity>, script_id: &ScriptId, domain: &Option<Domain>, context: P::C) -> Result<(), P::C>,
    }
}
Rust Bytesrustaceans
2025-07-04
Dekirisu 🦀dekirisu
2025-07-04

I'll pause deki-world for (at least) a week to figure out where to actually steer it. In the meantime:
🚗 dev. focus on deki-drive
🐿️ getting back into 2d animations
🐬 (maybe) dev. a small bevy UI helper crate

Rust Bytesrustaceans
2025-07-04

Meet Mochia, a virtual pet browser game, built with Rust, SolidJS, Postgres 🦀


mochia.net/

2025-07-04

Rust 1.88.0 stabilizes the #[unsafe(naked)] attribute and the naked_asm! macro which are used to define naked functions. Folkert has worked on this feature and wrote an article on the Rust Blog to explain:

blog.rust-lang.org/2025/07/03/

Awesome work, Folkert!

@folkertdev
@rust
#rustlang

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst