Stream: beginners

Topic: looking for an excuse to try Roc ^^


view this post on Zulip Matthieu Pizenberg (Sep 22 2022 at 08:22):

Hi all, I've been following from afar and really like what you folks are doing with Roc. I'd like to try Roc at some point and was wondering if rewriting my elm test runner (https://github.com/mpizenberg/elm-test-rs) in Roc could be a good project. Currently it's written in Rust and consists mainly of 2 things, (1) a CLI app (http, reading/writing files, calling other programs like the elm compiler, Node, redirecting outputs, etc.) and (2) a dependency solver (https://github.com/pubgrub-rs/pubgrub) which is mainly pure computation delegating side effects to the caller. I wouldn't start now since I have to finish few things in pubgrub first, but could probably start before the end of year.

view this post on Zulip Folkert de Vries (Sep 22 2022 at 08:31):

the CLI platform is currently being worked on, so I think its progress and your availability will line up nicely. Also it would be really cool to have such a solver in roc. It would be interesting too see how it performs (and if in-place mutation has any value here)

view this post on Zulip Matthieu Pizenberg (Sep 22 2022 at 08:38):

mutations play a big part in the algorithm performance I believe, but that would need to be benchmarked.

view this post on Zulip Matthieu Pizenberg (Sep 22 2022 at 08:45):

I also have a benchmark setup to time the duration for solving all of elm packages. So this could easily serve as a benchmark comparing the rust and roc versions


Last updated: Jul 06 2025 at 12:14 UTC