3 ms·
> There's no untapped market for a C compiler that doesn't aggressively optimize. There probably isn't now, because people who want sanity have moved on from C
by lmm 2y ago
> There's no untapped market for a C compiler that doesn't aggressively optimize.
There probably isn't now, because people who want sanity have moved on from C.I do think that years ago a different path was possible.
> The closest you'll get is projects selectively disabling certain optimizations, like how the Linux kernel builds with `-fno-strict-aliasing`.
Linux also does `-fno-delete-null-pointer-checks` and probably others. I don't think they have a principled way of deciding, rather whenever an aggressive optimization causes a terrible bug they disable that particular one and leave the rest on.