有在线/独立的计算机模拟器/演示程序吗?

发布于 2024-11-17 11:38:31 字数 515 浏览 2 评论 0原文

我希望能够让学生了解现代计算机内程序执行期间确切发生了什么 - 例如内存地址、引用、堆栈、堆等的使用。

理想情况下,我希望他们能够玩某种演示,其中运行一个简单的应用程序(例如计算器、基本数据库等)并可以暂停,并且可以在相当低的级别查看运行程序的机器的状态通过“漂亮的”GUI。

这样的应用存在吗?如果没有,任何超级编码员能否就编写这样的软件的可行性提出建议?目标受众可能是学习现代面向对象语言(C#、Java 最好)的一年级计算机科学学生。

编辑:

我认为这已经冷了,但今天有人发帖,所以我想我最好更新...

我可能应该在这个问题中加入“图灵”和“机器”这两个词。我认为人们以为我想调试 Windows 或其他东西,而实际上我只是在考虑 TM。 这是一个相当不错的模拟器,尽管按照今天的标准来看还算不上漂亮。

如果有人知道其他人,我将不胜感激您发布链接。谢谢。

I would like to be able to give students an awareness of exactly what happens during program execution inside a modern computer - e.g. use of memory addresses, references, stack, heap and so on.

Ideally I'd like for them to be able to play with some kind of demo where a simple application (e.g. calculator, rudimentary database etc.) runs and can be paused and the state of the machine running the program viewed at quite a low level via a 'pretty' GUI.

Does such an application exist? And if not, could any super-coders advise on the feasibility of writing a piece of software like this? The target audience are probably 1st year Comp Sci students learning a modern OO language (C#, Java ideally).

EDIT:

I thought this had gone cold but someone posted today so I thought I'd better update...

I should probably have put the words 'Turing' and 'machine' into this question. I think people thought I wanted to debug Windows or something when actually I was just thinking of TMs. This is a pretty good simulator, though not pretty by today's standards.

If anyone knows of any others, I'd appreciate you posting a link. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事还在继续 2024-11-24 11:38:31

我一直在谷歌上搜索同样的事情(实时查看堆和堆栈的能力)并发现了这个:

http://www.pythontutor.com/visualize.html#mode=edit

I've been googling around for the same sort of thing (ability to see the heap and stack in real time) and came across this:

http://www.pythontutor.com/visualize.html#mode=edit

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文