Sign in

Shantanu

@hauntsaninja.bsky.social
822 followers 78 following 16 posts

@OpenAI since 2020. CPython core dev, making Python typing better hauntsaninja.github.io

PostsRepliesMedia
Shantanu @hauntsaninja.bsky.social · 05/04/2026
If 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/2026
wrote 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/2025
late to this github drama but github.com/mozilla/bedr...
github.com
Tos 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 &lt...
010
Shantanu @hauntsaninja.bsky.social · 14/02/2025
happy 6th birthday to gpt-2! 🍰 better language models really did have implications
020
Shantanu @hauntsaninja.bsky.social · 12/01/2025
proebsting's law would suggest this was 2.5 years' worth of work on compilers
040
Shantanu @hauntsaninja.bsky.social · 06/01/2025
tail 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.com
Tail-calling interpreter · Issue #642 · faster-cpython/ideas
An 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 · 31/12/2024
2024 squared away
050
Shantanu @hauntsaninja.bsky.social · 24/11/2024
here's how to trick the python interpreter into giving you a great debugging experience in generated code: hauntsaninja.github.io/generated_br...
hauntsaninja.github.io
Breakpoints in generated Python code
032