Re:Teaching Programming in the Age of ChatGPT
by HappMacDonald on Thursday July 20, 2023 @03:18PM
(#36805387)
I'd hazard to guess that REPL of a simple virtual machine would work wonders for teaching about pointers and memory management.
I can't recall exactly but I think https://godbolt.org/ might do that for example?
Re:Teaching Programming in the Age of ChatGPT
by TheOnly92 on Thursday July 20, 2023 @09:42PM
(#36809091)
A simple virtual machine might be nice, but imagine the pains of trying to guide students to install something across different environments.
Godbolt is a compiler explorer, it shows disassembly of a code but there's nothing to visualize each step in the process.
I don't think Jupyter notebooks or like similar REPL interfaces will help too much for my course, at least in the current syllabus. I'm aiming to teach about pointers, memory management etc, the more fundamental parts of how to interact with computers instead of a high level language. Though I would agree that the current UI is suboptimal, some improvements in allowing students to visualize memory layouts and see how their code manipulates memory will help a lot.