|
|
|
|
|
by nickpsecurity
3709 days ago
|
|
"Take away all C/C++ code and we have nothing or almost nothing." In that meaning, it's true but only as an accident of history that has little to nothing to do with C's design itself. "If by economic you mean "pragmatic" and "engineering considerations", then yes." BCPL was whatever compiled on a machine from the 1960's. C was what compiled on a machine from the 1970's. ALGOL was engineered. C was what compiled and ran fast on old hardware. That's it. http://pastebin.com/UAQaWuWG The rest was social factors. Even when alternative languages did better, most people didn't adopt them. Most buyers also paid for performance per dollar totally ignoring reliability, security, maintenance, and so on. Unless you argue these don't matter, then the dominance of C and UNIX is once again due to something other than their technical merits. Plus, the fact that their problems stayed in... intentionally... once better hardware came online while other players fixed them in various ways. |
|
I don't believe that for a second. C had very specific performance and memory characteristics that alternatives didn't have.
>C was what compiled and ran fast on old hardware. That's it.
That's a HUGE pragmatic benefit, not a "historical accident".