c++ - 理解c++、编译等

标签 c++ compiler-construction

<分区>

您是否知道解释 C++ 编译器工作原理的基础知识的简洁(不是书籍,可能是免费文档)引用资料?我认为这有助于更好地理解 c++ 编程的一些规则。

最佳答案

GCC Internals免费电子书。

The purpose of this book is to address the demands of GCC hackers. We start with a description of GCC 3.4.1 architecture focusing on the source code parser. We chose this version of GCC because we used this version mostly. Then we address the problem of extension development. We present the GCC Extensibility Modules (GEM) project in the next chapter. GEM provides a number of hooks throughout GCC source code. It is implemented as a patch to GCC. A GEM-based compiler extension is developed as a stand-alone program. When the extension is completed, only its source code is distributed compared with distributing the source code of the GCC if GEM is not used. We give examples that demonstrate GEM programming at the end of the book.

(编辑:对不起,我想念你不想要一本书。但我仍然认为这是你正在寻找的重要信息资源。你当然不需要通读它,你可以只通过您感兴趣的部分。)

关于c++ - 理解c++、编译等,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5349562/

相关文章:

c++ - 编译器在哪里存储 C++ 类的方法?

C++ build设置以忽略注释中的更改

compiler-construction - 是什么让 COBOL 及其性能(与其年龄相比)如此之快?

c++ - 关于 std::vector::end() 的问题

c++ - 在运行时管理共享库之间的 Boost::any

c++ - 在 C++ 中创建对象,如果已经构造了怎么办?

android - 是否有任何基于 Java 的 C/C++ 编译器?

C++ : Can the compiler optimize this code segment?

c++ - 如何模仿派生到基指针自动转换?

c++ - 查找集合的方法