2014年4月26日星期六

Solidot: 用Go开发Go编译器

Solidot

奇客的资讯,重要的东西

用Go开发Go编译器
http://solidot.org.feedsportal.com/c/33236/f/556826/s/39c8b175/sc/28/l/0L0Ssolidot0Borg0Cstory0Dsid0F3930A7/story01.htm
Apr 26th 2014, 16:40

Google的Go编程语言开发者Russ Cox在Go开发者大会GopherCon 2014上谈论了Go 编译器从C语言移植到Go语言。Go编译器最早是用C写的,原因是 1) Go不存在;2) Go不稳定;3) Go最初是设计用于写网络/系统代码,而不是编译器。但现在,1) Go存在了;2) Go稳定了;3) Go变成了一个出色的通用语言, 而编译器对语言设计的影响不会太大。所以他们决定自动将C语言写的Go编译器转变到Go语言,因为从头开始写太麻烦了。用Go开发的Go编译器比用C开发的编译器速度略慢,但不会太显著。This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.



You are receiving this email because you subscribed to this feed at https://blogtrottr.com

If you no longer wish to receive these emails, you can unsubscribe here:
https://blogtrottr.com/unsubscribe/cz0/jPbdSR

没有评论:

发表评论

博客归档