Post #2474888
2026-04-16 18:29 UTC
@christophehenry@mastodon.social I've had people in Python spaces say, "You need to know C so you understand stack vs heap".
"Why do Python people need to know about stack allocation, it has no stack allocation"
"....umm...."
Replies (1)
-
@encukou@mastodon.social 2026-04-17 05:50
@nedbat@hachyderm.io @christophehenry@mastodon.social Hmm, the article points out the enormous effort CPU designers put into maintaining the interface (assembly). You need to know pointers and stack vs. heap, before you go exploiting implementation detailsm (e.g. avoiding pointer chasing) -- like you needed to know function calls in Python2 before starting to avoid them for efficiency.