Closed WALL-E closed 7 years ago
《图灵程序设计丛书:程序是怎样跑起来的》一书从计算机的内部结构开始讲起,以图配文的形式详细讲解了二进制、内存、数据压缩、源文件和可执行文件、操作系统和应用程序的关系、汇编语言、硬件控制方法等内容,目的是让读者了解从用户双击程序图标到程序开始运行之间到底发生了什么。同时专设了“如果是你,你会怎样介绍?”专栏,以小学生、老奶奶为对象讲解程序的运行原理,颇为有趣。《图灵程序设计丛书:程序是怎样跑起来的》图文并茂,通俗易懂,非常适合计算机爱好者及相关从业人员阅读。
stdcall和cdecl的区别,下面是从C源码输出为汇编语言
gcc -S t.c
stdcall (gnu::stdcall, __stdcall, _stdcall)
On 32-bit x86 targets, this attribute changes the calling convention of a function to clear parameters off of the stack on return. This convention does not support variadic calls or unprototyped functions in C, and has no effect on x86_64 targets. This calling convention is used widely by the Windows API and COM applications. See the documentation for __stdcall on MSDN.
数据结构是内存花式玩法
外围硬件的关键属性
简单略读,相关内容参考 #4
第1章 对程序员来说CPU是什么
第2章 数据是用二进制数表示的
专栏
第3章 计算机进行小数运算时出错的原因
第4章 熟练使用有棱有角的内存
第5章 内存和磁盘的亲密关系
第6章 亲自尝试压缩数据
专栏
第7章 程序是在何种环境中运行的
第8章 从源文件到可执行文件
第9章 操作系统和应用的关系
专栏
第10章 通过汇编语言了解程序的实际构成
第11章 硬件控制方法
专栏
第12章 让计算机“思考”
专栏
附录 让我们开始C语言之旅