About 203,000 results
Open links in new tab
  1. What and where are the stack and heap? - Stack Overflow

    Sep 17, 2008 · What is their scope? The stack is attached to a thread, so when the thread exits the stack is reclaimed. The heap is typically allocated at application startup by the runtime, and …

  2. What is the purpose of a stack? Why do we need it?

    Oct 24, 2011 · With the stack, you can actually have several devices (theoretically) interrupt each other, and it all just works -- because of the stack. There is also a family of stack-based …

  3. How exactly does the callstack work? - Stack Overflow

    Jun 2, 2014 · I'm trying to get a deeper understanding of how the low level operations of programming languages work and especially how they interact with the OS/CPU. I've probably …

  4. What happens when a computer program runs? - Stack Overflow

    Apr 6, 2011 · I also know that a computer program uses two kinds of memory: stack and heap, which are also part of the primary memory of the computer. The stack is used for non-dynamic …

  5. How does a "stack overflow" occur and how do you prevent it?

    Feb 15, 2023 · How does a stack overflow occur and what are the ways to make sure it doesn't happen, or ways to prevent one?

  6. data structures - Stack and Queue, Why? - Stack Overflow

    Jan 15, 2010 · A computer stack is like that, except it holds numbers, and you can make one out of an array or a list, if you like. (If the stack of plates has a spring underneath, they say you …

  7. Newest Questions - Stack Overflow

    1 day ago · Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work. Try for free Learn more

  8. Explain the concept of a stack frame in a nutshell

    Apr 7, 2012 · A stack frame is a frame of data that gets pushed onto the stack. In the case of a call stack, a stack frame would represent a function call and its argument data. If I remember …

  9. Stack, Static, and Heap in C++

    Nov 2, 2015 · 1 Stack memory allocation (function variables, local variables) can be problematic when your stack is too "deep" and you overflow the memory available to stack allocations. The …

  10. how to use tiktoken in offline mode computer - Stack Overflow

    Apr 26, 2023 · how to use tiktoken in offline mode computer Asked 2 years, 7 months ago Modified 10 months ago Viewed 50k times