3 ms·
How would you distribute the work of a virtual machine? It has to execute instructions in sequence, just like a non-virtual machine. Any parallelism needs to be
by extension 15y ago
How would you distribute the work of a virtual machine? It has to execute instructions in sequence, just like a non-virtual machine. Any parallelism needs to be extracted at a much higher level of algorithmic abstraction, i.e. by a programmer.
Imagine trying to make a virtual machine that would rewrite any bubble sort as a quicksort. Parallelizing algorithms is much more difficult than even that.
- tambourine_man 15y agoBut we are already able to extract parallelism deep down in the instruction level with out of order execution. Imagine some layer in between an abstract syntax tree and micro-ops. Again, just thinking out loud.
- extension 15y agoWe can extract a little bit of parallelism that way, but nothing even close to the scale of what a GPU does.
- tambourine_man 15y agorelevant: http://news.ycombinator.com/item?id=3816771 http://news.ycombinator.com/item?id=3816771