Codesourcery想用C++重写gcc,绑架?
本帖最后由 prolj 于 2010-06-02 13:11 编辑
对有些人来说是悲剧。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
本帖最后由 prolj 于 2010-06-02 13:11 编辑
对有些人来说是悲剧。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(9)
你去ml上说吧,我就看看。
呵呵,你可以去mailing list上建议一下
用Coo重写最合适,编译器仍然是C,方法是OO
http://sourceforge.net/projects/coo/
有趣
聊远了,呵呵
我们在IRC上随便聊聊,还想找你确认来着。
回复 1# prolj
这个信不是mark代表CodeSourcery发的,而是代表SC发的。这个决定体现了GCC开发者社区的想法。所以没有绑架一说。
贵在折腾
http://gcc.gnu.org/ml/gcc/2010-05/msg00705.html
Using C++ in GCC is OK
From: Mark Mitchell <mark at codesourcery dot com>
To: GCC <gcc at gcc dot gnu dot org>
Date: Sun, 30 May 2010 17:26:16 -0700
Subject: Using C++ in GCC is OK
I am pleased to report that the GCC Steering Committee and the FSF have
approved the use of C++ in GCC itself. Of course, there's no reason for
us to use C++ features just because we can. The goal is a better
compiler for users, not a C++ code base for its own sake.
Before we start to actually use C++, we need to determine a set of
coding standards that will apply to use of C++ within GCC. At first, I
believe that we should keep the set of C++ features permitted small, in
part so that GCC developers not familiar with C++ are not rapidly
overwhelmed by a major change in the implementation language for the
compiler itself. We can always use more of C++ later if it seems
appropriate to do so, then.
For example, I think it goes without question that at this point we are
limiting ourselves to C++98 (plus "long long" so that we have a 64-bit
integer type); C++0x features should not be used. Using multiple
inheritance, templates (other than when using the C++ standard library,
e.g. std::list<X>), or exceptions also seems overly aggressive to me.
We should use features that are relatively easy for C programmers to
understand and relatively hard for new C++ programmers to misuse. (For
example, I think constructors and destructors are pretty easy and hard
to misuse.)
Because C++ is a big language, I think we should try to enumerate what
is OK, rather than what is not OK. But, at the same time, I don't think
we should try to get overly legalistic about exactly what is in and what
is out. We need information guidelines, not an ISO standard.
Is there anyone who would like to volunteer to develop the C++ coding
standards? I think that this could be done as a Wiki page. (If nobody
volunteers, I will volunteer myself.) Whoever ends up doing this, I
would urge the rest of us not to spend too much time in the C++
coding-standards bikeshed; we're not going to win or lose too much
because we do or do not permit default parameters.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713