34,699 karma · joined December 31, 2015
I think that a compiler option should control this. It can be a nice optimization, but the programmer should be able to opt out.
If the project has proper test coverage, there should be no significant number of new bugs. This is no different than the possible regressions added by a human-implemented feature.
And LLMs have made implementing a massive number of tests far easier and faster than before the LLM era.
* Tiny renderer or how OpenGL works: software rendering in 500 lines of code: https://github.com/ssloy/tinyrenderer/wiki)
* TinyRaytracer: Understandable RayTracing in 256 lines of bare C++: https://github.com/ssloy/tinyraytracer/wiki
* TinyRaycaster: 486 lines of C++: old-school FPS in a weekend: https://github.com/ssloy/tinyraytracer/wiki
* KABOOM! in 180 lines of bare C++: https://github.com/ssloy/tinykaboom/wiki/KABOOM!-in-180-line...
* Least squares for programmers: https://github.com/ssloy/least-squares-course)