Shantanu @hauntsaninja.bsky.social · 05/04/2026If you use #mypy, make sure you're on latest. In the last year, mypy has gotten >1.8x faster and has learnt many new tricks 081
Shantanu @hauntsaninja.bsky.social · 01/04/2026wrote a little tool called git_bayesect. it's like git bisect, but can track down non-deterministic bugs using bayesian inference 231
Shantanu @hauntsaninja.bsky.social · 02/03/2025late to this github drama but github.com/mozilla/bedr...github.comTos copy updates (fix #16016) (#16018) · mozilla/bedrock@d459add* ToS copy updates (fix #16016) * Apply suggestions from code review - copy change Co-authored-by: maureenlholland <maureen@silverorange.com> --------- Co-authored-by: maureenlholland <... 010
Shantanu @hauntsaninja.bsky.social · 14/02/2025happy 6th birthday to gpt-2! 🍰 better language models really did have implications 020
Shantanu @hauntsaninja.bsky.social · 12/01/2025proebsting's law would suggest this was 2.5 years' worth of work on compilers 040
Shantanu @hauntsaninja.bsky.social · 06/01/2025tail calls with newer compiler calling conventions might make the Python interpreter 10% faster (up to 40% faster on specific benchmarks). github.com/faster-cpyth...github.comTail-calling interpreter · Issue #642 · faster-cpython/ideasAn alternative dispatch mechanism to switch or computed gotos is to use tail calls. In a tail calling interpreter, dispatch is implemented as a tail call to the next instruction. For example: the C... 0134
Shantanu @hauntsaninja.bsky.social · 24/11/2024here's how to trick the python interpreter into giving you a great debugging experience in generated code: hauntsaninja.github.io/generated_br...hauntsaninja.github.ioBreakpoints in generated Python code 032