browse/
3 results
mobile/dropped-frames-why-one-slow-function-freezes-a-phone-screen.md
Dropped frames: why one slow function freezes a phone screen
You tap a button and your phone screen freezes for a moment, even though the app did not crash. The reason is that one thread both listens…
computers/the-call-stack-why-a-function-that-never-stops-crashes-your-program.md
The call stack: why a function that never stops crashes your program
Every time a function is called, the computer puts a small block of memory called a frame on top of a call stack, and removes it when the…
computers/the-call-stack-how-your-computer-remembers-where-to-come-back-to.md
The call stack: how your computer remembers where to come back to
When one function calls another, how does the computer remember where to come back to? It keeps a pile of frames called the call stack…