Date: Tue, 5 Mar 2002 17:40:48 +0100 From: Raymond Wiker <Raymond.Wiker@fast.no> To: Kenneth Culver <culverk@alpha.yumyumyum.org> Cc: Martin Ankerl <martinankerl@web.de>, freebsd-hackers@FreeBSD.ORG Subject: Re: C vs C++ Message-ID: <15492.62736.239246.919734@raw.grenland.fast.no> In-Reply-To: <20020305113039.W3994-100000@alpha.yumyumyum.org> References: <001701c1c461$a5b21db0$df02110a@klumpert> <20020305113039.W3994-100000@alpha.yumyumyum.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kenneth Culver writes: > The code itself may be fast, but programs written in c++ tend to link to a > lot of shared libs, which in itself can be pretty slow. That's *not* unique to C++. On my machine, /usr/lib contains 73 shared libs, and these are mainly C libraries. If you want arguments against C++, try any of these: C++ programs use a *lot* of header files, and these do in general cause more work for the compiler than do the C header files. This boils down to noticeably longer compile times. C++ is a *much* larger language, with *much* more complicated semantics and behaviour. A large proportion of C++ programmers do not know the language well enough that they should be allowed to program in it. -- Raymond Wiker Mail: Raymond.Wiker@fast.no Senior Software Engineer Web: http://www.fast.no/ Fast Search & Transfer ASA Phone: +47 23 01 11 60 P.O. Box 1677 Vika Fax: +47 35 54 87 99 NO-0120 Oslo, NORWAY Mob: +47 48 01 11 60 Try FAST Search: http://alltheweb.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15492.62736.239246.919734>