Message from JavaScript discussions

December 2018

— Usually it runs multiple instructions at same time


Concurrent computing is a form of computing in which several computations are executed during overlapping time periods—concurrently—instead of sequentially (one completing before the next starts).

The concept of concurrent computing is frequently confused with the related but distinct concept of parallel computing, Although both can be described as "multiple processes executing during the same period of time".

— While there is a fetch from memory you can still execute instructions in other path of the pipeline

— That's what i mean by simplify🤤

— But this is more related to hardware

— At the end of the day, what we want is two threads of javascript execution

— Yes, okay, it may be interleaved, delayed, skipped for now, etc..


concurrent processes can be executed on one core by interleaving the execution steps of each process via time-sharing slices: only one process runs at a time, and if it does not complete during its time slice, it is paused, another process begins or resumes, and then later the original process is resumed. In this way, multiple processes are part-way through execution at a single instant, but only one process is being executed at that instant.

Message permanent page

— This is the best part

— Although hz by itself cannot do it

— It describes it perfectly, from Wikipedia

— It can be done with the correct support at low level