From owner-freebsd-hackers Tue Mar 5 8:31:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 22A7037B400 for ; Tue, 5 Mar 2002 08:31:06 -0800 (PST) Received: (qmail 4021 invoked from network); 5 Mar 2002 16:31:01 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 5 Mar 2002 16:31:01 -0000 Date: Tue, 5 Mar 2002 11:31:01 -0500 (EST) From: Kenneth Culver To: Martin Ankerl Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: C vs C++ In-Reply-To: <001701c1c461$a5b21db0$df02110a@klumpert> Message-ID: <20020305113039.W3994-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. Ken On Tue, 5 Mar 2002, Martin Ankerl wrote: > > My main problem with C++ is that it adds a lot of overhead, and it's slow. > > Well written C++ code can be very fast, have a look at > http://osl.iu.edu/~tveldhui/papers/Expression-Templates/exprtmpl.html > and > http://osl.iu.edu/~tveldhui/papers/Template-Metaprograms/meta-art.html > and > http://www.oonumerics.org/blitz/ > > > Martin > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message