News for hackers. Stuff that matters.
Re:David Patterson Says It’s Time for New Computer Architect... by adrianratnapala on Monday September 17, 2018 @09:02PM (#18011525)
This is actually why you want the compiler to track it.

You write an algorithm that seems reasonable. And you encode timing constraints into the thing. Now you re-target to a different machine, and the compiler re-checks those constraints. A much cheaper way of dealing with weird timing bugs than doing a post-mortem of why the fuel valves didn't quite close on the day of the rocket test.

But this only works if the CPU is knowable to the compiler. Which is why it is only even remotely feasible in the embedded world (where it is also the most useful).

Re:David Patterson Says It’s Time for New Computer Architect... by gpderetta on Tuesday September 18, 2018 @04:02PM (#18018630)
The compiler can only help so much as many of the timing parameters are variables and runtime dependent.