News for hackers. Stuff that matters.
Re:Announcing Rust 1.100.0 by fluffiac on Thursday November 12, 2026 @11:31PM (#50478353)
a well designed Rust project can leverage the type system to represent "weird states" in your program. what would otherwise be unstated rules or assumptions can be laid out cleanly as type invariants. a common example is `div(a, b) -> Option` where None is returned when b is zero. you can get really fancy with this, the blog post talks about a token struct that represents holding the GIL. doing this kind of thing can make certain logic errors more difficult to write and makes code self-documenting in some sense. going against the type system is flagged during compilation, which broadly contributes to rust code feeling like it "just works" when it compiles.

if code fails to compile, rustc will produce a very high quality error message 90% of the time (they can get pretty gnarly when you're doing something super tricky, but they're still very workable for agents). tests are a first class feature, so agents are able to spot check new features on the same turn you ask it to implement something new. documentation is also first class, and lots of libraries have excellent docs (read https://docs.rs/pyo3/0.30.1/pyo3/marker/struct.Python.html). the whole toolchain gives agents a lot to work with.

Re:Announcing Rust 1.100.0 by estebank on Friday November 13, 2026 @12:41AM (#50478835)
> they can get pretty gnarly when you're doing something super tricky

When that happens, please file a ticket. That's how the errors get good: we hear about when they aren't and then we fix them.