C Is Not a Programming Language Anymore for Developers(coderoasis.com)
coderoasis.com
C Is Not a Programming Language Anymore for Developers
https://coderoasis.com/clang-isnt-language/
8 comments
Is it my problem or the author wrapped all "C"s in code format and they are awkwardly rendered in white blocks within the black background?
It's distracting and hard to read, I agree.
i'm wondering if it's an artifact of "dark mode"? but apparently not.
C was defined in the 1970s, for PDP-11 which had 16 bit registers, no cache and a flat memory. Ever since, C has been mangled to adopt ever more complex architectures. It's like blaming a petrol car for not plugging into a Tesla Supercharger. Different era, different technology.
The question of ABI's is misguided. The interface to the OS syscalls is typically defined in terms of registers and calling convention. The ABI that C programmers reference in the OS ABI header files are a layer that transforms from C semantics to the OS syscall conventions. Language implementations could come with their implementation of a libc equivalent, one for every platform the language is expected to run on.
The question of ABI's is misguided. The interface to the OS syscalls is typically defined in terms of registers and calling convention. The ABI that C programmers reference in the OS ABI header files are a layer that transforms from C semantics to the OS syscall conventions. Language implementations could come with their implementation of a libc equivalent, one for every platform the language is expected to run on.
This is a three part series about language-neutral ABIs. It should probably evaluate https://en.wikipedia.org/wiki/SWIG and C# as possible solutions.
Well if they are writing software for tiny microcontrollers it is. Stupid article.
"You can take my C when you can prise it from my cold, dead hands."
By the way, it might be pronounced as 'per say', but it's two Latin words and spelt 'per se' - translatable as 'by itself' or 'in its own right'.
By the way, it might be pronounced as 'per say', but it's two Latin words and spelt 'per se' - translatable as 'by itself' or 'in its own right'.
[deleted]