|
关注:1
2013-05-23 12:21
求翻译:This approach has the advantage that it would decouple the implementation of the standard functions from the implementation of the compiler, and would still be reasonably convenient for programmers. However, a big disadvantage is that every executable file in a system would now contain a complete copy of the collection是什么意思?![]() ![]() This approach has the advantage that it would decouple the implementation of the standard functions from the implementation of the compiler, and would still be reasonably convenient for programmers. However, a big disadvantage is that every executable file in a system would now contain a complete copy of the collection
问题补充: |
|
2013-05-23 12:21:38
正在翻译,请等待...
|
|
2013-05-23 12:23:18
这种方法有好处它将分离标准函数的实施从编译器的实施的和为程序员是合理地方便的。然而,大缺点是在系统的每份可执行文件现在将包含标准函数的汇集的一个完全拷贝,是极端大手大脚的磁盘空间。
|
|
2013-05-23 12:24:58
这种方法有好处它将分离标准函数的实施从编译器的实施和更为程序员是合理地方便的。 然而,大缺点是在系统的每份可执行文件现在将包含标准函数的汇集的一个完全拷贝,是极端大手大脚的磁盘空间。 (在一个典型的系统, libc.a约为8 MB,并且libm.a是大约1 MB。)更坏的,每个连续节目在记忆现在将包含它这些作用的自己的拷贝,是极端大手大脚的记忆。 另一大缺点是中的任一变成所有标准函数,无论小,将要求图书馆开发商重新编译整个源文件,使标准函数的发展和维护复杂化的费时的操作。
|
|
2013-05-23 12:26:38
这种方法的优点是它会解耦从编译器,编译器执行的标准功能的实现,仍会合理方便的程序员。然而,最大缺点是集合的在一个系统中的每个可执行文件现在将包含完整副本的标准函数,将极其浪费磁盘空间。(典型的系统上,libc.a 是大约 8 MB 和 libm.a 是大约 1 MB)。更糟糕的是,每个正在运行的程序现在将包含其自己的这些函数在内存中,这将是非常浪费的内存副本。另一个最大缺点是对任何标准的功能,无论多小的任何更改将需要重新编译整个源文件,耗时的操作,会使复杂的开发和维护的标准函数库开发人员。
|
|
2013-05-23 12:28:18
正在翻译,请等待...
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区