4 ms·
> New Notifiers: The central event handling engine in Tcl is now constructed on top of the system calls epoll or kqueue when they are available. The select base
by Karrot_Kream 2y ago
> New Notifiers: The central event handling engine in Tcl is now constructed on top of the system calls epoll or kqueue when they are available. The select based implementation also remains for platforms where they are not.
This is huge! A big portion of why concurrency in Tcl was so dated and why the language was considered so non-performant was because it relied on `select` despite `epoll` and `kqueue` being available for at least a decade.
Tcl is one of my favorite languages because of how easy it is to get started with and how easy metaprogramming is.
- kragen 2y agomostly people consider tcl non-performant because fundamental operations are about twice as slow as cpython, which is no speed demon: https://news.ycombinator.com/item?id=41637953 https://news.ycombinator.com/item?id=41637953 another reason is that we don't know how to write fast tcl, as i inadvertently demonstrated in that thread