Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 6,220 posts.

Any topic
2025
3374

Blogs rot. Wikis wait

blogs rot. wikis wait. 2025-01-01 wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is my abyss is my wiki is…

3390

Weird Expressions in Rust

Rust has a very powerful type system, but as a result it has some quirks, some would say cursed expressions. There’s a test file, weird-expr.rs , in the rust repository that tests for some of these and makes sure there consistent between updates. So I wanted to go over each of these and explain how it’s valid rust.