Comment by kristoff_it

1 year ago

Huh? The whole point of Roc is to let you easily put both imperative and functional code in the same project through Roc's platform system.

You get to decide what part of your code should be imperative, and which should be functional.

So why is it a non-goal of Roc to be implemented with this approach?

  • Have you not read the post? Because compile times. Rust has awful compile times. If it didn't, I'm sure the Roc team would have stayed with Rust.

    • Yes, I read the post.

      I don't understand why the goal is not to (eventually) implement Roc in Roc, maybe with a dash of something else for the "platform".

      Roc is pitched as a general purpose functional programming language with great performance.

      How does a compiler not fall under this category?

      3 replies →