The more high level the programming language the slower it is and less efficient it becomes? True or not?
- EddieJLv 710 months agoFavorite Answer
That's not true. High level languages can be compiled with optimizers that can do a very good job.
Meanwhile, there is no guarantee that someone programming with a low-level language will write efficient code.
- SnezzyLv 710 months ago
There's some amount of truth in your statement. For example, look up "The story of Mel" about Melvin Kaye who worked at Royal McBee Computer Corporation. Mel avoided compilers. He avoided optimizing assemblers. He wrote in machine code. It'll be worth your while to follow the links below and see what a REAL programmer did around 1960.
You might enjoy writing a small amount of machine code yourself, if only to discover what has and has not been accomplished in the last 60 years of compiler development.Source(s): https://en.wikipedia.org/wiki/The_Story_of_Mel http://foldoc.org/The%20Story%20of%20Mel,%20a%20Re...
- husoskiLv 710 months ago
I'd say that's true enough--if all you're counting for is run time.
If you measure speed in terms of time it takes to get an answer--including the time it took to develop the program--and efficiency in terms of both human and hardware costs, then that might not be so true.
A higher-level language is usually closer to the way people think about solving a problem than it is to the way a digital computer operates. That can (and does!) save a lot of expensive human time. If you have an application that won't run that many times, or changes requirements frequently, or when time-to-market is more important than numbers on a benchmark, then higher-level tools can be both faster overall and less expensive.
Most of the Web runs on interpreted code, for just those reasons. A compiled language like C++ could be used on the server side, but usually isn't. Too expensive to develop and keep up-to-date.
- ∅Lv 710 months ago
no, the complex it is, the more it can do.
SOMETIMES this can slow processes down a bit, but NOT running the same tasks as other languages...