2 ms·
If you really believed that argument you wouldn't write C, because it's slower than assembly. Do you actually write C programs that profile themselves and tune
by lmm 5y ago
If you really believed that argument you wouldn't write C, because it's slower than assembly.
Do you actually write C programs that profile themselves and tune their code according to the input data? If not, then the fact that it's theoretically possible to do that seems pretty irrelevant.
- silisili 5y agoWell, I think all language x is faster than language y statements are pretty dumb, if I didn't make that clear. However, I would also argue that C cannot be faster than ASM, if that's what you're asking. And yes, I agree it's pretty irrelevant.
- scheme271 5y agoTheoretically, your point stands. But practically, it's not a valid conclusion unless you're saying that it's practical to say rewrite all 27M lines of C code in the linux into optimized assembly for multiple cpu architectures. Or even the various x86-64 families.