It's been quite a while since I've been able to announce anything about roc-signals ... but I've given it some love this last week and now we have a new release.
https://github.com/lukewilliamboswell/roc-signals
It's still experimental in many ways, I just completely overhauled the reactive engine to make it faster and also it is now mostly pure Roc with a thinner Zig host. My goal was to match SolidJS on the js benchmarks to establish a performance baseline and ensure this scales effectively... now we have that the next phase is to polish the API and make it nicer to use. It's ok for an Agent to write and build things with now, but I haven't given the API much love and polished it yet with all the nice things Roc has to offer.
If you're interested in the signals based UI then you might find this approach interesting.
I'd love any ideas or assistance with this. I've got a few things on my list to build with roc-signals, so I'll be updating and refining the API as I go.
I skimmed some of the kanban example, and it looks nice. I understand that the library is intended to be general-purpose, but does it have a particular sweet spot for certain types of apps? My guess is that you would mostly build CRUD apps with this.
My hypothesis is that Signals based approaches are a better natural fit for describing UI. I think it will be really important as the complexity and scale of an application grows, not just for performance but also keeping cleaner abstractions.
But any apps in particular?
I guess larger, enterprise, or maybe more interactive ones...
Conveniently there was a blog doing the rounds yesterday https://blog.zortax.de/posts/a-critique-of-gpui
roc-signals sits in a new category where Roc's type system can do some of the heavy lifting at compile time.
Like games?
Yeah should be capable of making games no issues... though we are talking about manipulating the DOM graph in a browser and not rendering pixels to buffers.
Been looking for an excuse to build my web UI's in roc, and I like the article's premise of signals (I've used svelte for a long time which uses it) precise updates, so I'm trying it out!
Rebuilding my Ancient Greek learning website in it just for fun, it was feeling slow and I want more interactivity: study.lyceum.quest
And playing around with building an experimental hackable UI for agent interaction: https://github.com/thebrandonlucas/liton
I'll keep you updated on how it goes!
One thing that would be nice is drag + drop, filed issue: https://github.com/lukewilliamboswell/roc-signals/issues/199
Also, interesting note from the agent about how svelte doesn't have the "if statement" downside due to the Svelte compiler turning them into the reactive pieces for you:
Why Svelte doesn't have the article's downside: the article admits signals make you write ifs and loops in a special reactive way (dyn_container, dyn_stack) in Rust. Svelte has a compiler, so you write normal-looking {#if} and {#each} blocks and it turns them into the reactive pieces for you. The article says Rust frameworks mostly lack that option.
Alright @Luke Boswell these two sites are running on roc-signals to near-complete feature parity on 0.5.0:
It did everything I needed it to do, and they are noticeably faster and more responsive now which is wild!
Great work :clap:
Thanks blu
Ive got some big improvements that should land in 0.6 -- like hydrating from a page rendered at compile time (so instant page load), big speed up for the behaviour test harness. :grinning_face_with_smiling_eyes:
Nice web design on https://kai.blu.cx/ :)
Thanks :)
I was going for a Hyprland style but more earthly/warm/pastoral rather than the typical futuristic/matrix style that's typical of "Linux Ricing".
Is there a performance benchmark / "race" for the Roc rendering libraries?
Last updated: Nov 26 2026 at 20:35 UTC