WALL-E / r-project

:book: Reading plan
1 stars 0 forks source link

程序是怎么跑起来的 #76

Closed WALL-E closed 7 years ago

WALL-E commented 7 years ago

第1章 对程序员来说CPU是什么

第2章 数据是用二进制数表示的

第3章 计算机进行小数运算时出错的原因

第4章 熟练使用有棱有角的内存

第5章 内存和磁盘的亲密关系

第6章 亲自尝试压缩数据

第7章 程序是在何种环境中运行的

第8章 从源文件到可执行文件

第9章 操作系统和应用的关系

第10章 通过汇编语言了解程序的实际构成

第11章 硬件控制方法

第12章 让计算机“思考”

附录 让我们开始C语言之旅

WALL-E commented 7 years ago

简介

《图灵程序设计丛书:程序是怎样跑起来的》一书从计算机的内部结构开始讲起,以图配文的形式详细讲解了二进制、内存、数据压缩、源文件和可执行文件、操作系统和应用程序的关系、汇编语言、硬件控制方法等内容,目的是让读者了解从用户双击程序图标到程序开始运行之间到底发生了什么。同时专设了“如果是你,你会怎样介绍?”专栏,以小学生、老奶奶为对象讲解程序的运行原理,颇为有趣。《图灵程序设计丛书:程序是怎样跑起来的》图文并茂,通俗易懂,非常适合计算机爱好者及相关从业人员阅读。

WALL-E commented 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.

数据结构是内存花式玩法

WALL-E commented 7 years ago

第11章

外围硬件的关键属性

WALL-E commented 7 years ago

第二、三章

简单略读,相关内容参考 #4