Pergunta de entrevista da empresa Broadridge

If you were designing a multi-threaded program to crunch numbers and do highly cpu intensive processing would you expect a single threaded program to do better or one using 50 threads and why?

Respostas da entrevista

Sigiloso

23 de abr. de 2016

not sure why you brought in VM... has nothing to do with the question....

6

Sigiloso

12 de abr. de 2016

This is one of the most dumb 18th century questions that can be asked. Threads are not same for a VM and the OS. Generally, a VM is allowed a single OS thread. Under such condition, more than one time slice is not possible by multithreading.

1