Stream: show and tell

Topic: roc-signals 0.3.0


view this post on Zulip Luke Boswell (Nov 09 2026 at 02:24):

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.

view this post on Zulip Steve Howell (Nov 09 2026 at 14:12):

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.

view this post on Zulip Luke Boswell (Nov 09 2026 at 22:22):

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.

view this post on Zulip Steve Howell (Nov 09 2026 at 22:23):

But any apps in particular?

view this post on Zulip Luke Boswell (Nov 09 2026 at 22:24):

I guess larger, enterprise, or maybe more interactive ones...

view this post on Zulip Luke Boswell (Nov 09 2026 at 22:27):

Conveniently there was a blog doing the rounds yesterday https://blog.zortax.de/posts/a-critique-of-gpui

view this post on Zulip Luke Boswell (Nov 09 2026 at 22:27):

roc-signals sits in a new category where Roc's type system can do some of the heavy lifting at compile time.

view this post on Zulip Steve Howell (Nov 09 2026 at 22:47):

Like games?

view this post on Zulip Luke Boswell (Nov 09 2026 at 22:50):

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.

view this post on Zulip blu (Nov 12 2026 at 14:25):

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!

view this post on Zulip blu (Nov 12 2026 at 14:26):

One thing that would be nice is drag + drop, filed issue: https://github.com/lukewilliamboswell/roc-signals/issues/199

view this post on Zulip blu (Nov 12 2026 at 14:33):

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.

view this post on Zulip blu (Nov 13 2026 at 19:48):

Alright @Luke Boswell these two sites are running on roc-signals to near-complete feature parity on 0.5.0:

study.lyceum.quest
kai.blu.cx

It did everything I needed it to do, and they are noticeably faster and more responsive now which is wild!

Great work :clap:

view this post on Zulip Luke Boswell (Nov 13 2026 at 19:53):

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:

view this post on Zulip Anton (Nov 14 2026 at 09:35):

Nice web design on https://kai.blu.cx/ :)

view this post on Zulip blu (Nov 14 2026 at 13:59):

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".

view this post on Zulip Karakatiza (Nov 21 2026 at 20:27):

Is there a performance benchmark / "race" for the Roc rendering libraries?


Last updated: Nov 26 2026 at 20:35 UTC