4 ms·
Have you seen Gleam Lang? It's like Haskell but on BEAM. I was looking into it but I decided that since there's next to no ecosystem for it, I might as well go
by cercatrova 6y ago
Have you seen Gleam Lang? It's like Haskell but on BEAM. I was looking into it but I decided that since there's next to no ecosystem for it, I might as well go with something like Rust.
https://github.com/gleam-lang/gleam https://github.com/gleam-lang/gleam
- pdimitar 6y agoYep, I did. Wanted to make Phoenix projects with it but it turned out to be way too laborious, so gave up. Elixir has some problems but it's still much superior to Gleam.
- cercatrova 6y agoYeah true. For me I couldn't stand Elixir's dynamic typing and switched to Rust. I just feel personally like I can't use dynamically typed languages anymore.
- pdimitar 6y agoI don't see them at odds. They are mutually complementary. You can go very far with a fantastic dynamic language like Elixir. The loosely shaped data that bombard your app from the net is a perfect fit for a dynamic language. And the OTP concurrency / parallelism approach as well: you can have an actor per connection (while languages like Python and Ruby and PHP have struggled with thread pools and dynamic limits for ages). I am starting to love Rust but again, I don't see it as a competition to Elixir.
- dnautics 6y ago> For me I couldn't stand Elixir's dynamic typing and switched to Rust. What was the problem? You can code in elixir in a style where you basically get ~80% static typing using structs everywhere. I haven't gotten a runtime type error in years.
- eropple 6y agoI like the BEAM and I like the spirit of Elixir, but I find it really hard to write correctly and quickly. For me it's the weak inference and autocomplete. Ecto is pretty cool, but Ecto doesn't help me do the right thing in the way that even something like TypeORM (not my favorite database layer) does without much effort on my part.