1. 167
    1. 30

      Congrats to @lpil and everyone involved!

      1. 7

        Thank you!

        1. 5

          Dude, it’s no joke getting a new language out the door. Incredible. Well done.

      2. 10

        Ahhh how exciting! Gleam is such a cool language! And perhaps even more importantly, it’s got the most wonderful community on Discord. I seriously can’t recommend hanging out with these folks enough. Congrats to @lpil and the whole community.

        1. 3

          Yeah it’s the best! Come hang around at https://discord.gg/2yZbbVj5DS

        2. 7

          This is very exciting. For me the most interesting part of Gleam is the JavaScript target. The fast, all-in-one toolchain coupled with the nice statically typed functional language makes an ideal alternative to TypeScript, Reason/ReScript, and Elm for me.

          1. 4

            That’s is what I like about it too. It compiles to JavaScript as well as other languages. I’m particularly interested using it to write JS.

          2. 6

            Congrats, amazing work! Let’s make BEAM the new JVM

            1. 5

              I’ve wanted to learn a BEAM language for a while, and Gleam is by far the most appealing to my personal tastes. Congrats on the release!

              1. 4

                A code example on the landing page is sooo valuable!

                1. 4

                  Great news!

                  1. 4

                    I wanted to have a look at the language reference manual, so I found my way to https://gleam.run/documentation/ and I can’t see one - there’s only an interactive playpen?

                    1. 1

                      We will in the near future have all the content of the interactive tour on a single page.

                      1. 2

                        That would help, thanks!

                    2. 3

                      Amazing work! By far the loveliest community and language that I’ve ever had the opportunity to experience 💜

                      1. 3

                        Congratulations!

                        1. 3

                          I’m getting a bit emotional 🥹 Lucy is looking their best for v1! 💕

                          1. 3

                            Holy shit, congrats! This is huge!

                            1. 3

                              Great news. Congratulations.

                              1. 2

                                I first found Gleam while attempting to solve the “list ops” problem as part of exercisms 48 in 24 challenge: https://exercism.org/challenges/48in24 I was like… “no problem, I just need a for loop” and then spent 20 minutes trying to figure out the syntax for a for loop in gleam, before discovering this: “Gleam doesn’t have loops, instead iteration is done through recursion” oh. I feel like that information should be in bold somewhere on the front page of the website. Otherwise, the language tour was very approachable and feels fairly ergonomic. Congrats!

                                1. 3

                                  If we listed everything we don’t have the home page would be unreadable. We could try to focus on things people might expect, but what is expected is very different depending on what background the programmer has, so there’s not any single solution. Instead we direct people to the tour, which teaches everything about the language.

                                  1. 2

                                    Are you referring to this challenge?

                                    1. 1

                                      That’s the one, yeah. They suggest solving it in Gleam.

                                  2. 2

                                    Awesome!

                                    Is there an example somewhere of how you’d write a gen_server or a supervisor hierarchy in Gleam?

                                    1. 3

                                      You can use Erlang/OTP the normal way, but you’d be more likely to want to use Gleam’s OTP instead as it is well typed. Here’s the repo, where you can see a little more: https://github.com/gleam-lang/otp

                                      We’re quite light on documentation for this area, more to come in future.

                                      1. 1

                                        It looks like async calls (casts) are not yet supported. This sadly is a non starter for me. That said, Gleam – the syntax, the tooling, the flexibility, everything – is appealing. Definitely worth a try. Kudos.

                                        1. 1

                                          Good news! They’ve been supported for many years. :)

                                          Here’s the function: https://hexdocs.pm/gleam_otp/gleam/otp/actor.html#send

                                          1. 2

                                            Nice. I totally didn’t get that from a first fast look at the README. My bad. Now I have no more excuses. :p