I guess the didn’t have their programming class yet😂
If you wrote a C program and it doesn’t do what you predicted, would you assume that your compiler is broken or that you made a mistake? If I got a dollar for every time someone wrongly complained that “there is a bug in compiler”…
World is complex. We use theory to build models describing the reality and compare their predictions with experiment. If you notice mismatch between model and experiment, it might be a problem with:
Your experiment.
Your model.
Or your theory.
You have to further dissect and understand the root cause of the mismatch before you make any judgement.
This depends very much on how well debugged the compiler is...
* gcc on llvm on Intel hardware … very unlikely to be a bug in the compiler
you’re on some less well exercized target like RISC-V … ha, you are in for so much pain
it is so much fun debugging on experimental hardware where any of (a) your program (b) the compiler (c) the actual hardware are all plausibly buggy.
oh, I forgot (d) the tool used to convert the hardware description language (used to specify the chip design ) into logic gates, used to build the hardware, is itself buggy
I guess the didn’t have their programming class yet😂
If you wrote a C program and it doesn’t do what you predicted, would you assume that your compiler is broken or that you made a mistake? If I got a dollar for every time someone wrongly complained that “there is a bug in compiler”…
World is complex. We use theory to build models describing the reality and compare their predictions with experiment. If you notice mismatch between model and experiment, it might be a problem with:
Your experiment.
Your model.
Or your theory.
You have to further dissect and understand the root cause of the mismatch before you make any judgement.
This depends very much on how well debugged the compiler is...
* gcc on llvm on Intel hardware … very unlikely to be a bug in the compiler
you’re on some less well exercized target like RISC-V … ha, you are in for so much pain
it is so much fun debugging on experimental hardware where any of (a) your program (b) the compiler (c) the actual hardware are all plausibly buggy.
oh, I forgot (d) the tool used to convert the hardware description language (used to specify the chip design ) into logic gates, used to build the hardware, is itself buggy