3 ms·
I remember having a similar argument with someone saying that your C code has to compile and work on every platform that exists, including weird CPUs with known
by TillE 3y ago
I remember having a similar argument with someone saying that your C code has to compile and work on every platform that exists, including weird CPUs with known bugs.
Unless you're working on something like the Linux kernel, that's an imaginary problem.
- lmm 3y ago"Newer versions of the compiler build your code with security vulnerabilities" is a very real problem in C. E.g. since x86_64 has no aligned memory access instructions, a lot of programmers assume there's nothing wrong with doing unaligned memory accesses, but actually recent gcc/clang will happily compile those into RCE vulnerabilities.