Roc version 0.1.0, eight years in the making

(rtfeldman.com)

74 points | by DrDeadCrash 1 hour ago

5 comments

  • oDot 42 minutes ago
    I'm the developer behind the screenwriting software mentioned in the post.

    Roc has been so pleasant to use considered it's still so early.

    I've read elsewhere a comment by Richard where he said that naive programming in Roc should result in fast code. That is very true. I basically enforce software design and architecture that allow for speed, and I don't have to worry about finagling the language into running fast.

    It's very well thought out.

    As a result Bliss Writer is correct and stable software, even in beta. I have a large suite of E2E tests that spin up a real TUI and they almost never fail.

    Who knew you could have the correctness of FP and speed.

  • gdotdesign 29 minutes ago
    Roc seems to have a pretty good version of error handling I've seen so far: https://roc-lang.org/docs/main/langref/errors/

    Basically you can handle the errors you want to handle and propagate everything else upstream because the error value is a union of all propagated errors. In other (typed) languages you either need to handle all errors or map the different types into a single one.

  • dtdeb2 41 minutes ago
    Congratulations. Lots in there for a 0.1! I hope Roc gathers serious momentum.
  • mcc1ane 1 minute ago
    Unrelated to Rocq (https://rocq-prover.org/), formerly named Coq.