Gleam is my new obsession
ericcodes.io
Gleam is my new obsession
1–10 of 28 posts
Re: Gleam is my new obsession
#2I like rust but it takes too long to write. Go is usually my go to language because its simple I adore erlang and can write some elixir but I also dislike dynamic typing.
I have been looking at gleam for a while and I think now you inspired me to create a small project to learn more about it.
Re: Gleam is my new obsession
#3Some of this is obviously going to be the newness of Gleam, but I remember when Elixir was still brand new, and the OTP integration was one of the biggest selling points there, and a big part of their documentation and the ecosystem in general. Whereas with gleam, it almost seems like they're embarrassed of the runtime's distributed heritage? Whereas to me it seems like the OTP and the actors model in general would be the biggest selling point for a language like this.
Does anyone have any insight into why this is, or what concurrency practically feels like in gleam?
Re: Gleam is my new obsession
#4My first impressions of Gleam
Re: Gleam is my new obsession
#5Seriously, I find the OCaml syntax way less obtuse than, for example, all the trait and macro idioms that I have to chop through with Rust. Sure, Rust has braces, but that doesn't make its syntax easy by any means.
Nevertheless, I am happy to see this Cambrian Explosion of programming languages. Eventually, we may get a good one.
Re: Gleam is my new obsession
#6Once you throw out the BEAM and OTP, why not OCaml? Seriously, I find the OCaml syntax way less obtuse than, for example, all the trait and macro idioms that I have to chop through with Rust. Sure, Rust has braces, but that doesn't make its syntax easy by any means. Nevertheless, I am happy to see this Cambrian Explosion of programming languages. Eventually, we may get a good one.
Re: Gleam is my new obsession
#7Once you throw out the BEAM and OTP, why not OCaml? Seriously, I find the OCaml syntax way less obtuse than, for example, all the trait and macro idioms that I have to chop through with Rust. Sure, Rust has braces, but that doesn't make its syntax easy by any means. Nevertheless, I am happy to see this Cambrian Explosion of programming languages. Eventually, we may get a good one.
Re: Gleam is my new obsession
#8Once you throw out the BEAM and OTP, why not OCaml? Seriously, I find the OCaml syntax way less obtuse than, for example, all the trait and macro idioms that I have to chop through with Rust. Sure, Rust has braces, but that doesn't make its syntax easy by any means. Nevertheless, I am happy to see this Cambrian Explosion of programming languages. Eventually, we may get a good one.
As a note, before being bootstraped, Rust was written in OCaml iirc
Re: Gleam is my new obsession
#9Okay, you convinced me. I will try it. It seems like something I would really enjoy. I like rust but it takes too long to write. Go is usually my go to language because its simple I adore erlang and can write some elixir but I also dislike dynamic typing. I have been looking at gleam for a while and I think now you inspired me to create a small project to learn more about it.
...and is gradually getting more gradually typed: https://elixirforum.com/t/elixir-v1-19-0-rc-0-released/71190...
Re: Gleam is my new obsession
#10Gleam is really interesting to me, because it's built on top of the BEAM runtime, but as far as I can tell, it does very little with the actor model that is the star attraction of BEAM/Erlang. There's a (non-built-in?) package that exposes some of the OTP and concurrency tools available, but it doesn't look widely used or recommended on the website. The linked recommends a talk that I hadn't seen before (and unfortun…