Re: Pre compiled headers with g++ - is it possible?

From: Jose McRodrigues Ibn Dulchez Hottab (chungachanga_at_howdoesitsoundtoyou.au)
Date: 09/05/03


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.



Relevant Pages

  • Re: Does Python really follow its philosophy of "Readability counts"?
    ... with enforcing that "shouldn't" in the language itself? ... In Python, direct access to pointers is a MUST NOT. ... where you are allowed to mess with the implementation. ... human assembly language programmers? ...
    (comp.lang.python)
  • Re: Is classless worth consideration
    ... > The problem we Python programmers are having is understanding the ... Python itself but in the "we Python programmers". ... specialmethod init ...
    (comp.lang.python)
  • Re: How to organize Python files in a (relatively) big project
    ... storing your scripts without the problem of breaking the import statements. ... Python script it must reach before you split it into two separate files, ... management system can really help in anticipating it at that point. ... > like the advice of more experienced python programmers. ...
    (comp.lang.python)
  • A Pythonic Way to Measure and Improve Your Programming Skills?
    ... Those who know me know I am no fan of the programmer certification industry and I agree that your typical certificate arrangement, e.g. to show HR to get that box checked in your candidate file, so a company can skip responsibility in vetting a candidate, is un-Pythonic. ... However, I do think we need a good answer to the engineering manager or team leader who asks, "how do I know this person knows Python?", and to the candidate who thinks, "I believe I'm good at Python but am I as good as I think?". ... We all run into or are programmers who think they are hot-stuff, especially those of us who work solo as many in our community do, but when put side-by-side against others, fall a bit short. ...
    (comp.lang.python)
  • Re: Python or PHP?
    ... If it's one of the things for which Python has ... In the one case where perl provides you two ways to do things, ... >>> 100 Perl programmers, on average. ... >> developing in the language. ...
    (comp.lang.python)