Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Other language (frameworks) where the event loop is exposed as a language construct?

At http://nodejs.org/#about it says the following:

"Node is similar in design to and influenced by systems like Ruby's Event Machine or Python's Twisted. Node takes the event model a bit further—it presents the event loop as a language construct instead of as a library."

Are there other frameworks or languages that likewise expose the event loop?

like image 235
Dexygen Avatar asked Oct 30 '25 02:10

Dexygen


1 Answers

Tcl has had this capability all along (last 2 decades). See http://www.tcl.tk/about/netserver.html

This is not to say Tcl does -- or should do -- everything Javascript and/or node.js does. But it is a valid answer to the question as to what "other frameworks or languages ... likewise expose the event loop?"

like image 174
Dexygen Avatar answered Nov 02 '25 08:11

Dexygen