Re: Pre compiled headers with g++ - is it possible?
From: Jose McRodrigues Ibn Dulchez Hottab (chungachanga_at_howdoesitsoundtoyou.au)
Date: 09/05/03
- Next message: Jose McRodrigues Ibn Dulchez Hottab: "Re: Pre compiled headers with g++ - is it possible?"
- Previous message: NS_at_home.net: "Re: Daemon vs app"
- In reply to: Ulrich Eckhardt: "Re: Pre compiled headers with g++ - is it possible?"
- Next in thread: Thomas Richter: "Re: Pre compiled headers with g++ - is it possible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 5 Sep 2003 12:00:54 -0700
"Ulrich Eckhardt" <doomster@knuut.de> wrote in message
news:bj5h52$fo17t$1@ID-178288.news.uni-berlin.de...
> Julián Albo wrote:
> > Ulrich Eckhardt escribió:
> >
> >>> If speed is the issue, C is always the way to go. C++ wastes way too
> >>> much time and memory.
> >> It is never the language, it is always the programmer that wastes
> >> cycles.
> >
> > If you compile the same program with C and with C++, probably the C++
> > version (if compiles) wastes something. I think that people that blames
> > C++ has that in mind.
>
> True. The C++ runtime is a bit bigger and more complex than the C runtime.
> However, the startup overhead of the runtime is usually small compared to
> the overhead of forking the new process and both are often small compared
> to the runtime of the program itself.
>
> No, the legend that C++ is slow is usually connected with wild fantaties
> about virtual functions, C++ iostreams and exception-handling. Often such
> fantasies are mere FUD though, because it is simply assumed that one
> automatically uses such features and ignores that it is a deliberate
> choice made by the programmer (see my initial statement above).
>
In my experience the choices made by the developers of third party libraries
have
been incredibly poor. Java and Python are designed with an assumption that
some programmers are, er, underperforming. In C++ (or C) one rotten
third party lib could do wonders to your application (stability and
performance wise).
C++ and C have their place but contrary to what might be believed that place
is not
the mainstream application development. C is good for system programming as
it
was originally indended and for writing stuff like Python interpreter by
programmers
who are in no way novices and produce code of decent quality.
For the rest of us Python and Java are the way to go.
The examples of idiot designed and implemented C/C++ code are abundant
and I don't have to point my finger anywhere. Creative idiot coding in C/C++
is much more dangerous than a creative idiot coding in Java and Python.
You _have to be_ cynical and expect the worst in programmers when you design
languages for the modern age. Kudos to Guido.
- Next message: Jose McRodrigues Ibn Dulchez Hottab: "Re: Pre compiled headers with g++ - is it possible?"
- Previous message: NS_at_home.net: "Re: Daemon vs app"
- In reply to: Ulrich Eckhardt: "Re: Pre compiled headers with g++ - is it possible?"
- Next in thread: Thomas Richter: "Re: Pre compiled headers with g++ - is it possible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|