News for hackers. Stuff that matters.
Re:ZeroVM: Smaller, Lighter, Faster by pkconstantine on Monday October 21, 2013 @08:47PM (#6589159)
If you have a legacy application that demands threads we can emulate threads by essentially using coroutine approach. http://en.wikipedia.org/wiki/Coroutine
Re:ZeroVM: Smaller, Lighter, Faster by ogrisel on Tuesday October 22, 2013 @03:43AM (#6590315)
What would be the impact of such a coroutine emulation if the threading is used to leverage multi-core hardware for high performance computing such as done by Atlas [1], OpenBLAS [2] or MKL [3]? These libraries are tuned to maximize CPU cache hits. It seems to me that executing each thread task sequentially using coroutines would probably break such optimizations.

[1] http://math-atlas.sourceforge.net/ [2] http://www.openblas.net/ [3] http://software.intel.com/en-us/intel-mkl

Re:ZeroVM: Smaller, Lighter, Faster by vidarh on Tuesday October 22, 2013 @07:25AM (#6591056)
From the sounds of it, you'd want to split up your workload and run each subset in a separate zerovm
Re:ZeroVM: Smaller, Lighter, Faster by pkconstantine on Wednesday October 23, 2013 @05:06AM (#6597700)
That's correct. And that's how most of parallel processing frameworks do it anyway.