On Friday, 27 March 2015 at 22:32:32 UTC, ketmar wrote:
On Fri, 27 Mar 2015 16:11:41 +0000, Ola Fosheim GrÃ¸stad wrote:
Not a broken design. If I have to run multiple servers just to
image upload or generating a PDF then you are driving up the
cost of the
project and developers would be better off with a different
but it is broken! the whole point of async i/o servers is that
servers spend most of their time waiting for i/o. and if you
need to do
some lengthy calculations, you either spawns a "real thread"
it to wake you up when it is finished, or asking external
server to do
the job (and wake you when it is finished).
what moving fibers from thread to thread does is bringing in
copying (we want our threads fairly isolated, aren't we? so
copying, or ownership management).
the whole thing of cooperative multitasking is to be...
several years some Shiny New Async Framework will use "no
fibers between worker threads" as Spectacular Invention.
as an outsider to the web-scale world,
this entire thing seems like a half-baked fork reimplementation