big news, borkdude just ported Javelin to scittle & nbb: https://twitter.com/borkdude/status/1717619707392491753
context: https://clojurians.slack.com/archives/C034FQN490E/p1698174828257399
That was amazing, I asked some questions and then he told me it was already done 😅
I'm kind of a hoplon noob, but I've heard about it for the first time probably already 10 years ago. How is performance compared to, say, React?
measured in parentheses per second?
hehehe, yeah, how do people actually measure these things :)
https://tailrecursion.com/~alan/micha_on_hoplon_vs_react/index.html may illuminate
tl;dr
• problem react solves is needing to necessarily empty out all dom nodes before you add them all back, like if you're syncing an array with a set of elements (like an array to a bunch of todo <li>
• hoplon solves differently by promoting fine-grained subscriptions to cells. DOM nodes are pooled and reused, no diffing other than clj = inside javelin
it's basically immediate mode (React) vs. retained mode (Hoplon+Javelin, DOM), in UI speak