3 ms·
The author, in case anyone didn't recognize the name: https://en.wikipedia.org/wiki/John_Ousterhout https://en.wikipedia.org/wiki/John_Ousterhout Specifically
by davidw 7y ago
The author, in case anyone didn't recognize the name:
https://en.wikipedia.org/wiki/John_Ousterhout https://en.wikipedia.org/wiki/John_Ousterhout
Specifically, he created the Tcl programming language, which had a nice event loop way back when.
- Uhhrrr 7y agoIt's still there! IIRC you could also have arbitrarily many nested event loops, for better or worse. And some threading support is also available [1], although it seems to be culturally disapproved of. 1. https://wiki.tcl-lang.org/page/thread https://wiki.tcl-lang.org/page/thread
- davidw 7y agoI just meant to say that it was already in place... uh...holy crap... 25 years ago.
- kevin_thibedeau 7y agoTechnically it was part of Tk. It got grafted into mainline Tcl 20 years ago.
- topspin 7y agoI solved some tough IPC problems using the TCL event loop. A product that runs on several thousand machines across the US was designed around a set of distinct C++ processes communicating over sockets. Using the TCL event loop greatly simplified the design, improved performance and eliminated concurrency bugs present in the bespoke IPC code it replaced. It should have been written that way on day one but some programmers default to pounding out a bunch of spaghetti instead of learning about the tools at their disposal.