News for hackers. Stuff that matters.
Re:Imaginary Problems Are the Root of Bad Software by TillE on Sunday June 18, 2023 @02:03PM (#36382654)
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.

Re:Imaginary Problems Are the Root of Bad Software by lmm on Sunday June 18, 2023 @06:46PM (#36385319)
"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.