Skip to main content
added 7 characters in body; edited title
Source Link
user3840170
  • 28.6k
  • 4
  • 117
  • 175

When did compilers start generating optimized code that runs faster than an average programmer's assembly code?

It is highly unrecommended to write your own code in asmassembly now since, in most cases, gcc -O3gcc -O3 does magic. But in the '80s‘80s it was believed that compiled C code takes 4(?) times or more than a well-organized assembly equivalent. When and why does coding cC for performance as the primary choice become the received practice? Which compiler first made it, on which architecture?

Are there any high level language compilers (adaAda/cobolCOBOL/fortranFortran/pascalPascal) other than cC families which generates optimized code outperforming average assembly programmers?

When did compilers start generating optimized code that runs faster than average programmer's assembly code?

It is highly unrecommended to write your own code in asm now since, in most cases, gcc -O3 does magic. But in the '80s it was believed that compiled C code takes 4(?) times or more than a well-organized assembly equivalent. When and why does coding c for performance as the primary choice become the received practice? Which compiler first made it, on which architecture?

Are there any high level language compilers (ada/cobol/fortran/pascal) other than c families which generates optimized code outperforming average assembly programmers?

When did compilers start generating optimized code that runs faster than an average programmer's assembly code?

It is highly unrecommended to write your own code in assembly now since, in most cases, gcc -O3 does magic. But in the ‘80s it was believed that compiled C code takes 4(?) times or more than a well-organized assembly equivalent. When and why does coding C for performance as the primary choice become the received practice? Which compiler first made it, on which architecture?

Are there any high level language compilers (Ada/COBOL/Fortran/Pascal) other than C families which generates optimized code outperforming average assembly programmers?

Notice removed Reward existing answer by 15628
Bounty Ended with Cecil Ward's answer chosen by 15628
rearrange words to avoid slightly ambiguous bracketing
Link
user3840170
  • 28.6k
  • 4
  • 117
  • 175

When did compilers start generating optimized code that runs faster than average assembly programmer's assembly code?

Notice added Reward existing answer by 15628
Bounty Started worth 50 reputation by 15628
Removed the added restriction to C; I don't see that as the original intent.
Link
dave
  • 42.2k
  • 4
  • 99
  • 198

When did C compilers start generating optimized code that runs faster than average assembly programmer's code?

edited tags
Link
dave
  • 42.2k
  • 4
  • 99
  • 198
Loading
Mod Moved Comments To Chat
Became Hot Network Question
Source Link
Schezuk
  • 3.9k
  • 1
  • 23
  • 43
Loading