Comment

Comment by gargoiler00

> The idea that threads or processes are intrinsically slow was sheer unmitigated propaganda, and probably not only failed to contain a grain of truth, but are actively false.

Threads / processes:

  * Run some code from A
  * Save state, context switch
  * Run some code from B
  * Save state, context switch

  * Deal with locking, synchronisation, etc
vs

  * Run some code.
There is absolutely no instances where [num threads] > [num cores] is as efficient as not using more threads than cores.
parent gargoiler00 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton