upvote
Somewhat, but it's the fact it doesn't really cut it. Because this could be similar to say the java VM, except the VM has a much bigger scope than a roc platform.

To me it just seems like roc can't function without other languages to make them useful.

Please don't take this on a bad way I'm just unable to describe it better.

reply
Yeah, I mean, that's just factually true! No harm in that :)

Roc needs a platform written in another language, but you as a Roc author don't have to read or write that language. You don't even need to know which language a platform is written in.

Someone else (like me!) writes a platform, shares it, and you use it. That means you get whatever platform you want: maybe with the concurrency of Go? Or the performance of Zig? Or the memory safety of Rust? And the platform can give you access to their entire ecosystem. All that with no effort on your part, and you get to read and write only Roc. Sweet deal, right? ;D

reply
Yeah I don't know, there's a lot of trust there though. It just feels weird to me that roc can't run without something written in another language. How do you debug it is the fault lies in the platform, written in a language you don't know? It also seems to say purely functional languages can't do much without a none functional layer. Maybe I'm still not understanding.

Maybe it's just something I need to get used to.

Thanks for taking the time to explain though. If you're the guy that created the joy web framework (platform?) for roc, then I watched and enjoyed your talk about it.

reply
>It also seems to say purely functional languages can't do much without a none functional layer.

Well, you could write your platform in a functional language :) What it is saying is that separating pure vs. effectful/impure comes with some nice benefits, and we're seeing that in the platforms concept. I think if you try it you may see it differently :)

>If you're the guy that created the joy web framework (platform?) for roc, then I watched and enjoyed your talk about it.

Yeah, that's me! Thank you so much! PS. I call it a "framework" just because it spans more than one platform. Not really an important :P

reply