MIX 或 MMIX - 哪个最好

发布于 2024-10-07 17:42:57 字数 348 浏览 5 评论 0原文

嗨,我的第一个问题…… 我开始阅读《计算机编程的艺术》。我知道这很难。首先,我决定学习书籍的语言——我从 MIX 开始。我做了一些练习,我想我可以用书中的程序进行管理。但问题到处都是我写的,MIX老了,学MMIX等等。好的,但是为什么 - 这是我的问题?我正在学习 1 moth MIX,我开始理解书中的问题,现在停止工作并再次开始学习新的 ASM,为什么?话说,MIX很老了,但是书上的代码都是MIX,如果我花时间去学习MMIX,我就得重新写一遍问题,我想这对我来说会很困难。 MIX 太老了,我真的必须学习新版本吗?有更多 TAOCP 经验的人可以给我一个建议吗:继续阅读书籍 - MIX 中的示例、问题等,或者停止学习 MMIX。当然,如果我选择第一或第二选择,我会赢得什么?

Hi my first question …
I start reading ‘The Art of Computer Programming’. I know it’s hard. First I decide to lean the language of book – I start with MIX. I made some exercises and I think I can manages with programs in the book. But the problem is everywhere I wrote, MIX is old, learn MMIX and so on. OKS, but why - this my question? I am learning 1 moth MIX and I start to understand problems in book and now stop working and start learning new ASM again, why? Say, MIX is old, but all code in the book is MIX if I spend time to learn MMIX I have to rewrote problems again, I think it will be very hard for me. Does MIX is so old that I really must learn new version? Can some one who have more experience with TAOCP to dive me an advice: Go on with book – examples, problems and so on in MIX or Stop to learn MMIX. And, of course what I will win if I do the first or second choice?

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

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

发布评论

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

评论(2

躲猫猫 2024-10-14 17:42:57

MMIX 几乎在所有方面都优于 MIX。第 1 卷的分册 1 详细解释了原因。幸运的是,如果您已经学习了 MIX,那么学习 MMIX 应该不会太难。

在 MMIX 中重写您已经在 MIX 中完成的练习应该不难;如果是,则表明您没有真正掌握相关算法。

请记住:TAOCP 中的绝大多数算法都是用英语描述的,而不是用 MIX 或 MMIX 描述的。

然而:如果你的目标是成为一名“真正的软件工程师”,甚至是更擅长算法,TAOCP 可能不是最好的起点。

我建议您看一下由 Leiserson 和 Erik Demaine 教授的 MIT OCW“算法导论”课程。您可以在 http 找到它的链接以及精彩的评论://www.catonmat.net/blog/mit-introduction-to-algorithms-part-one

MMIX is superior to MIX in just about every way. Fascicle 1 of Volume 1 explains why, in detail. Fortunately, if you've already learned MIX, learning MMIX shouldn't be too hard.

Rewriting the exercises you have already completed in MIX should not be difficult in MMIX; if it is, it suggests that you don't really grasp the algorithms in question.

Remember: the vast majority of the algorithms in TAOCP are described in English, not in MIX or MMIX.

However: if your goal is to be a "real software engineer", or even to be better at algorithms, TAOCP may not be the best place to start.

I'd recommend you take a look at the MIT OCW "Introduction to Algorithms" course taught by Leiserson and Erik Demaine. You can find links to it, along with a nice commentary, at http://www.catonmat.net/blog/mit-introduction-to-algorithms-part-one

德意的啸 2024-10-14 17:42:57

Donald Knuth 将转换新版本的 TAOCP 以使用 MMIX。所以新卷刚刚来了
关于组合算法的第 4A 卷已经使用了新的 MMIX。所以如果你想阅读
无论如何,新东西你都需要 MMIX。对MMIX相对于MIX的支持也变得更好。检查 MMIX 存储库 http://www.mmix.cs.hm.edu 它包含可执行文件适用于 Windows 和 Linux 以及所有类型的文档。最后同样重要的是,MMIX 有一个复杂的管道模拟器,非常接近真实的现代机器,而 MIX 则完全不同。因此,对于对 MMIX 有浓厚兴趣的人来说,推荐使用 MMIX。
马丁

Donald Knuth will convert the new editions of TAOCP to use MMIX. So the new volume, that just came
out Volume 4A on Combinatorial Algorithms is already using the new MMIX. So if you want to read
the new stuff, you need MMIX anyway. The support for MMIX relative to MIX is also becomming better. Check the MMIX repository at http://www.mmix.cs.hm.edu it contains executables for windows and linux and all kind of documentation. Last not least, MMIX has a sophisticated pipeline simulator, that comes very close to real modern machines, and MIX is not anything like it. So for someone with a serious interest MMIX is recomended.
Martin

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