Elektrine lite

← Feed

@encukou@mastodon.social

Post #2474889

2026-04-17 05:50 UTC

@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.

Replies (1)

  • @encukou@mastodon.social 2026-04-17 05:51

    @nedbat@hachyderm.io @christophehenry@mastodon.social You don't need to understand stack vs. heap to make a web app, no. But you probably do need it before diving into SIMD. And C is still the best tool for *learning* stack vs. heap. Mostly because it lets you make catastrophic mistake easily, rather than give you tools to prevent them (C++) or require those tools (Rust).

    Open ##2474890