News for hackers. Stuff that matters.
Re:Yahoo Mail moving to React by jbergens on Wednesday November 26, 2014 @06:01PM (#8665070)
Actually I think that even a lot of CPU intensive tasks could run on Node. Split them into smaller tasks (which you probably have to do anyway if you want to use multiple threads with another language) and run those as promises. Of course js is bad for most numerical calculation but for some things it might work. Or combine it with Dart or Asm.js.
Re:Yahoo Mail moving to React by tracker1 on Wednesday November 26, 2014 @06:55PM (#8665262)
You can also use multiple worker processes for your more intensive cpu tasks, keeping that out of your main loop altogether. Pooling and queue limits can prevent too many of those bound processes from running at once, and you can distribute workers across several systems.