On 1/29/21 10:03 PM, Guy Sotomayor via cctalk wrote:
And unfortunately some industries it is prohibited.? Those industries
*require* conformance to MISRA, CERT-C, ISO-26262 and others.? There is
*no* choice since the code has to be audited and compliance is *not*
optional.
Just an illustration of what happens when you take a "portable
alternative to assembly" and put lipstick on it. I've been programming
C since System III Unix and I still consider it to be a portable (sort
of) alternative to assembly.
One of the problems with C, in my view, is a lack of direction. There
are plenty of languages that aim for specific ends. (e.g. COBOL =
business/commercial, FORTRAN = scientific, Java = web applications,
etc.). But whence C or C++?
In my dotage, I do a fair amount of MCU programming nowadays, and C is
the lingua franca in that world; the only real alternative is assembly,
so that makes some sense. Python, Ada, etc. never really managed to
make much headway there. C is far more prevalent than C++ in that
world, FWIW.
Does standard C have vector extensions yet? I was an alternate rep for
my firm for F90 (was supposed to be F88) for vector extensions; it's
just a matter of curiosity.
--Chuck