Moving my #EssentialsOfCompilation stream to tomorrow, Monday, April 21, so I can spend some time with family today. See you at 1:30PM CDT on Monday!
Moving my #EssentialsOfCompilation stream to tomorrow, Monday, April 21, so I can spend some time with family today. See you at 1:30PM CDT on Monday!
Gleam v1.10.0 has been released!
It's a compiler upgrade adding global rename and find references, JavaScript codegen performance. Gleam images now also include a SBoM by default
Global rename and find reference |
Gleam v1.10.0 released
That was a marathon, but we figured a lot of things out and our solution looks pretty good. Thanks for sticking it out with me! Next week, we'll try to wrap up Chapter 3.
Join me then: https://youtube.com/live/LG-VnIvQVmY?feature=share
Ready to solve register sudoku? We got half the task done last time, so today let’s complete graph coloring and see where those variables go! Join me at 1:30PM CDT:
https://www.youtube.com/live/x0uHIjJ4plM?si=vQrcXONoj36eeoCc
that's neat
i can patternmatch on the inner type
case decode.run(json, item.decode_item()) {
Ok(option.Some(item)) -> todo
Ok(option.None) -> todo
Error(e) -> todo
#gleamlangThanks for attending! We completed an interference graph that we will use next time to do graph coloring, so be sure to show up for that.
See you next week right here: https://youtube.com/live/x0uHIjJ4plM?feature=share
What do x86 registers and sudoku have in common? We will find out today as we learn how to assign variables to registers in #EssentialsOfCompilation with Gleam. Join me in about 25 minutes:
https://www.youtube.com/live/U72bQ1tcTqg?si=8lvd3q279ODo6LDG
Thanks for attending, especially to @jeremysiek for filing the issue and helping on the finer points! Next week we will build an interference graph to help solve "register sudoku". Don't miss it!
Are you ready for register allocation? I am, too! Join me in about 20 minutes as we continue #EssentialsOfCompilation in #GleamLang
https://www.youtube.com/live/6E-Z2j3ODjU
We will fix a very important issue from Chapter 2 as well, filed by the author!
Thanks for attending, the feedback was great! Next week we start on the VERY EXCITING topic of register allocation, so be sure to subscribe so you don't miss it.
VOD: https://www.youtube.com/live/H7jfpU6LsPE
See you then!
Hey compiler nerds and fans of gleam! We are about to finish Chapter 2 of #EssentialsOfCompilation, so let’s get to it in an hour. Join me at 1:30pm CDT:
https://www.youtube.com/live/H7jfpU6LsPE?si=TBRP_u7tHYRvCm9T
Hello friends! Let’s continue building a compiler in Gleam today, starting with converting our C-like IR into x86-like. Join me at 1:30pm CDT (about an hour):
https://www.youtube.com/live/w9KjPss80DM?si=v7kabVWp00LJ6Zw7
A Code Centric Journey Into the #Gleam Language • Giacomo Cavalieri • GOTO 2024
https://inv.nadeko.net/watch?v=yHe_wzFg4W8
(or YT: https://www.youtube.com/watch?v=PfPIiHCId0s)
If I had to describe Gleam in word, it would be this:
Lovely.
Gleam, coming from #Erlang
- I would like a Rust minus the memory management and with a gentler concurrency model;
- I would like a BEAM language without Erlang’s rough edges and with the goodies of a modern type system2.
Tall, Snarky Canadian - My impressions of Gleam
@jonn maybe #gleamlang is something you would like.
to implement a show function for the type yourself, e.g. using the following package with @@deriving show. https://github.com/ocaml-ppx/ppx_deriving
isn't there a way to make this easier in ocaml too??
Have i ever told you that i love the #gleamlang gleam/io debug function? You can simply add it anywhere with a pipe (|>), it prints a value to standard error (stderr) and it returns the value to be debugged. For comparison, just played around with #ocaml for a few days. It is really difficult to debug or output any value. The standard types also don't have a function like show (e.g. like in haskell), which would make things a lot easier to debug. You first have
I wish other programming languages had tooling as good as #gleamlang at an early stage.
The gleam CLI just works and the language server (e.g. in vscode) just works really well. Somehow I think I fell in love with #gleamlang, also because erlang is one of my favorite programming languages anyway.
It's just fun to build ffi code with it.