Codesourcery想用C++重写gcc,绑架?

发布于 2022-09-13 10:36:59 字数 82 浏览 7 评论 9

本帖最后由 prolj 于 2010-06-02 13:11 编辑

对有些人来说是悲剧。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

街道布景 2022-09-20 06:25:39

你去ml上说吧,我就看看。

情未る 2022-09-20 06:25:01

呵呵,你可以去mailing list上建议一下

再见回来 2022-09-20 06:24:42

用Coo重写最合适,编译器仍然是C,方法是OO
http://sourceforge.net/projects/coo/

攒一口袋星星 2022-09-20 06:23:49

有趣

尤怨 2022-09-20 06:18:51

聊远了,呵呵

白芷 2022-09-20 04:37:11

我们在IRC上随便聊聊,还想找你确认来着。

鹤舞 2022-09-20 03:38:06

回复 1# prolj

    这个信不是mark代表CodeSourcery发的,而是代表SC发的。这个决定体现了GCC开发者社区的想法。所以没有绑架一说。

顾北清歌寒 2022-09-19 23:23:37

贵在折腾

魔法少女 2022-09-19 23:09:46

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文