Re:ReScript 10.0
by christophilus on Thursday September 29, 2022 @08:16AM
(#33019502)
Ocaml is a wicked fast compiler and a simple language. Having done both, Iād rather not do Scala again, but would happily do Ocaml if it had a better ecosystem.
Re:ReScript 10.0
by AzzieElbab on Thursday September 29, 2022 @07:39AM
(#33019190)
Exactly! But Scala is out of fashion at hn these days
Not that I've tried ReScript but it advertises fast builds, which the (sample size of one) large scala codebase I've worked on was really slow to compile.
Re:ReScript 10.0
by curious145454 on Thursday September 29, 2022 @07:55AM
(#33019324)
Yes, it pretty much depends on what and how you're trying to compile. Incremental complication helps a lot, as does keeping sbt shell open and not restarting sbt each time.
In other news: now, there's scala-cli for smaller projects ā https://scala-cli.virtuslab.org/docs/guides/scala-js
Re:ReScript 10.0
by AzzieElbab on Thursday September 29, 2022 @09:46AM
(#33020543)
this is true. ReScript/OCaml compiler is super speedy. Scala/sbt builds can usually be optimised quite a bit few people know how or bother to
Am I missing something?