Re:Is That a Compiler Bug?
by JonChesterfield on Wednesday June 07, 2023 @06:07PM
(#36234308)
There are lots of compiler bugs. The further you stray from the common use cases the more likely you are to hit them.
There are also an appreciable number of hardware bugs. Some of the complexity in compilers is working around those so that applications don't need to.
Your own compiler, assuming it emits machine code and avoids documented and undocumented hardware bugs, can be error free.
Re:Is That a Compiler Bug?
by pasmafaute on Thursday June 08, 2023 @03:59AM
(#36238638)
Brilliant :)
I also agree with JonChesterfield on this one: even home-brew compilers might have bugs! That's why I always write in HEX machine code!
That is sickening. I use Clang. I use longjmp().
I'm glad I'm going to rewrite all of my stuff into my own language with a custom compiler.