A low-level language, we used to call this assembly programming, you're down at the level of, your primitives are literally moving pieces of data from one location of memory to another, through a very simple operation.
一个低级的语言,我们曾经将其称为假设编程,你们只是处于用基本要素,把一些数据碎片,从记忆存储器的一个地方,通过简单的操作来转到另外一个地方。
So notice already the parallels between the lower level details and now these higher level details, so to speak, of actually programming.
就是说,在实际编程中,要注意区分低层次的细节,和更高层次的细节。
OK. Now, fortunately we're not going to start with Turing's six primitives, this would be really painful programming, because they're down at the level of, "take this value and write it onto this tape."
好了,现在,幸好我们能开始讲述,图灵的六个基本类型了,这会是非常痛苦的编程,因为它们只在这个阶段上,“拿到这个结果并写在这一卷磁盘上“
First of all, we don't have tapes anymore in computers and even if we did, you don't want to be programming at that level.
首先,我们不再在计算机里面用磁盘了,即使我们用,你不会想在这个阶段上编程。
What we're going to see with programming language is that we're going to use higher-level abstracts.
我们将要看到的是,我们将会在高端的阶段中使用编程语言。
But because we're now programming a computer at a lower level and because as we said last week, you really have to be precise and then careful to instruct this machine, this fairly dumb machine that will only do what you tell it to do very specific instructions, do we have to use a more precise syntax than just a puzzle piece might have previously allowed.
但是我们是要在电脑的低平台上编程不是吗?,那我们就要像我上周提到过的那样,一定要小心,小心,再小心地,操纵这台又聋又哑的机器,它只会根据你敲进去的,特定指令来做事,所以我们必须使用非常精细的语法,而不是模模糊糊,让人费解的概念。
应用推荐