News for hackers. Stuff that matters.
Re:The Mill CPU Architecture – Threading [video] by __s on Monday December 11, 2017 @07:40AM (#15896661)
Curious how applicable the Mill is for real time use cases

Other end is that with the instruction set not being binary stable, I'm curious how well the Mill would be useful for something like Singularity https://en.wikipedia.org/wiki/Singularity_%28operating_syste... or a hypothetical WebAssembly OS where userspace programs are an IR for the OS to compile. IIRC the Mill is suppose to have it's own IR for program portability

Binary translation viability is key if they want to support Windows-- see current Windows 10 for ARM

Re:The Mill CPU Architecture – Threading [video] by SAI_Peregrinus on Monday December 11, 2017 @10:19AM (#15897505)
4:30 in the linked video or so: it's statically scheduled, in-order, and all opcodes have fixed execution latency. Should be good for real time.
Re:The Mill CPU Architecture – Threading [video] by ema on Monday December 11, 2017 @11:52AM (#15898240)
There is still variable timing depending on whether the needed data happens to be in cache or not. Not sure how hard it is to code in such a way that it is predictable what data is gonna be in cache at which times.
Re:The Mill CPU Architecture – Threading [video] by snuxoll on Monday December 11, 2017 @12:18PM (#15898467)
DRAM access is always going to be variable by nature, though they reduce the problem somewhat by never reordering loads and stores. Stores will always write back to D$1 cache and only hit DRAM when a line needs to be flushed from the last level cache, so assuming your data and code fits in cache you can theoretically have 100% determinism (although all of the specific latency numbers are model-dependent, so just like a traditional DSP you'll have to tune for each target).
Re:The Mill CPU Architecture – Threading [video] by SAI_Peregrinus on Monday December 11, 2017 @01:35PM (#15899139)
It's also worth noting that hard real-time systems tend to be custom designed, and often for high-budget products like medical devices or test equipment. So it is probably possible to add a bunch of SRAM to the board, and guaranteed latency to that memory is very easy.