Re: OT: programming languages (was: More pens (was Re: Phoneme winnowing continues))
From: | Stone Gordonssen <stonegordonssen@...> |
Date: | Tuesday, June 10, 2003, 20:05 |
>In C/C++:
> for(;;)
>
>:-)
>
>It works with good compilers.
But how many bytes does this instruction occupy after it is compiled?
>In Clean:
>
> f = f
I don't know clean.
>Well, but, definitely is not anymore. The aim is to have a good
>compiler and a programmer who tries to feed it with code it
>understands well.
Perhaps. I've seen some functional but really cryptic C code which was
extremely hard to maintain.
>Modern languages (*NOT* C or C++ or Java (new, but still
>old-fashioned)) aim at having type systems that find a lot of
>programming errors early and at the same time producing extremely fast
>code. I once tried a Clean compiler against gcc in a simple loop,
>programmed in the natural way in both languages: recursive on Clean,
>iterative in C. Clean was faster.
Indeed, this has been a goal sinmce pre-PC days, though the languages
varied.
>The problem is that people don't believe this and use C++ when they
>want it fast. C++ is extremely slow due to bad design: too many
Hmm, being a programmer, I know that sometimes you don't have a choice of
the language due to management intrerference and shop standards. Still,
within that, knowing the internals of what one works with can be a big
asset, and I find few point&click programmers who do.
>things are dynamic if you use it extensively. Java tries to be
>better, but, of course, usually is even slower. Really modern
>languages would cure two problems: Segmentation Faults/Buffer
>Overflows... and slowliness.
True, but consider how JAVA operates.
>Point&click is aweful, I agree. Programs for MS products are
>exclusively developped under Linux where I work. Otherwise we would
>lose our hair too soon. (I have, actually, but for other reasons, I
>suppose. :-))
So that's where my hair went! :)
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
Reply