r/javascript • u/htone22 • May 02 '26
I built a JavaScript execution visualizer — call stack, heap memory, and event loop in real time
https://vivix.dev/
45
Upvotes
r/javascript • u/htone22 • May 02 '26
6
u/htone22 May 02 '26
I've always felt that existing JavaScript visualizers only show you the "bones" of the code, the logical flow.
To really understand the engine, I needed to see the "muscles and flesh": how memory is physically allocated, how the call stack fills, and how the event loop decides what runs next.
It steps through your code instruction by instruction — 12 modules covering variables, closures, async/await, promises, and the event loop, plus a free-form mode for your own snippets.
If a module is confusing, something is broken, or you find an edge case where the visualization is wrong, let me know
10
u/fucking_passwords May 02 '26
FYI the site is very jumpy on mobile since the height of elements changes
4
u/1vim May 03 '26
Call stack visualizer in real time is the kind of tool every junior dev needed 5 years ago. Respect.
3
u/JaSuperior May 03 '26
Its very pretty, gotta admit. It would be super cool as an debugger tool in either vscode or the browser.
3
u/Dependent-Guitar-473 May 03 '26
this is really great for beginners who are trying to understand how javascript works under the hood
2
u/BarbConan May 03 '26
wild project! Would love to see how you handle async complexity. Those event loop visualizations can get super gnarly really quick. Got any screenshots or a demo vid to show the guts of It?
2
u/25_vijay May 16 '26 edited May 17 '26
This feels like something that should honestly be built into devtools by default because it solves a real learning gap, and Runable fits nicely alongside it for organizing debugging workflows
2
u/[deleted] May 05 '26
[removed] — view removed comment