-
A single thread
While writing about input and asynchrony I wrote up the following simple example to verify my understanding of how output flushing works in Node.
Read more » -
Proxies
While playing with input peripherals when developing the Quinix virtual machine I came across an oddity: if you start listening to
Read more »stdin, your program will never terminate of its own accord, even if you stop listening: -
Proxies
While writing up memory mapped peripherals I needed to implement views on
Read more »Arrayinstances. In the QVM implementation memory is represented using aUint32Array, which natively supports views, but in the series examples here we’ve stuck with arrays for simplicity. I didn’t want to create a cumbersome wrapper that didn’t support the natural indexing notation of arrays, and so I stumbled uponProxy.