> Elixir is very much its own language on the Erlang platform
Huh -- so, Elixir has some new semantics, rather than just being "Erlang with Ruby syntax?" I hadn't known that -- but admittedly I'm not an Erlang/Elixir dev.
Re:Comparing OCaml and Standard ML (2020)
by giraffe_lady on Monday June 17, 2024 @10:14PM
(#40713452)
The semantics are very close if not exactly identical. But it definitely feels and works as a separate language, mostly by having its own standard lib and toolchain.
It's not ruby syntax either. There are some very obvious inspirations, but it also explicitly rejects some standard ruby moves in favor of FP conventions. The whole "ruby for beam" angle was dropped years ago, and I'm not sure how much if any support that marketing tactic ever had from the official elixir devs.
reason isn't taking anything away from ocaml or fragmenting the ecosystem - just think of it as a ppx on steroids. at worst it needs its own source tooling to work with the different syntax.
I think you’re doing Elixir a bit of a disservice by that comparison, though - Elixir is very much its own language on the Erlang platform, whereas Reason really is pretty much just an alternate syntax.
That said, one of the big problems with Ocaml is that the ecosystem is so fragmented; I don’t think Reason really adds much (at least if you’re not using with JSX) to make it worthwhile and I’m kind of mad that it exists.