3 ms·
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? http
by bosky101 3y ago
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-a-python-a https://codeconfessions.substack.com/p/a-war-story-involving...
- HomeDeLaPot 3y agoOw. 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.
- rag-hav 3y agoMaybe the reason for CoW being triggered is reference counting. Does anyone know?
- sgeisenh 3y agoUsually from GC. Anthony Sottile has a nice explanatory video: https://youtu.be/sdmcCQ7Em04?si=9PObAJixALFiZ9vd https://youtu.be/sdmcCQ7Em04?si=9PObAJixALFiZ9vd
- abhi9u 3y agoSorry 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.
- abhi9u 3y agoThanks 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-dispatch-internals https://codeconfessions.substack.com/p/cpython-dynamic-dispa...