Stream: beginners

Topic: Loco.rs as a platform


view this post on Zulip Erlend Sogge Heggen (Oct 13 2024 at 13:18):

Loco wants to be the RoR of the Rust web dev world, and they see to be doing a great job of that!

view this post on Zulip Erlend Sogge Heggen (Oct 13 2024 at 13:19):

one thing they don’t have yet though is a Ruby-like language that enables rapid-iteration development.

view this post on Zulip Erlend Sogge Heggen (Oct 13 2024 at 13:22):

I’m trying to wrap my head around this Platforms feature. Am I right in thinking that Roc could function very well as Loco’s (functional) alternative to Ruby?

view this post on Zulip Brendan Hansknecht (Oct 13 2024 at 17:37):

We already have github.com/roc-lang/basic-webserver which is built on top of rust with hyper. Theoretically something similar could be built on top of loco (maybe modeling the loco api better).

view this post on Zulip Sam Mohr (Oct 13 2024 at 21:22):

The only warning I would give to someone trying to invest into developing a platform on top of Loco for a webserver is that Loco is big on scaffolding out Rust code via code gen. If you want to get its benefits, that big benefit of getting Rust code generated quickly is no longer helpful, unless you update their codegen to generate platform bindings as well.

If you're suggesting that we do something similar to Loco, which is scaffold/generate Roc code from a custom CLI to facilitate faster development, I think that could be a good idea.


Last updated: Jul 06 2025 at 12:14 UTC