Asynchronous memory access

Implementing a trait only for types satisfying a const-generic predicate! (Nightly Only)

⚠️ Unsafe ⚠️ review request - Stacked "relinquished" borrows?

State machines with const-generics

Why exactly do the fields of constant structs silently "appear" mutable, even though they aren't actually?

Why doesn't this compile? I thought NLL made this type of thing legal

Could someone explain to me why `[T]` is considered sized?

Riddle: when would simply taking the address of a variable invoke UB?

A bunch of terrible hacks to use trait objects as HashMap keys

Why is my code blocking when reading from a TcpStream?

Borrow<&[_]> not implemented for Vec<_>. I understand that but how to fix that?

TIL Drop runs after panic prints, meaning curses::endwin called within drop() erases the panic message

Proof of Concept Monadic IO in Rust

An interesting pattern I found on how to easily internationalize / translate your error messages

The playground got sleek new visuals!

Compile Time Gauß on 3×4 Matrixes

#![feature(nll)] available in nightly

The Playground now has a "WASM" button for displaying what your code will look like when compiled to Web Assembly

Compile-time Brainfuck evaluation using macros

What The Float? Undefined behaviour? Memory safety hole? Bonus ICE on stable! No pointers required!

LLVM computes 10 factorial at compile time

TIL that because impl Trait anonymizes the types used, you can return private types from public functions

Does anyone know if this is something that is "being fixed" or is "working as intended"?

A little bit of code golf

An interesting pattern. Can you do better? (using PhantomData with closures)

Knowing rust? A borrow/copy Puzzle. :)

Using higher-ranked lifetimes to encode existential lifetimes in Rust (spoiler: you can't)

A MOS6502 assembler impleme​nted as a Rust macro

MIR progress update: you can now output the generated MIR on play.rust-lang.org

Playpen broken?

More →