2026-03-11 09:58 UTC
I'm familiar with the term "event loop". That architecture is common: JavaScript uses it, as does the nginx web server, for just two examples that come to my mind immediately.
In event loop architecture, things happen either triggered by a clock or by some outside stimulus (often: IO available).
There is an OS call named "select" that can be used as the central hub of an event loop. I've myself coded event loops on two occasions in the 1990s; one was based on that. Was fun.
@ohmu@social.seattle.wa.us @Dianora@ottawa.place
Replies (1)
-
@Dianora@ottawa.place 2026-03-11 17:42
@dj3ei@mastodon.radio @ohmu@social.seattle.wa.us IRCD is an "event loop" driven process. It's triggered by I/O. Select, or Poll or kqueue or whatever else mechanism drives things.