Hacker News new | past | comments | ask | show | jobs | submit login

> They are both restricted on the basis of being functionally equivalent to the input code.

But that goes for any compiled language, unless the compiler contains a bug.




Yes, I think the difference is that C allows for close interaction to the machine architecture. Normally I don't care what exact opcodes the compiler turns X language into, however C allows me to wrap direct hardware access into the syntax of the language itself. In essence, it mostly doesn't matter what exact opcodes the preceding for loop is turned into, it matters that in the next block I can take that result, move it to rax and rcx and use an intrinsic to execute a CPUID instruction.


Worse, you can leave out 'compiled'. According to that logic, captain Picard programs in assembly whenever he starts a sentence with "Computer, "




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: