That's why your operating systems and your personal computers often crash for no apparent reason. Just because two things happen to, once in a while, occur at the same time.
这就是为什么你的电脑或者操作系统,经常会毫无预兆的崩溃了,这是因为两件事情正好同时发生了,通常还有人工输入。
So thankfully, modern operating systems allow you to put parts of files here, parts of your file here, parts of your file here, but the end result is that your files get fragmented.
因此,谢天谢地,现代操作系统允许你,把这里的文件进行分块,在这里存一部分,在那儿存一部分,但最后的结果是你的文件变成了分片的。
And then to create the object, I'll simply do a set of inserts.
我将此返回做为我的集合,然后创建对象,我会一系统简单的插入操作。
The operating system still finds it but this process of getting some of your files bits from here, some from here, some from here, induces a potential slow down.
操作系统根据文件块的地址,仍旧能够找到这一整个文件,这也导致了潜在速度变慢。
Only the operating system has controlling of byte zero NULL in the computer's RAM and so if a function ever returns null, aka zero, well, something must have gone wrong because that can't possibly belong to me that memory because by human convention zero is owned by the operating system; not by a program I wrote.
只用操作系统在内存中能够控制,字节0,并且如果一个函数返回,或者说0,好的,可能出错了,因为那可能是不属于我的内存,因为惯例上,0是由操作系统拥有的,而不是由我的程序拥有的。
Now, in the world of Linux and Unix more generally, both of which are our operating systems that had been around for many, many years, Mac OS is based on one of-- one version thereof.
在Linux和Unix里更广泛,对了,这两个都是历史悠久的,操作系统,就连Mac操作系统,都是基于它的一个版本设计出来的。
It's a little more involved on a PC but it's all free, the software you can download, and Linux in similar operating systems generally come with a compiler or you run a simple command to get it.
在PC机上有点复杂,但是它是免费的,你一般下载的软件,类似Linux的操作系统等等通常都需要,一个编译器,或者你可以运行一些简单的指令来获取。
If you've ever noticed, Mac OS has its Apple menu on the top left and Windows has its start menu in the bottom left, really for no compelling reason.
如果你注意到,你会发现,Mac操作系统,在其左上角是Apple菜单,Windows却把它的开始菜单,放在左下角,毫无理由可言。
But for now assume that GetInt just makes the cursor blink or at least stay steady -- it depends on your computer and operating system and such.
但是现在假设GetInt只是使光标闪烁,或者是不变的--它依赖于你的电脑,和操作系统之类的。
In the other context, you know in a Window and a Windows machine, you close it with the X on the top right hand corner, where do you close it in the Mac?
还有一个就是,在Windows操作系统下,当你要关闭某个东西时,需要点击,右上角的“X“,那在Mac操作系统下呢?
And if you've ever heard the word driver software that you install in your computer so that your computer, your operating system, Windows or Mac OS, knows how to talk to that piece of hardware, it's that driver software that then empowers the operating systems to send those commands as well, up, the data is laid out on the disk.
并且如果你听说过安装到,电脑中的驱动软件这个词的话,你的操作系统,比如Windows或者是苹果操作系统,通过这个驱动软件我们的电脑,才能知道如何与这个硬件进行通信,正是因为这个驱动软件,操作系统才能根据数据,左右移动的指令来读取磁盘里的数据。
应用推荐