Streams for reactive programming
Can you use WHATWG Streams for reactive programming? It seems so. But is it a good idea?
React + Redux + Comlink = Off-main-thread
Redux is state management. State management belongs off the main thread.
Is postMessage slow?
No, not really. (It depends.)
When should you be using Web Workers?
You should always use Web Workers. And in our current landscape of frameworks it’s virtually impossible.
Compiling C to WebAssembly without Emscripten
A compiler is just a part of Emscripten. What if we stripped away all the bells and whistles and used just the compiler?
- … all posts
WhatWG Stream Visualizer
A visual “interface” for WhatWG streams.
Renders images as a spiral with varying wobblyness (technical term), so it looks a bit like a vinyl record.
Discrete Cosine Transform (DCT)
A reactive UI that creates the Discrete Cosine Transform of a given image, removes some data and then applies the reverese DCT to show the visual artifacts.
Workerized Mandelbrot with SABs
This experiment is a real-time, interactive Mandelbrot renderer using SharedArrayBuffers, Atomics and Web Workers.
- … all experiments