Stream: beginners

Topic: Are there people experimenting with Roc on esp32?


view this post on Zulip Matthieu Pizenberg (Jul 05 2024 at 22:10):

I was with a bunch of friends this weekend and we used a 5meter long programmable led strip and two buttons to embed some custom games and play. At some point I was wondering if any of it would be possible with Roc. As anyone played with Roc on esp32 yet?

view this post on Zulip Brendan Hansknecht (Jul 05 2024 at 22:59):

I put roc on a BBC micro it v2 a long time ago. Would be a similar experience to that.

view this post on Zulip Brendan Hansknecht (Jul 05 2024 at 23:00):

To do it today would require plumbing a new target through the compiler and setting up a platform. For the microbit I use embassy from rust as the platform.

view this post on Zulip Brendan Hansknecht (Jul 05 2024 at 23:00):

Not particularly hard to do, but a solid bit of plumbing.

view this post on Zulip Brendan Hansknecht (Jul 05 2024 at 23:00):

Maybe less now after some refactors

view this post on Zulip Brendan Hansknecht (Jul 05 2024 at 23:02):

I think roc is an ok fit, but easily can blow up in binary or memory size when dealing with tight constraints.

view this post on Zulip Matthieu Pizenberg (Jul 05 2024 at 23:04):

Yeah probably difficult to fit. But maybe with some dedicated work on making it small, like what as done for the wasm target, maybe it could makes sense at some point.
Thanks for the answer.

view this post on Zulip Brendan Hansknecht (Jul 05 2024 at 23:06):

Yeah, I think it totally should be viable. Just one of those things that might get block until some compiler improvements are made. Would be great to get an esp32 or some other basic embedded platform setup


Last updated: Jul 06 2025 at 12:14 UTC