Go如何快速编译? [英] How does Go compile so quickly?

查看:168
本文介绍了Go如何快速编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Go网站上搜索和搜索,但我似乎找不到Go的非凡建设时间的解释。它们是语言特性(或缺乏)的产品,高度优化的编译器,还是其他?我不是想推广Go;我只是好奇。

I've Googled and poked around the Go website, but I can't seem to find an explanation for Go's extraordinary build times. Are they products of the language features (or lack thereof), a highly optimized compiler, or something else? I'm not trying to promote Go; I'm just curious.

推荐答案

依赖性分析。

Go常见问题


Go为软件
构建提供了一个模型,使依赖
分析变得容易,并避免了C风格包含文件和
库的大部分
开销。 / p>

Go provides a model for software construction that makes dependency analysis easy and avoids much of the overhead of C-style include files and libraries.

这是快速编译的主要原因。这是设计。

That is the main reason of fast compilation. And this is by design.

这篇关于Go如何快速编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆