Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This one as well by a former intern from a decade ago who now writes on python and ml internals:

How Many Lines of C it Takes to Execute a + b in Python?

https://codeconfessions.substack.com/p/a-war-story-involving...



Thanks for sharing Bosky.

I think you gave the wrong URL :)

This one talks about how CPython executes a + b: https://codeconfessions.substack.com/p/cpython-dynamic-dispa...


Ow. There's a paywall halfway through. Don't do what I did and get interested in the story if you aren't up to subscribing.


Maybe the reason for CoW being triggered is reference counting. Does anyone know?


Usually from GC. Anthony Sottile has a nice explanatory video: https://youtu.be/sdmcCQ7Em04?si=9PObAJixALFiZ9vd


Sorry about that. Most of my posts are open, but I usually put one of these behind the paywall in a month. I opened this one.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: