News for hackers. Stuff that matters.
Re:Idioms: Building High Performance Networking Servers Usin... by justincormack on Friday August 29, 2014 @04:25AM (#8241615)
The similar IO model? It is just the Unix IO model though, with the caveat to never use blocking IO. Tcl doesn't force non blocking IO like Node, you have to do it yourself.

Event based IO was around by 1999 or earlier, according to the C10k page that we all avidly read backin the day http://www.kegel.com/c10k.html

Re:Idioms: Building High Performance Networking Servers Usin... by sebcat on Friday August 29, 2014 @05:53AM (#8241844)
Both Tcl and Node.JS are built around the concept of an event loop. The preffered way to do IO in both languages is to express your network application as a FSM with callbacks on state transitions. Of course event driven IO is not in any way "owned" by either languages, what I mean is that they both encourage an event-driven IO model.

Am I making myself clear?