What I've learned about self-referential structs in Rust
https://ksnll.github.io/rust-self-referential-structs/
Discussions: https://discu.eu/q/https://ksnll.github.io/rust-self-referential-structs/
What I've learned about self-referential structs in Rust
https://ksnll.github.io/rust-self-referential-structs/
Discussions: https://discu.eu/q/https://ksnll.github.io/rust-self-referential-structs/
A new mocking library to mock functions without using trait
https://github.com/microsoft/injectorppforrust/issues
Discussions: https://discu.eu/q/https://github.com/microsoft/injectorppforrust/issues
New Open-Source Tool Spotlight
Groundhog by @ghuntley explains AI coding agents like Cursor from first principles. Built in Rust, it teaches the inner workings of coding assistants—perfect for learning or building your own. #AI #RustLang
Project link on #GitHub
https://github.com/ghuntley/groundhog
#Infosec #Cybersecurity #Software #Technology #News #CTF #Cybersecuritycareer #hacking #redteam #blueteam #purpleteam #tips #opensource #cloudsecurity
— P.S. Found this helpful? Tap Follow for more cybersecurity tips and insights! I share weekly content for professionals and people who want to get into cyber. Happy hacking
Security and performance: OpenAI Codex CLI switches from TypeScript to Rust - by Wolf Hosbach
https://www.heise.de/en/news/Security-and-performance-OpenAI-Codex-CLI-switches-from-TypeScript-to-Rust-10425172.html
We're proud to launch "dnst", our #DNS toolbox for network operators. Twenty years ago, we introduced the "ldns" C-library, along with a collection of example utilities for generating keys, signing a zone, and more. With the "domain" #Rust crate acting as the natural successor to the "ldns" library, with "dnst" we are offering a modern, well-maintained drop-in replacement for the most widely used "ldns" utilities. #OpenSource #rustlang https://blog.nlnetlabs.nl/introducing-dnst-a-dns-toolbox-for-network-operators/
@rust_discussions
"... it's clear to me that using Rust allows me to write more correct code and makes me happier compared to dealing with C++."
This is actually the reason I got in to #rustlang . I needed to interact with some specific hardware using some C-libraries. Thinking "there must be a better language for this than C/C++" I wrapped the lib using rust and bindgen. And I was right, there was a better language than C/C++ for that.
Fellow Rustaceans, what/how should the lifetimes look for an upward arg? I'm trying to make an HTTP and return a reader. Or should I use an out parameter for scenarios like this instead?
```rust
use ureq::BodyReader;
pub fn fetch_feed(channel_id: String) -> anyhow::Result<&'_ BodyReader<'_>> {
let url = format!("https://www.youtube.com/feeds/videos.xml?channel_id={channel_id}");
let res = ureq::get(url).call()?;
Ok(&res.into_body().as_reader())
}
```
... so I'm writing my first #rustlang project and need a security mechanism. Despite 40 years of coding, I've always relied on properly qualified security people to keep me on the path of righteousness.
This time I don't have that person.
So fuck it, I'm writing a YubiKey physical key solution.
News: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
https://www.phoronix.com/news/TPDE-Faster-Compile-Than-LLVM
Discussions: https://discu.eu/q/https://www.phoronix.com/news/TPDE-Faster-Compile-Than-LLVM
Just released the 0.35.2
version of the Rust sysinfo crate (used to query system information).
It fixes a regression in Process::wait
on Windows.
Over 40% of the Magisk's code has been rewritten in Rust
https://github.com/topjohnwu/Magisk/releases/tag/v29.0
Discussions: https://discu.eu/q/https://github.com/topjohnwu/Magisk/releases/tag/v29.0
Our, @ArdanLabs' and #PragmaticProgrammers' @pragprog :-) @herberticus will be talking about #Rust with Gabor on June 11, 2025 at 1:30PM ET / 10:30AM PT - in a Zoom near you:
Be there when Amos & James take the stage and bring SDR to life—in person at #EuroRust25 this October.
Grab your ticket https://eurorust.eu/
So you say that #RustLang is a large language? Then please tell me why Large Language Models suck at producing it.
Zig is better than Rust (sometimes)
https://www.youtube.com/watch?v=l9eFGToyjf8
Discussions: https://discu.eu/q/https://www.youtube.com/watch?v=l9eFGToyjf8
Ubuntu 25.10 will use a Rust-based version of sudo, designed to bolster the security of such a critical command https://www.omgubuntu.co.uk/2025/05/ubuntu-25-10-rust-sudo-rs-change
Another milestone in making Nameshed, our new #DNSSEC solution, a reality: @ximon18 just merged a drop-in replacement for `ldns signzone` - with several improvements for good measure. #DNS #OpenSource #rustlang
https://github.com/NLnetLabs/dnst/pull/8
Another sneak peek at what's coming in Slint 1.12: integration with the #wgpu rust crate.
This opens the door to combining #Slint UIs with 3D scenes from engines like Bevy
Check out the example: https://github.com/slint-ui/slint/tree/master/examples/bevy
#RustLang #MadeWithSlint #BevyEngine
Adding Witness Generation to cargo-semver-checks
https://glitchlesscode.ca/posts/2025-05-30a/
Discussions: https://discu.eu/q/https://glitchlesscode.ca/posts/2025-05-30a/