Visualize Python, Java, JavaScript, TypeScript, Ruby, C, and C++ Code Execution
pythontutor.com
pythontutor.com
Demo of Python Tutor being used in a computer science textbook: http://www.composingprograms.com/pages/17-recursive-function...
The textbook above is from the introductory computer science course at UC Berkeley (http://cs61a.org)
Previous Discussion (~3 years ago): https://news.ycombinator.com/item?id=4601478
If you are interested in the technical details of CPython, the author posted a mini course on technical details about CPython here: http://pgbovine.net/cpython-internals.htm
1 hour podcast that describes the course: https://talkpython.fm/episodes/show/22/cpython-internals-and...
i should do a much better job consolidating and advertising all of these resources, but time is never on my side :) so i figure that i'll just keep putting more stuff up and let google figure it out for now.
It would be cool if there are examples can help visualize more advance concept such dead lock, semaphore, mutex operations, GL/EGL APIs and shader programming.
http://runestoneinteractive.org/library.html
- How to Think Like a Computer Scientist: Interactive Edition
- CS for All
- Problem Solving with Algorithms and Data Structures Using Python
- Everyday Python
- Java For Python Programmers
- Java Review for the AP CS A Exam
- Java Review
- Programs, Information, and People
- Course Reader - CS160
- Fundamentals of Web Programming
- CS Principles: Big Ideas in Programming
I could see using this to help junior engineers visualize code flow before showing them how to step through code in Chrome dev tools
Fixed version: http://goo.gl/fAyqcV
I had come across a few other similar ones earlier. codingbat.com is one:
http://jugad2.blogspot.in/2013/02/codingbat-progress-graphs-...
The Michael Jordan quote mentioned in that post is a good and inspiring one :)
I recommend those sites to programming beginners who sometimes ask me for resources about Python - but only to start and/or as a supplement. Nothing can make up for getting the full experience of using Python (or any language) in a desktop computer environment, command line, tools, etc.
Now if only it would show cache misses as a button you have to click 400 times before you can continue.
Gonna keep this bookmarked for later...
As I plan to write a blog that would involves PHP code, that could be a nice interactive addition.
BTW interesting work!