Hacker News new | ask | show | jobs
by account42 28 days ago
Yes, the C++ committee has been making some stupid decisions lately. This is not the only one.

Low level platform-specific code that needs to hot spin until an interrupt happens can use assembly for that part which it will need to do for the interrupt handler anyway.

1 comments

You don't even need to use assembly for this, the wait for interrupt typically involves side effects.