SAT, WTYB

4 thoughts
last posted May 15, 2015, 1:17 a.m.
0
get stream as: markdown or atom
0

One of my favorite catch-phrases in the Twisted community is:

"Spawn a thread, write 'til you block!"

Given that one may frequently be interacting with async-hostile frameworks from within Twisted, this is usually an expression of exasperation; "oh well, I guess I'm going to do this dumb thing since I have no better options".

0

The irony is that this phrase does not come from anyone within the Twisted community. It's a quote from Keith Zaback, who casts a very light footprint on the interwebs.

0

The origin of the quote was, as I dimly recall, a criticism of a playstation emulator's approach to audio playback scheduling.

0

To quote Keith:

“… it was a criticism about the sound synchronization in a Playstation emulator. I would have expected to find some buffering system implemented in the audio code, but instead it was only limited by how often the call to write(/dev/dsp) returned. That had the effect of delaying all your sound by the size of the kernel audio buffer.”