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?
I put roc on a BBC micro it v2 a long time ago. Would be a similar experience to that.
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.
Not particularly hard to do, but a solid bit of plumbing.
Maybe less now after some refactors
I think roc is an ok fit, but easily can blow up in binary or memory size when dealing with tight constraints.
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.
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