Hacker News with Generative AI: Rust

Announcing Rust 1.85.0 and Rust 2024 (rust-lang.org)
The Rust team is happy to announce a new version of Rust, 1.85.0. This stabilizes the 2024 edition as well.
Lox – Oxidized Astrodynamics – A safe, ergonomic astrodynamics library (github.com/lox-space)
Demystifying monads in Rust through property-based testing (sunshowers.io)
In programming pedagogy, monads have a place as a mystical object from the functional programming world that’s hard to understand and even harder to explain.
Build your own SQLite in Rust, Part 5: Evaluating queries (sylver.dev)
In the previous posts, we've explored the SQLite file format and built a simple SQL parser. It's time to put these pieces together and implement a query evaluator!
Linus Torvalds Would Reportedly Merge Rust Kernel Code over Maintainer Objection (phoronix.com)
The drama surrounding Rust code within the Linux kernel continues... Christoph Hellwig is the maintainer of the DMA mapping helpers and several other areas of the kernel has been an outspoken critic of Rust code or secondary programming languages within the Linux kernel kernel. Hellwig has been critical of Rust code for the Linux kernel and its long-term maintainability.
Greg K-H: "Writing new code in Rust is a win for all of us" (kernel.org)
As someone who has seen almost EVERY kernel bugfix and security issue for the past 15+ years (well hopefully all of them end up in the stable trees, we do miss some at times when maintainers/developers forget to mark them as bugfixes), and who sees EVERY kernel CVE issued, I think I can speak on this topic.
Blessed Rust Crates (blessed.rs)
The standard library in Rust is not "batteries included", excluding functionality like HTTP(S), JSON, timezones, random numbers, and async IO. The recommended crate directory is a hand-curated guide to the crates.io ecosystem, helping you choose which crates to use.
Parsing JSON in 500 lines of Rust (krish.gg)
Last semester at university, I took a course called "Syntax-Based Tools and Compilers". It focused on building a scanner, parser, compiler, and so on for a language called PL0. We used Python in the course, but I was really interested in learning Rust at the time.
eserde – a serde that just doesn't stop (github.com/mainmatter)
Don't stop at the first deserialization error.
TIL: Rust does not prevent memory leaks (ycombinator.com)
I'm not a Rust developer so I have no clues about what Rust does, how it does or why it is the way it is.<p>I had a short interaction on another thread and some user told that Rust does not prevent memory leaks.<p>People talk so much about Rust memory safety and how everything must be rewritten in Rust, but if Rust does not prevent memory leaks why are people so crazy about it?
Show HN: Cot: a Rust web framework for lazy developers (mackow.ski)
Cot was born out of frustration - the kind that every Rust developer feels when searching for a batteries-included, Django-like web framework that just handles the basics for you. While Rust is a really mature language, the web ecosystem is still sort of lacking. Let’s change that.
Rewriting essential Linux packages in Rust (lwn.net)
Most Linux systems depend on a suite of core utilities that the GNU Project started development on decades ago and are, of course, written in C. At FOSDEM 2025, Sylvestre Ledru made the case in his main stage talk that modern systems require safer, more maintainable tools.
What's in a ring buffer? And using them in Rust (ntietz.com)
Working on my cursed MIDI project, I needed a way to store the most recent messages without risking an unbounded amount of memory usage.
Why I'm writing a Scheme implementation in 2025: Async Rust (maplant.com)
This blog post is an introduction to scheme-rs.
Rust Is Eating JavaScript (2023) (leerob.com)
Rust is a fast, reliable, and memory-efficient programming language. It's been voted the most loved programming language six years in a row (survey). Created by Mozilla, it's now used at Facebook, Apple, Amazon, Microsoft, and Google for systems infrastructure, encryption, virtualization, and more low-level programming.
Maintainer Opinions on Rust-for-Linux (lwn.net)
Miguel Ojeda gave a keynote at FOSDEM 2025 about the history of the Rust-for-Linux project, and the current attitude of people in the kernel community toward the experiment.
Rust Without a Borrow Checker (github.com/thomcc)
This is rustc with the borrow checker disabled. I wrote it in like, 30 minutes because this tweet made me laugh.
Visualize Ownership and Lifetimes in Rust (github.com/cordx56)
Visualize Ownership and Lifetimes in Rust
Rust: Doubling Throughput with Continuous Profiling and Optimization (polarsignals.com)
“68.37% of CPU [...] with a one-line code change [...] went down to 31.82%”
2024 State of Rust Survey Results (rust-lang.org)
Show HN: Make Easy Async Rust (Mea), runtime-agnostic primitives (github.com/cratesland)
Mea (Make Easy Async) is a runtime-agnostic library providing essential synchronization primitives for asynchronous Rust programming.
Rust Memory Management Explained (infoworld.com)
Rust's ownership and borrowing mechanisms guarantee memory safety at runtime. Here's how to use them in your programs.
Nping – ping, but with a graph or table view (github.com/hanshuaikang)
🏎 Nping mean NB Ping, A Ping Tool in Rust with Real-Time Data and Visualizations
Solving the ABA Problem in Rust with Tagged Pointers (minikin.me)
Concurrent programming is challenging, especially when designing lock-free data structures. One subtle issue that can arise is the ABA problem, leading to unexpected behavior in compare-and-swap (CAS) operations. In this post, we’ll explore the ABA problem and how to solve it in Rust using idiomatic and efficient techniques.
Rust kernel policy (rust-for-linux.com)
There has been a fair amount of confusion about what the kernel policies around Rust are, who maintains what and so on.
The state of Rust trying to catch up with Ada [video] (fosdem.org)
Ada has held its own in the safety critical space for just over 4 decades. Over the last 10 years Rust has pushed into the same space with varying success. Among other features, most notably Rust is missing the powerful declarations and convenience of use of subtypes. In this talk I will go into the various features that make Ada so useful for ensuring the absence of bugs, and where Rust stands on each of these features.
How does Ada's memory safety compare against Rust? (ajxs.me)
This article takes a look at the most common memory-related errors, and compares how well Rust and Ada prevent you from making them in the first place.
Writing a simple windows driver in Rust (scorpiosoftware.net)
The Rust language ecosystem is growing each day, its popularity increasing, and with good reason. It’s the only mainstream language that provides memory and concurrency safety at compile time, with a powerful and rich build system (cargo), and a growing number of packages (crates).
Asahi Linux Lead Developer Hector Martin Steps Down (phoronix.com)
Following arguments on the Linux kernel mailing list the past few days over some Linux kernel maintainers being against the notion of Rust code in the mainline Linux kernel and trying to avoid it and very passionate views over the Linux kernel development process, Asahi Linux lead developer Hector Martin has removed himself from being an upstream maintainer of the ARM Apple code.
Rust and Go vs. Everything Else? (bitfieldconsulting.com)
Rust and Go make perfect partners