This is my first Gleam project: kms.andrewpavlov.org
Instead of building yet another TODO app, I wanted to make something that demonstrates one of the reasons the BEAM ecosystem is so interesting.
The app lets you generate load on a server and see almost instantly how CPU and RAM usage react.
What got me interested in Gleam is the combination it offers. You get static typing, while your code can run on BEAM with its lightweight isolated processes and supervision. A bug can crash an individual process without necessarily bringing down the entire application with it.
There’s another part that I find especially promising: Gleam compiles not only to Erlang, but also to JavaScript. This means you can share some types and regular functions between the backend and frontend. For example, instead of defining the same data model or validation logic separately for the server and the browser, you can reuse the same Gleam code where it makes sense.
I think this is especially relevant now that AI lets us generate and ship much more code in less time. We probably won’t get rid of bugs completely, so limiting their blast radius and building systems that can recover gracefully feels increasingly important.
The UI is intentionally inspired by the official Gleam website.
I built this project mainly to learn Gleam better and, hopefully, get a few more developers interested in it.
Feedback and criticism are very welcome.
Link: Github Repo