Hacker News Viewer

Signals, the push-pull based algorithm

by mpweiher on 4/4/2026, 8:31:20 AM

https://willybrauner.com/journal/signal-the-push-pull-based-algorithm

Comments

by: noelwelsh

Overall, very nice article. A few notes:<p>* I think the first implementation in JS land was Flapjax, which was around 2008: <a href="https:&#x2F;&#x2F;www.flapjax-lang.org&#x2F;publications&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.flapjax-lang.org&#x2F;publications&#x2F;</a><p>* The article didn&#x27;t discuss glitch-freedom, which I think is fairly important.

4/6/2026, 7:40:48 AM


by: cmacleod4

Nice presentation, looks like the same thing I implemented in Tcl here: <a href="https:&#x2F;&#x2F;wiki.tcl-lang.org&#x2F;page&#x2F;ReacTcl" rel="nofollow">https:&#x2F;&#x2F;wiki.tcl-lang.org&#x2F;page&#x2F;ReacTcl</a> :-)

4/6/2026, 8:10:32 AM


by: rienbdj

Sodium (and the book that goes with it) is a great resource too <a href="https:&#x2F;&#x2F;github.com&#x2F;SodiumFRP&#x2F;sodium" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SodiumFRP&#x2F;sodium</a>

4/6/2026, 8:08:31 AM


by: cloogshicer

What an amazing article. I really like the presentation of text scrolling together with the code. Wonder how this is done under the hood.

4/6/2026, 7:47:21 AM


by: fabianholzer

I do not want to distract from the content of the article, which is highly relevant for folks who built UIs with frameworks that are conceptually based on signals, but the way that the reading experience is designed really great, in particular the guided reading flow through the instructive code path is something that I rarely have seen done at all, and this even works pretty well on mobile. It&#x27;s a delightful reminder on how a dynamic medium can be more than the simulation of print on screens.

4/6/2026, 7:29:38 AM


by: danieltanfh95

How is error handling expected to happen here?

4/6/2026, 7:25:02 AM


by: Morpheus_Matrix

[dead]

4/6/2026, 8:13:49 AM