Stream: beginners

Topic: Platform proliferation / reusability


view this post on Zulip Marcos Prieto (Oct 04 2022 at 09:32):

Hi! Are there any discussions around platform proliferation becoming a problem long term?

I know it's (very!) early days but could roc be very different depending on which platform you are using? Could there be many ways to solve the same problem depending on which platform you choose?

Related to this, how would different platform share code? Using for example rust crates?

view this post on Zulip Brendan Hansknecht (Oct 04 2022 at 13:54):

Definitely early days, but i will try to give rough answers:

Hi! Are there any discussions around platform proliferation becoming a problem long term?

I know it has been discussed some in various forms, but only the rough idea of it.

I know it's (very!) early days but could roc be very different depending on which platform you are using?

I am not sure I would call if very different. Still the same scoped language, but definitely like using a different framework/library as the base of your app.

Could there be many ways to solve the same problem depending on which platform you choose?

For sure. The hope is that over time canonical platforms will arise for various tasks... This is the standard cli platform, this one the standard web server...etc. that being said, if roc gets very popular, i would assume a decent amount of projects would tailor platforms to their specific app.

Related to this, how would different platform share code? Using for example rust crates?

Code sharing for platforms is completely dependent on the language the platform is written. Cargo and crates for rust. Etc for other languages.

view this post on Zulip Marcos Prieto (Oct 05 2022 at 08:15):

Thanks for answering, that makes sense :+1:


Last updated: Jul 06 2025 at 12:14 UTC