4 ms·
“Event loop” pfff. windows 3.1 was doing event loops before it was cool
by jorgeleo 9y ago
“Event loop” pfff. windows 3.1 was doing event loops before it was cool
- srean 9y agoI think the prize for doing event loops without a big fuss and before it was cool probably should go to tcl. They also did multithreading right, whereas Python botched that up. Tcl model: if you need to, run interpreters in separate threads in the same address space. No need for GIL, no need to pickle uncle pickle every message.
- glhaynes 9y ago>pickle uncle pickle Is this … a Rick and Morty thing?
- throwme211345 9y agoAmen.
- deleted 9y ago[deleted]
- Stratoscope 9y agoYou mean Windows 1.0 from 1985. Also Macintosh Toolbox from 1984. And maybe some others from that era - event loops were not a novel thing even then.
- sebcat 9y agoI mean, select(2) (and thus event loops) was in 4.2BSD ~10 years before windows 3.1 was released, and it wouldn't surprise me if there were earlier examples of I/O multiplexing.
- inopinatus 9y agoThe Javascript community is something of an echo chamber, and often thinks it is innovating when actually it has rediscovered spokes, rims, and axles, and is now starting to wonder if they can be combined into some form of rotating load-bearing device.