Re: Why is not more FreeBSD software written in C++?

看板FB_chat作者時間20年前 (2006/04/23 00:42), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串18/45 (看更多)
Don Dugger <dugger@hotlz.com> writes: > The fact is that all your c code will compile in c++ That is wrong. To name just one example, C++ is much stricter about type casts than C is. > and the c++ compiler may optimize better then the c compiler. I doubt it. It is the exact same compiler with the exact same optimizer and the exact same code generator. The only difference between gcc and g++ is the parser. > C++ and C are languages that are defined by ANSI No they're not. It may surprise you to learn that there is a whole world outside the USA which does not care one whit about ANSI. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
文章代碼(AID): #14Ibp_00 (FB_chat)
討論串 (同標題文章)
文章代碼(AID): #14Ibp_00 (FB_chat)