Stream: contributing

Topic: roc-gui


view this post on Zulip Luke Boswell (Jan 01 2024 at 23:45):

Thanks to @Brendan Hansknecht for the assistance.

I have been able to restore the roc-gui platform which I copied from the gui example so that both Hello-GUI and Breakout examples are working.

I updated it to use glue and included a script with some workarounds so we should be able to add features much more easily now.

I'm not sure what comes next; but it looks like there was an effort or some progress towards using a type variable in the elements e.g. Elem state to enable Action-State so maybe this can be revisited?

Or maybe it would be beneficial to improve the breakout example so that it is more of a fully playable demo game?

Or maybe adding effects like reading a file, network request etc to enable more types of applications?

Or maybe working on more or improving the graphics primitives, text rendering, borders, lines, circles etc...?

view this post on Zulip Notification Bot (Jan 02 2024 at 03:38):

A message was moved here from #contributing > Casual Conversation by Luke Boswell.

view this post on Zulip Luke Boswell (Jan 02 2024 at 03:47):

I have spent some time investigating and looking at a minimal conversion to use Action-State. There are currently a few issues with glue for Rust that I think block much progress in this direction for now.

We could make something like a minimal PoC work without glue by handwriting parts, however progress would be slow.

I'm leaving this comment here to remember what the current issue is. Revisit this direction when glue generates correctly for eg;

Elem : [
    Rect { color : Rgba, left : F32, top : F32, width : F32, height : F32 },
    Text { text : Str, color : Rgba, left : F32, top : F32, size : F32 },
    Button {onPress: {} -> [None, Update], elem : Elem},
]

view this post on Zulip Anton (Jan 02 2024 at 09:13):

Or maybe it would be beneficial to improve the breakout example so that it is more of a fully playable demo game?

Or maybe adding effects like reading a file, network request etc to enable more types of applications?

Or maybe working on more or improving the graphics primitives, text rendering, borders, lines, circles etc...?

All good projects, take your pick :)


Last updated: Jul 05 2025 at 12:14 UTC