3 ms·
Really? That's actually awesome! CPU's and GPU's are capable of breakneck speeds, so I love to see things that really make the most out of the capacity availab
by FridgeSeal 9y ago
Really?
That's actually awesome!
CPU's and GPU's are capable of breakneck speeds, so I love to see things that really make the most out of the capacity available.
- dboreham 9y agoNope. This is what used to pass for a programmer joke. STOP C Add a couple more stop statements in case someone runs this on a Cray and it is going so fast it breaks though the first one: STOP STOP
- Someone 9y agoWell, there is this: http://elixir.free-electrons.com/linux/latest/source/arch/x86/kernel/process.c#L360 http://elixir.free-electrons.com/linux/latest/source/arch/x8... Yes, Linux does the equivalent of while(true) { halt } I don’t think that code will loop, but why take the risk? There is/was a detailed description of what it takes to stop an OS that included multiple ways to stop the CPUs, executed in order in the hope/expectation that one of them would work that in the end hit a similar loop, but I can’t find it anymore.
- chime 9y agoThere used to be a Turbo button on most PCs in the 90s which would be on by default but could be disabled to support games made for slower CPUs.
- k__ 9y agohehe, yes! When I was young I never understood why someone would turn turbo mode off.