r/PythonLearning • u/anish2good • 1d ago
Built a Python Playground that visualizes data structures, concurrency, and full memory analysis in real time
Enable HLS to view with audio, or disable this notification
Hey r/PythonLearning ,I’ve been working on an online Python playground that goes a bit beyond the usual “run and see output.” It actually visualizes:
- Data structures
- Concurrency
- Complete Memory analysis (you can literally see which variables escape to heap vs stay on stack, with the compiler’s decisions highlighted)
It’s at: https://8gwifi.org/online-compiler/ I made it mostly for my own learning and debugging, but I figured some of you might find it useful too — especially when teaching, onboarding, or just trying to really understand what the runtime is doing under the hood.
Would love any feedback, bug reports, or feature ideas. It’s still a work in progress but already helped me catch a few sneaky escape-analysis surprises in my own code.Let me know what you think!
18
Upvotes
1
u/datadriven_io 1d ago
Fascinating! It looks eerily similar to my execution schema on datadriven.io. Funny to see how similarly we approached this! Trying to come up with a single frame-based execution animation for every possible algorithm+data type was very challenging. Mine excels in debugging. Yours excels in code understanding. Bravo!