by
Anonymous Coward
on 2012年08月18日 21時20分
(#2214448)
Migrating GCC to C++ as implementation language:
C++ is a standardized, well known, popular language. C++ is nearly a superset of C90 used in GCC. The C subset of C++ is just as efficient as C. C++ supports cleaner code in several significant cases. C++ makes it easier to write and enforce cleaner interfaces. C++ never requires uglier code. C++ is not a panacea but it is an improvement.
必要性があったの? (スコア:0)
C++で記述し直すことによりメンテナンスがしやすく成るとか性能が上がるとかいった利点が有ったのでしょうか?
C++コンパイラは実質的にCコンパイラも内包しているので言語の陳腐化等も問題にはならないと思うのですが
C++とCは互換ではないです (スコア:1)
dodongaです。
> C++コンパイラは実質的にCコンパイラも内包しているので
良くある勘違いです。
C++とCは互換ではないです。
閑話休題
Re: (スコア:0)
Cが内包されていない、もしくはほかで置き換えることが出来ない点ってどんな点?
いやまあ、ペダンティックな話じゃなくて、GCCについてなんだけど
Re: (スコア:0)
GCCは以前からCコンパイラではない
コンパイラを呼び出すドライバだ
Re:C++とCは互換ではないです (スコア:0)
つまりCなりC++の差は実質問題ないってこと?
Re: (スコア:0)
1.CとC++は全く違う
2.GCCがCで記述されていたのがC++に変わる
3.なんで書いてあっても良い
この3つに要約される
Re:C++とCは互換ではないです (スコア:2, 参考になる)
Migrating GCC to C++ as implementation language:
C++ is a standardized, well known, popular language.
C++ is nearly a superset of C90 used in GCC.
The C subset of C++ is just as efficient as C.
C++ supports cleaner code in several significant cases.
C++ makes it easier to write and enforce cleaner interfaces.
C++ never requires uglier code.
C++ is not a panacea but it is an improvement.