Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 13:15:06 -0500 (EST)
From:      Kenneth Culver <culverk@alpha.yumyumyum.org>
To:        Raymond Wiker <Raymond.Wiker@fast.no>
Cc:        Martin Ankerl <martinankerl@web.de>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: C vs C++
Message-ID:  <20020305131439.J4700-100000@alpha.yumyumyum.org>
In-Reply-To: <15492.62736.239246.919734@raw.grenland.fast.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, that too, I guess I was just using KDE as an example of something
being extremely slow due to a lot of libs being loaded.

Ken

On Tue, 5 Mar 2002, Raymond Wiker wrote:

> 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?20020305131439.J4700-100000>