3 ms·
That article completely misses the point - assembly (or machine code) might not be how the "metal" works on a modern desktop(-like) CPU, but that is irrelevant
by badsectoracula 5y ago
That article completely misses the point - assembly (or machine code) might not be how the "metal" works on a modern desktop(-like) CPU, but that is irrelevant when that is the lowest level that said CPUs are exposing. On such CPUs C is at the lower levels possible.
But also C isn't just for Intel, x86 and (some) ARM CPUs, there are other targets it has.
- pjmlp 5y agoNothing of that is exclusive to C, please provide an example of a CPU where C is the only compiler toolchain available, and exposes CPU capabilities without using language extensions. Any example with language extensions to ISO C, allows me to provide a counter example with language extensions. Any example where only a subset of ISO C is allowed, allows me to provide a counter example with a language subset.
- badsectoracula 5y agoAre you replying to the correct comment? I never claimed anything that would be exclusive to C. What i wrote applies equally to something like, e.g., most Pascal dialects that are around the same "level" as C.
- pjmlp 5y agoThis leaves room for such interpretation "On such CPUs C is at the lower levels possible.". Sorry if I misunderstood it.