Predrag Gruevski
@predr.ag
Querying (Almost) Everything // Frontier Systems @ OpenAI // Author of cargo-semver-checks & Trustfall // https://predr.ag/blog // ex Kensho // MIT alum // https://hachyderm.io/@predrag // not from around here 🇲🇰 // he-him
With any luck, this is the cargo-semver-checks release that will start scanning the Rust standard library for breakage. Enjoy v0.50.0! What a fitting moment for a nice round number 🎉 Expect a blog post soon!
Every year, RustWeek and the All Hands meeting of the Rust Project are the most productive few days Rust ever gets. An unbelievable amount of stuff gets done. And now you can read all about it! blog.rust-lang.org/inside-rust/...
All Hands 2026 retrospective | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
blog.rust-lang.org
If you use the Trustfall query engine via Python, please upgrade to v0.3.2. In v0.1.6 - 0.3.1, using the exposed APIs in a sufficiently contrived manner could trigger use-after-free. Your code *probably didn't do this*, but I yanked the affected versions to be safe. github.com/obi1kenobi/t...
Fix unsound `Opaque` in Python bindings. by obi1kenobi · Pull Request #960 · obi1kenobi/trustfall
Python adapters that broke the API contract in copying contexts and returning them more than once could cause a use-after-free / double-free bug. With this fix, this is explicitly checked for and w...
github.com
"If your rules aren't checkable with a tool, they are just entertainment. They aren't being followed." - Gerard Holzmann #systemsdistributed
As I just told a colleague: it’s a shame how little traction this has ever gotten, but part of it is probably tooling. If I had a few months of dedicated funding, I’d build a TS version of cargo-semver-checks – @predr.ag and I have talked about how the underlying infra would Just Work™. If only!
HEYO I just got to link to one of the discussions in semver-ts.org to explain something internally. Nice to have that actually be useful! 😂
Happy cargo-semver-checks release day 🎉 After 30+ PRs and 15kLoC, we can now lint the Rust standard library for accidental breakage! I'll work with Rust maintainers to get that plugged in, then it's blog post time to tell you how it works! Stay tuned 🦀 github.com/obi1kenobi/c...
Release v0.49.0 · obi1kenobi/cargo-semver-checks
In this release Unstable --stability-aware mode for detecting breakage in the Rust standard library. False-positive fix: correctly propagate #[doc(hidden)] through glob re-exports when determining...
github.com
Hi everyone. I need your help! I recently added support to get system GPU usage in the Rust sysinfo crate. Next step was to get this info per-process. However, I'm now facing a very annoying Apple issue: undocumented API changing each version. So I can only test my own macOS version: 12.6. 1/4
Fable: "Pitch Odysseus as a management consultant, arguing that he has found product-market fit, and he should just stick with Trojan Horse making as opposed to going home to Ithaca in a powerpoint" I like the 1 star review from Cassandra where "0 of 10,000 readers found this helpful." Pretty funny
Day 5, a picture worth a thousand words 👇 I put an API-breaking `#[doc(hidden)]` in my local build of the Rust standard library, and asked cargo-semver-checks to find it. See for yourself!
🔦 #rustconf 2026 Speaker Spotlight "Compiling the Linux Kernel with gccrs" by Arthur Cohen & Pierre-Emmanuel Patry (Compiler Engineers at Embecosm) ➡️ On the schedule: rustconf2026.sched.com/event/2KHyD 🎟️ Book before prices rise: bit.ly/43QwYsZ #rustconf26 #rustlang
It's Thursday, day 4. Today's haul so far is ~2500 LoC. First, making use of default-value stability which we previously exposed in rustdoc JSON. Codex caught a subtle edge case that affects which traits are considered sealed. Copious test cases are standard, of course. github.com/obi1kenobi/t...
Support default-value stability in rustdoc JSON v60. by obi1kenobi · Pull Request #1087 · obi1kenobi/trustfall-rustdoc-adapter
Unstable default values, such as provided function bodies in trait definitions, associated type defaults, and default values for associated constants, are treated as not present when indexing rustd...
github.com
I had to take a brief detour to triage a surprising new class of SemVer breakage. It's always *a time* when the net result is "8 issues across 5 repos" 😅 The net result is the same: even more lints! github.com/obi1kenobi/c...
Breakage in items of reachable but not nameable supertrait · Issue #1658 · obi1kenobi/cargo-semver-checks
Example minified from time-rs/time#793 mod sealed { pub trait Sealed { fn example(&self) { ... } } } pub trait Visible: sealed::Sealed {} Now modify: mod sealed { pub trait Sealed { - fn example(&s...
github.com
Day 2 of trying to scan the Rust standard library for accidental breakage with cargo-semver-checks 👇
It's Tuesday, and so far so good! Two things happened today, by which I mean after midnight last night. First, I merged a PR to allow unstable stdlib items to be considered non-public-API. Similarly, const-unstable items are considered non-const in public API: github.com/obi1kenobi/t...
I'm taking a few days off from work, let's see how far I can get with having cargo-semver-checks scan the Rust standard library for accidental breakage... Idea courtesy of a random hallway conversation with @amanieu.bsky.social at the Rust All Hands part of @rustnl.bsky.social this year.
'Writing a top-10 chess engine in Rust' by Cosmo Bobak and Kora at RustWeek 2026! www.youtube.com/watch?v=Gx21... #rustlang #RustWeek
Writing a top-10 chess engine in Rust (Kora & Cosmo Bobak at RustWeek)
Writing a top-10 chess engine in Rust by Cosmo Bobak and Kora. We’ll cover some of the most interesting or unique problems we encounter writing competitive chess engines and how Rust is excellently…
youtube.com
Okay, yes it's PRIME DAY. We're all very excited, but let's take a moment to make sure we're getting the most out of it. We don't want to waste this opportunity. 1/4
"Safer `unsafe` with Codex and miri" is my walkthrough of shipping a real-world #rustlang performance optimization at OpenAI. AI lets us subject our work to 100x more scrutiny than before. We ship faster, because *we catch more bugs sooner.* www.youtube.com/watch?v=3Bcg...
Safer unsafe with Codex and miri (2026) - Predrag Gruevski
YouTube video by Rust East Coast
youtube.com
The parallels between the rise of CNC and AI are astonishing. We went from "this will de-skill machinists" to the modern marvels of engineering that we all take for granted, like the one I'm typing on. Another excellent video from @asianometry.bsky.social www.youtube.com/watch?v=OgXm...
Fanuc and the Numerical Control Revolution
YouTube video by Asianometry
youtube.com
I wear many hats in the #rustlang community — today I get another one. OpenAI is contributing $600,000 to the Rust Foundation, to become a Platinum Member and support both Rust development and the broader ecosystem. As part of this, I'll have the honor of joining the Foundation board 🙇♂️
[NEWS] OpenAI has joined the Rust Foundation as a Platinum Member & committed additional funding to programs across the Rust ecosystem. Sustaining a language like Rust requires this kind of support, and we are grateful to OpenAI for stepping up! 🎉 rustfoundation.org/media/rust-f... #rustlang #openai
Read the latest blog post by @joelmarcey.com (Rust Foundation Director of Technology) to learn more about new AI Security Engineer in Residence, Jacob Finkelman. This role was made possible for the #rustlang ecosystem with support from Alpha-Omega. rustfoundation.org/media/an-ai-...
An AI Security Engineer in Residence for the Rust Ecosystem
Read Alpha-Omega's blog post about this exciting news here: https://alpha-omega.dev/blog/an-ai-security-engineer-in-residence-for-the-rust-ecosystem/ Since 2022, the Rust Foundation has run a…
rustfoundation.org
Update: iddqd is now formally verified*! * with limitations that are fundamental to this kind of formal verification, making it a complement to the existing layers of validation For more, see: oxide.computer/blog/iddqd-u...
iddqd, or the hardest kind of unsafe Rust. My first post for the @oxide.computer blog! Goes deep into the pitfalls of unsafe Rust and how to reason about it. A lot of labor went into the post -- please have a read! oxide.computer/blog/iddqd-u...
You use AI to write more code. I use it to make my code more correct. We are not the same.
there’s now a publicly-available recording of our RustWeek talk. it went extremely well, and I’m very proud of our work on it. talk is viewable @ youtu.be/Gx21yYLwn10 slides are hosted @ asteri.sm/assets/pdfs/...
Writing a top-10 chess engine in Rust (Kora & Cosmo Bobak at RustWeek)
YouTube video by RustNL
youtu.be
Since RustWeek took place in a cinema, we ended the closing session properly with a cinematic credits roll. ✨ If you missed it or want to see it again: 2026.rustweek.org/credits/
I am so mad about this. AI coding tools can be put to *great* use, and THIS ISN'T IT. Great AI use case: "help me find my bugs before my users find them" Not great AI use case: "half-ass my job for me"
The exploit: 1. Change your IP address to the target's geolocation and tell the support you've been hacked, asking them to send a reset to attacker email 2. No step 2. Meta's CISO immediately resigned. Gergely had inside contacts: the code was written by AI, reviewed by AI, while tokenmaxxing
The exploit: 1. Change your IP address to the target's geolocation and tell the support you've been hacked, asking them to send a reset to attacker email 2. No step 2. Meta's CISO immediately resigned. Gergely had inside contacts: the code was written by AI, reviewed by AI, while tokenmaxxing
New cargo-semver-checks release 🦀 I'm hard at work on solving type checking lints, so this one is just a maintenance release — one new lint plus some bug fixes. Enjoy! github.com/obi1kenobi/c...
Release v0.48.0 · obi1kenobi/cargo-semver-checks
In this release One new lint: union_field_marked_deprecated False positive fix: do not report supertrait changes if switching between where and trait Name: Super syntaxes Bugfix: avoid erroneous c...
github.com