Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Miles Bader Newsgroups: comp.lang.c++ Subject: Re: Generally, are the programs written by C++ slower than written by C 10% ? Date: Tue, 06 Sep 2011 16:25:10 +0900 Organization: NEC Electronics Lines: 24 Message-ID: References: <4e61c07d$0$3061$7b1e8fa0@news.nbl.fi> <4e6255c3$0$4390$7b1e8fa0@news.nbl.fi> <4e63bdc6$0$3120$7b1e8fa0@news.nbl.fi> <4e6481df$0$2860$7b1e8fa0@news.nbl.fi> Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net U6ruihHlZqbR4H57CzouXAzN65kVq/ZloPQZ1axWfDdIxA/bSV Cancel-Lock: sha1:6kuuISPzJWzYmIkK20rRchRR4uo= sha1:8DUnx7boBf4JBzNG9N08G+aMjYY= System-Type: x86_64-unknown-linux-gnu Blat: Foop Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:9783 BGB writes: >> (And I'm not saying that C++ is not lacking. It certainly is. However, >> it's much less so than C.) > > in terms of usability, maybe. > there is more to the world than usability though. Sure... but C++ is more usable, tends to result in faster (in execution) programs, yields more maintainable, easier to read code, and makes it much easier to write more robust programs, more quickly, than C... The downside is that it is more complex ("more rope") and so requires somewhat more learning (tho not nearly as much as many seem to think -- much of the complexity in C++ doesn't really manifest unless you're doing advanced things). Not a bad set of tradeoffs to be honest.... -Miles -- Road, n. A strip of land along which one may pass from where it is too tiresome to be to where it is futile to go.