Stream: beginners

Topic: What would a List look like in a platform without an allocar


view this post on Zulip Lukas Hermann (Dec 10 2025 at 17:29):

Hi! I was hoping to understand more about what the roc standard library looks like in no allocation environments. If there’s any tips it would be welcome :)

view this post on Zulip Richard Feldman (Dec 10 2025 at 17:54):

if "no allocation" means "no heap allocations" that's very easy - Roc isn't going to work at all in those environments :smile:

view this post on Zulip Richard Feldman (Dec 10 2025 at 17:54):

the whole language is designed around the assumption that heap allocations are always acceptable

view this post on Zulip Lukas Hermann (Dec 10 2025 at 18:25):

Thank you for clarifying! I was partially curious since I was imagining what it would look like for roc to take advantage of LLVMs SPIRV backend to generate kernels

view this post on Zulip Richard Feldman (Dec 10 2025 at 19:04):

oh yeah I don't think Roc would be a reasonable language to use for writing kernels :smile:


Last updated: Dec 21 2025 at 12:15 UTC