Anonymous asked in Computers & InternetProgramming & Design · 10 months ago

The more high level the programming language the slower it is and less efficient it becomes? True or not?

4 Answers

  • EddieJ
    Lv 7
    10 months ago
    Favorite 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.

    • Commenter avatarLogin to reply the answers
  • Snezzy
    Lv 7
    10 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.

    • Commenter avatarLogin to reply the answers
  • 10 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.

    But nobody uses JavaScript or PHP to mine cryptocurrency or write the BIOS of a PC motherboard.

    • Commenter avatarLogin to reply the answers
  • Lv 7
    10 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...

    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.