Indeed, it is exactly node.js without callbacks... that's what user-level threading systems are. The callback you construct manually in node.js is equivalent to the continuation that the threading system constructs automatically (and that you can too with call/cc.)
-- It is definitely not as efficient as a Web server. I assume it is similarly efficient at the level of responding to the file descriptors polls with threads, except that the threads require more memory than the callback pointers. On Sun, Feb 21, 2016 at 3:48 PM, Piyush Katariya <corporate.piy...@gmail.com> wrote: > Thanks for reply Jay. > So its sound like node.js without callbacks, thats pretty sweet ! > I am wondering how efficient it is compared to libuv ? > > Thanks, > Piyush Katariya > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Jay McCarthy Associate Professor PLT @ CS @ UMass Lowell http://jeapostrophe.github.io "Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great." - D&C 64:33 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.