RC RANDOM CHAOS

rust

3 posts

Safe Rust prints freed stack memory
Article

Safe Rust prints freed stack memory

Rust issue #164250 exposes an 11-year borrow-checker unsoundness: covariant field assignment lets a malicious Drop read freed stack memory in safe Rust.

Rust solved the compatibility trap with editions
Article

Rust solved the compatibility trap with editions

SQLite ships with foreign keys off, loose typing, immediate SQLITE_BUSY and no WAL. One writer argues a Rust-style edition pragma could fix the defaults.

crustc ports rustc to C and builds it with GCC
Article

crustc ports rustc to C and builds it with GCC

crustc is C code you compile with GCC into a working Rust compiler, a demo for cilly, the author's Rust-to-C backend that adapts to any C compiler.