3 ms·
> two sequential lines of code are no longer two truly sequential instructions How is this different from normal multithreading?
by Gaelan 7y ago
> two sequential lines of code are no longer two truly sequential instructions
How is this different from normal multithreading?
- eropple 7y agoNormal, which is to say preemptive, threading can pause your execution arbitrarily. You can wedge a NodeJS interpreter by not yielding, but you also have control over when that yielding happens.
- _bxg1 7y agoI suppose it's not, but it is different from normal JavaScript. I guess in multithreaded languages it's not such a big leap.