kanishka

kanishka

Current prospect for typed replacement? (gleam doesn't support elixir macros)

I think some people at work who enjoy our elm front end were waiting for gleam to emerge as the typed alternative to elixir, with the ability to gradually migrate. Given that gleam doesn’t support calling macros, that feels like a dead end.

Assuming that we will remain happy with ecto and absinthe for a long time, what typed replacement should the elm enthusiasts be watching?

My best guesses are:

  1. an eventual elixir type system
  2. the polishing of rust libraries
  3. a full gleam ecosystem

I think ocaml and haskell either will not reach ecosystem feature complete or simplicity any time soon. Too much churn in node for people to get excited about typescript. No one likes scala, too many concepts. There might be some interest in f# depending on .net core direction.

My best guess is (2) is ready today and then (3) and (1) will emerge after a while, so maybe our elm enthusiasts should focus on (2).

Most Liked

kanishka

kanishka

I watched the talk. I had also seen posts mentioning set theoretic types. I am unclear how this means there won’t be a type system. It sounds more like a particular variety of type system, if the research is fruitful and does not end up requiring restrictions on the language’s expressiveness.

I tried understanding the paper, but it will require more effort. We’ll need simpler explanations of set theoretic types so that everybody can have some understanding of the concept without investing days into the paper.

derpycoder

derpycoder

As Jose Valim iterated on his Keynote, there won’t be a type system, rather Set Theoretic types.

Checkout his talk, he explains his reasoning amicably:

Last Post!

kanishka

kanishka

I think I was wrong before. The latest gleam notes mention macro support.

Where Next?

Popular in Discussions Top

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
rower687
Hi all, I’ve been reading a lot about the “let it crash” term and how supervising processes and the whole messaging passing make an elixi...
New
lorenzo
Hey everone! I created a prototype for my app using Nodejs for the api. But the framework I chose wasnt great (in general theresnt any g...
New
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

We're in Beta

About us Mission Statement