Hacker News new | ask | show | jobs
by trevor-e 2540 days ago
Is it possible for someone to create a statically typed language that works on OTP/BEAM, or for an existing language to interface with them somehow?

I tried learning Elixir a while back and just couldn't get myself to like the syntax/ergonomics. It seems like most of the benefits people list for Elixir are actually attributed to BEAM, not the language itself.

3 comments

You could look into Gleam [1] and Alpaca [2].

[1] https://gleam.run

[2] https://github.com/alpaca-lang/alpaca

Erlang is strongly typed.

In my opinion OTP/BEAM is the killer feature of Elixir; however, there are a lot of other niceties as well. Macros, pattern-matching, tooling, readability, similarity with Ruby (a plus for Ruby developers) all spring to mind.

Something like https://gleam.run/?