Re:Arvind Mithal has died
by Dylan16807 on Thursday June 20, 2024 @05:19AM
(#40736616)
Most processors are designed with very expensive task switching, but I don't think I'd call that "inherent". A processor could implement an interrupt as a forced branch 200 cycles in the future. Then it's the same speed as a function call with callee-save registers. That's still slower than letting cache hardware manage the whole thing in the background, but it should be as little as nanoseconds slower.
[ Parent
| on HN ]
There are no comments on this comment yet.