Georg Erber
Georg Erber @PhraAthit ·
#Callstack #AIProgramming
Callstack Engineers Callstack Engineers @callstackio ·
Which AI coding model actually writes good React Native code? We couldn't prove it either, so we built a benchmark. React Native Evals: 43 real-world tasks across animations, async state, and navigation. Read more on our blog ⬇️
12
Apis Mellifera
Apis Mellifera @apyxmellifera ·
Replying to @apyxmellifera
5/6 Call stack view: Global EC (always bottom) → a() EC → b() EC ← b() popped ← a() popped Closures: Outer EC destroyed → variables promoted to heap OSR/De-opt: JIT swaps/rebuilds running EC frames ... #CallStack #Closures
1
12
Apis Mellifera
Apis Mellifera @apyxmellifera ·
Replying to @apyxmellifera
5/6 GEC on the call stack: Always at the bottom Call Stack ──────────── foo() bar() ──────────── Global Execution Context Popped only when program ends (script finishes) All function contexts sit on top of it. ... #CallStack #JavaScript
1
6
Apis Mellifera
Apis Mellifera @apyxmellifera ·
1/6 Stack Frame Stack frame = the block of memory pushed onto the call stack for each function invocation. One call = one frame. One return = pop frame. ... #JavaScript #CallStack
1
10
Ayush saini
Ayush saini @SainiAyush55396 ·
Recursion is when a function calls itself to solve a problem. The call stack is like a pile of unfinished tasks, storing each function's state until it returns. Understand both for powerful, elegant code! #Recursion #CallStack #Programming
17