EDG C++ 前端正式开源发布
EDG C++ front-end goes public

原始链接: https://edgcpp.org/#transition

## 第一部分 三十年来,EDG 前端一直是業界 C++ 编译工作的核心,也是同类引擎中唯一达到生产质量标准的源到源转换引擎。 ## 即将推出 完整的故事仍在书写中。 本节将介绍 EDG 的创立过程、幕后人物、前端发展的各个里程碑,以及基于 EDG 构建的编译器和工具。 如果你想分享这段历史中的某个故事,欢迎在本网站的代码仓库中提交议题。

```EDG 是备受认可的专有 C++ 前端开发者。随着公司逐渐收缩,其编译器已依据 Apache 2.0 许可证(附 LLVM 例外条款)开源。该前端负责解析、语义分析、模板实例化和 constexpr 求值,然后生成中间表示或 C/C++ 源代码。它曾为 Intel 和 SGI 的编译器、分析工具以及 Visual Studio 的 C++ IntelliSense 提供支持。 业界普遍认为 EDG 极其重视正确性和标准符合性。它尤其实现了 C++98 中难度很高的 `export templates` 功能,并影响了后来语言特性的设计,包括反射。 社区对此反应不一。支持者认为,此次开源是一项重大贡献,也可能为 Clang、GCC 或 MSVC 提供创意或可复用组件。怀疑者则质疑,这类高度专业化的代码库能否在缺少更大社区支持的情况下持续发展,尤其是在商业编译器纷纷转向 Clang 的背景下。不过,也有人称赞其数十年的开发历史、快速构建能力、以 C 语言为主的可移植实现,以及团队留下的技术遗产,同时批评发布公告的文字听起来像是 AI 写的。```
相关文章

原文

Part one

For thirty years, EDG's front end has powered C++ compilation across the industry as the only production-quality source-to-source engine of its kind.

Coming soon

The full story is still being written

This section will cover EDG's founding, the people behind it, the milestones of its front end, and the compilers and tools built on top of it. Have a piece of that history to share? Open an issue on the site's repository.

联系我们 contact @ memedata.com