Top all-time · #5616
Tea and Bits
Personal blog · ohadravid.github.ioprogrammingsystems
Tea and Bits is a personal blog at ohadravid.github.io about programming and systems. Since 2023, 13 different Hacker News readers have linked it 28 times, most often “Making Python 100x faster with less than 100 lines of Rust”. It is still writing: the last post was on 2026-10-20, and you can follow it by feed.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
HN readers link Tea and Bits posts on speeding up Python with Rust, including a 2023 post on optimizing geometric operations that compares Rust called from Python against NumPy. Commenters cite its benchmark results.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Ohad's blog
Most-linked posts?
- Making Python 100x faster with less than 100 lines of Rust5 people · 5 mentions · first linked 2023-03-29
- The Exhaustion of Talking to a Tool2 people · 2 mentions · first linked 2026-06-25
- BTrees, Inverted Indices, and a Model for Full Text Search2 people · 2 mentions · first linked 2025-04-10
- A Rust API Inspired by Python, Powered by Serde2 people · 2 mentions · first linked 2025-05-07
- My most downvoted StackOverflow answer2 people · 2 mentions · first linked 2024-09-05
- Winning the fight against the Rust compiler (Coherence, feat. rustc sources)2 people · 2 mentions · first linked 2023-05-12
What Hacker News says?
Not my experience at all. At work we rewrote a small bit of hotspot python in Rust with no issues. This was what we primarily followed: https://ohadravid.github.io/posts/2023-03-rusty-python/
Comment linking /posts/2023-03-rusty-python/
on “Improving Interoperability Between Rust and C++”Submitted Improving performance of rav1d video decoder as a story · 305 points
HN discussionHere is a much better blog post on the topic of optimizing geometrical operations with Rust. If I remember correctly some of the commenters of the HN thread even delivered better "pure" Python versions than the optimized Rust proposed by really leveraging Numpy. - https://ohadravid.github.io/posts/2023-03-rusty-python/ - https://news.ycombinator.com/item?id=35367520
Comment linking /posts/2023-03-rusty-python/
on “Using Rust to corrode insane Python run-times (2021)”Submitted Frankenstein's `__init__` as a story · 99 points
HN discussionThis shows a 7x speedup over the "done wrong" code. Rust called into from Python showed a 100x improvement over the "done wrong" code: https://ohadravid.github.io/posts/2023-03-rusty-python/ So Python+NumPy is significantly slower than Python+Rust. And that's without doing any SIMD in the Rust code, though it's possible the compiler autounrolls and then autovectorizes the loop.
Comment linking /posts/2023-03-rusty-python/
on “Optimized Rust is Still Slower Than Python+NumPy”Submitted My most downvoted StackOverflow answer as a story · 61 points
HN discussion(Author here) yes! I also wrote about this (specifically in Python->Rust FFI) in another article: https://ohadravid.github.io/posts/2023-03-rusty-python/#v2--...
Comment linking /posts/2023-03-rusty-python/
on “Why is calling my asm function from Rust slower than calling it from C?”Submitted A Rust API Inspired by Python, Powered by Serde as a story · 58 points
HN discussionSubmitted My most downvoted StackOverflow answer as a story · 16 points
HN discussionSubmitted BTrees, Inverted Indices, and a Model for Full Text Search as a story · 6 points
HN discussionSubmitted How to Build Python Code with Bazel (and Why) as a story · 4 points
HN discussionSubmitted BTrees, Inverted Indices, and a Model for Full Text Search as a story · 4 points
HN discussionSubmitted Debugging a Vision Transformer Compilation Issue as a story · 4 points
HN discussionSubmitted Making Python 100x faster with less than 100 lines of Rust as a story · 4 points
HN discussionSubmitted Let Them Write RFCs as a story · 3 points
HN discussionSubmitted The Exhaustion of Talking to a Tool as a story · 3 points
HN discussionSubmitted Sliced by Go's Slices as a story · 3 points
HN discussionSubmitted Why is calling my asm function from Rust slower than calling it from C? as a story · 3 points
HN discussionSubmitted &&&&&&&&&&&&&&Str as a story · 2 points
HN discussionSubmitted A Rust API Inspired by Python, Powered by Serde as a story · 2 points
HN discussionSubmitted State of the Crates 2025 as a story · 2 points
HN discussionSubmitted Winning the fight against the Rust compiler (Coherence, feat. rustc sources) as a story · 2 points
HN discussionSubmitted Making Python 100x faster with less than 100 lines of Rust as a story · 2 points
HN discussionSubmitted Practical Memory Safety as a story · 1 points
HN discussionSubmitted The Exhaustion of Talking to a Tool as a story · 1 points
HN discussionSubmitted The Best (Query) Plans of Mice and Men as a story · 1 points
HN discussionSubmitted Put a Pin on That as a story · 1 points
HN discussionSubmitted Winning the fight against the Rust compiler (Coherence in Rust) as a story · 1 points
HN discussion