4 ms·
I agree that a programming language should have a strong rationale behind its design, especially if they expect people to use it and take it seriously. That sa
by nerdponx 5y ago
I agree that a programming language should have a strong rationale behind its design, especially if they expect people to use it and take it seriously.
That said, I think there's so much left unexplored in the PL design space that new languages are probably worth writing, if only to explore that space.
In this case, it seems like the main feature is that it's designed specifically around the WebAssembly runtime.
Skimming the docs, it also looks like it's meant to be a kind of cleaned-up OCaml. I guess that's not very different from Reason, Rescript, or even Fable.
A "why this and not those things" document would make me more inclined to spend my energy on it. Does it run faster on Wasm than other similar languages? Does it have some interesting developer UX related to the Wasm sandboxing features? Does it have a nice build toolchain?
- Zababa 5y agoTotally agree, my criticism are only for the website, not for the language itself.
- throwaway894345 5y ago> Skimming the docs, it also looks like it's meant to be a kind of cleaned-up OCaml. I guess that's not very different from Reason, Rescript, or even Fable. It's implemented in Reason, so presumably the authors see some advantage to this over Reason. Personally I think more distance from the OCaml ecosystem is a competitive advantage relative to Reason et al. Yeah, there are advantages to being able to plug into an existing ecosystem, but the disadvantage is that in practice you have to understand the host language that you're plugging into.
- pbiggar 5y agoReason doesn't really exist anymore. "Native Reason" was just reskinned Ocaml, and the thing previously referred to as ReasonML continues life as ReScript.
- Zababa 5y agoReason does actually still exists. Rescript is a modified ReasonML syntax + BuckleScript. ReasonML is between the two, a foot in the OCaml world, a foot in the JavaScript world.
- pbiggar 5y agoIt may claim to be that, but in practice it is not. Most of the Reason repos have barely been touched in months, while ReScript continues to have a lot of momentum. The reasonml forums [1] are down to 3 posts in the last month, vs 85 in the rescript forum [2]. I don't know what you mean by "still exists", but in practice you can consider ReasonML to be dead, replaced by ReScript. [1] https://reasonml.chat/ https://reasonml.chat/ [2] https://forum.rescript-lang.org/c/general/1 https://forum.rescript-lang.org/c/general/1
- Zababa 5y agoIt may not look active from the outside, but I'm sure that the companies that used it still use it, while Rescript is still very young. > ReScript continues to have a lot of momentum Rescript has 4k weekly downloads on npm. Typescript has 22 millions. Coffeescript 1 million. Reason 1.5k. Elm 22k and it's not the official installer. PureScript 2.5k.
- deleted 5y ago[deleted]
- pbiggar 5y ago> It may not look active from the outside, but I'm sure that the companies that used it still use it, while Rescript is still very young. I think I might not have been clear when I said that reason is dead. Let me try again: ReasonML was a sort of collaboration between bucklescript (the ocaml->js compiler) and the Reason syntax. They recently parted ways, with the bukclescript part being renamed to ReScript (as well as using their own syntax). That leaves not much to be under the name "Reason", which is basically just a syntax. The companies that use it (such as mine) are moving to ReScript. Or, to put it more accurately, they have always been using ReScript just people referred to it as Reason at the time. > > ReScript continues to have a lot of momentum > Rescript has 4k weekly downloads on npm I meant relative to Reason. (fyi: rescript used to be called bs-platform, and that continues to have 8k downloads, so it's more like 12k for rescript)