arXiv
arxiv.org
...On single-agent workloads a 4-line Python counter matches the crate at 0/30 overshoot, so the distinguishing value is non-bypassability under operator error in multi-agent delegation: the delegation-fanout race documented in 11 incidents is rejected by the borrow checker at compile time, while the same...
Software Engineering
Sajjad Khan
2026-06-02
arXiv:2606.04056
www.chiark.greenend.org.uk
...syntax
"Macros by example" macro_rules!
Procedural macros proc_macro
Practicalities
build.rs
Async Rust
Introduction
Fundamentals
Innards
Practicalities
Choosing a runtime
Mixing and matching sync and async; thread context
Pin
Anonymous future types, traits, etc.
Cancellation safety
Send
Error messages
Libraries and utilities
FFI
Raw C FFI
FFI support...
Miscellaneous
2021-09-29
~1 min read
www.theverge.com
...It includes a new design with a dark mode that better matches some of the recent UI improvements across Windows 10 and Windows 11. 1Password is also now built on Rust, to improve performance.The entire desktop app now looks a lot more like the web or 1Password browser extension...
Miscellaneous
2021-11-17
~1 min read
www.youtube.com
...don't give up, use the community, and find the mentor matching happening in Discords across the US
Links mentioned:
Rust NYC on Meetup: https://www.meetup.com/rust-nyc/
Lawrence Harvey: https://www.lawrenceharvey.com/
Rustlings: https://github.com/rust-lang/rustlings
Find Ross: search "Ross the Rust guy...
Video
2026-09-04
oakchris1955.eu
Archived: primary link replaced with an archive on 2026-11-19T10:02:00.815Z (UTC; replacement date, not snapshot date)
...Read<Error = E> + Write<Error = E> + Seek<Error = E>,
{
fn get_ro(&self) -> &dyn ReadOnly<E> {
match self {
Self::ReadOnly(ro) => ro,
Self::ReadWrite(rw) => rw,
}
}
fn get_rw(&self) -> Option<&dyn ReadWrite<E>> {
match self {
Self::ReadOnly(_ro) => None,
Self::ReadWrite(rw) => Some(rw),
}
}
}
The whole idea was to...
Observations/Thoughts
2025-07-23
~10 min read
lwn.net
...Is this
code the correct way to do it?
loop {
match timeout(Duration::from_secs(5), rx.recv()).await {
Ok(Ok(msg)) => process(msg),
Ok(Err(_)) => return,
Err(_) => println!("No messages for 5 seconds"),
}
}
As is typical of code shown on slides, this example is somewhat terse. In this
case...
Observations/Thoughts
2025-09-24
~7 min read
blog.scaleway.com
...I like advanced features like generics, optional types, pattern matching, and proper error management, so Rust seemed more appropriate than Go.
The project would have run the same on Python... But with the hassle of having to manage the dependencies everywhere we want to deploy it, or having to create...
Observations/Thoughts
2021-11-24
~4 min read
www.fornjot.app
...I think I understand the problem (the coordinate systems of coincident curves don't match), but there are some subtleties to the solution. In my first few attempts, any fix I tried broke something else.
This is frustrating, because this really shouldn't be that hard. But it is hard...
Project/Tooling Updates
2023-02-15
~1 min read
minikin.me
...ComparisonMode) -> bool {
match mode {
ComparisonMode::Strict => self.name == other.name && self.price == other.price,
ComparisonMode::IgnorePrice => self.name == other.name,
}
}
}
fn main() {
let product1 = Product {
name: String::from("Laptop"),
price: 999.99,
};
let product2 = Product {
name: String::from("Laptop"),
price: 999.99, // Same price
};
let product3 = Product {
name: String::from...
Observations/Thoughts
2025-01-29
~4 min read
doc.rust-lang.org
...a>(accounts: &Accounts<'a>,
username: &'a str, password: &'a str){
println!("Username: {}", username);
println!("Password: {}", password);
println!("Attempting logon...");
let logon = Account {
username,
password,
};
match accounts.get(&logon) {
Some(account_info) => {
println!("Successful logon!");
println!("Name: {}", account_info.name);
println!("Email: {}", account_info.email);
},
_ => println!("Login failed!"),
}
}
fn main(){
let...
Rust by Example
Book
2024-01-01
~1 min read
rust-lang.github.io
...Gc<Monster>, room: &mut Room) {
match room.find_random_exit() {
None => { }
Some(exit) => {
victim.move_to_room(exit);
}
}
}
As before, we'll start out with a type of Monster, but this type the method move_to_room() has a receiver type of Gc<Monster>. This doesn't match cases 1...
RFC 48
RFC
2014-06-10
~23 min read
rust.cologne
...labeled break/continue
higher-kinded types
pattern matching in unusual places
path specific visibility
…
We’ll explain a few of them and show example use-cases. If you can think of something that fits the
bill feel free to bring your own examples.
After that we will move to open...
Europe
2023-09-06
~1 min read
crates.io
...The goal is to provide a matching and a safe error API, masking errors from LALR. fstring.rs Format strings. function.rs Collection of functions for parsing parameters, arguments. location.rs Datatypes to support source location information. mode.rs Execution mode check. Allowed modes are exec , eval or single . How...
Crate
v0.4.0
2024-08-06
blog.yoshuawuyts.com
Tide Channels— 2020-01-29
why channels?
which apis do we need?
channel states
api design
registering a new channel
registering external channel handlers
using channels inside endpoints
matching channels with remote peers
disconnects
heartbeat
interface overview
future directions
group support
http/2 push streams
summary
WebSocket (WS) support for...
News & Blog Posts
2020-01-28
~14 min read
predr.ag
...TL;DR + section index
cargo-semver-checks queries today are slow because many items need to be matched across API versions to their counterparts with the same name. Currently, that's an O(n^2) process (the sweet spot of poor scaling), but can optimized down to O(n).
In...
Observations/Thoughts
2023-02-08
~16 min read
lwn.net
...Kent Overstreet, instead, argued
that the Rust abstractions are a way to design a cleaner interface, and
that this interface should not need to match the C API. Cleaning up the
latter is "a giant hassle" due to the need to change all existing
filesystems at the same time, while...
Project/Tooling Updates
2024-01-31
~7 min read
arXiv
arxiv.org
...However, there is no guarantee that the formal spec itself matches the user's intent. In this work, we study specification autoformalization: whether LLM agents can translate informal programming problems into faithful formal specifications. We introduce Verus-SpecBench, a benchmark of 581 spec-writing tasks derived from Codeforces problems targeting...
Software Engineering
Anmol Agarwal, Natalie Neamtu, Pranjal Aggarwal et al.
2026-05-26
arXiv:2605.26457
docs.rs
...Zero copy deserialisation Support for serialisation buffer reuse and pooling Only safe Rust code No heap allocations Simple, descriptive, one-to-one types matching the RFCs Example use onc_rpc::{ auth::{AuthFlavor, AuthUnixParams}, CallBody, MessageType, RpcMessage, }; // Add RPC call authentication. let auth_params = AuthUnixParams::new( 42, // Stamp "bananas.local", // Machine...
Crate
v0.3.3
2026-01-16
github.com
...The computed width values may not match the actual rendered column width. For example, many Brahmic scripts like Devanagari have complex rendering rules which this crate does not currently handle (and will never fully handle, because the exact rendering depends on the font): extern crate unicode_width; use unicode_width...
Crate
v0.2.3
2026-10-28
micouy.github.io
...fn g2(thing: &Thing) -> &String {
&(*thing).field
// ┃ ┗━ Point directly to the referenced data.
// ┗━━━ Create a reference to the expression's value with a matching lifetime.
}
I'm still not sure how Rust determines what lifetime the newly created reference should have. It has been pointed out that *thing is not...
Observations/Thoughts
2022-03-23
~4 min read