#gleam — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #gleam, aggregated by home.social.
-
```
// ranged.gleampub opaque type Ranged { Ranged(value: Int, min: Int, max: Int }
pub fn new(value, min, max) -> {
Ranged(
value: int.clamp(value, min:, max:),
min:,
max:,
)
}pub fn set(current: Ranged, to new: Int) -> Ranged {
Ranged(
value: int.clamp(
new,
current.min,
current.max,
),
min: current.min,
max: current.max,
)
}
```1 of 2
#gleam #gamedev #functionalprogramming
edit: noo, my indentation :(
-
```
// ranged.gleampub opaque type Ranged { Ranged(value: Int, min: Int, max: Int }
pub fn new(value, min, max) -> {
Ranged(
value: int.clamp(value, min:, max:),
min:,
max:,
)
}pub fn set(current: Ranged, to new: Int) -> Ranged {
Ranged(
value: int.clamp(
new,
current.min,
current.max,
),
min: current.min,
max: current.max,
)
}
```1 of 2
#gleam #gamedev #functionalprogramming
edit: noo, my indentation :(
-
```
// ranged.gleampub opaque type Ranged { Ranged(value: Int, min: Int, max: Int }
pub fn new(value, min, max) -> {
Ranged(
value: int.clamp(value, min:, max:),
min:,
max:,
)
}pub fn set(current: Ranged, to new: Int) -> Ranged {
Ranged(
value: int.clamp(
new,
current.min,
current.max,
),
min: current.min,
max: current.max,
)
}
```1 of 2
#gleam #gamedev #functionalprogramming
edit: noo, my indentation :(
-
I would love to submit a talk to Code BEAM Europe. But as there’s absolutely no chance I’ll have the money to go, I’ll leave that responsibility to you 🫵😂 codebeameurope.com #ElixirLang #Gleam #Erlang #WeBEAMtogether
Code BEAM Europe 2026 - 21-22 ... -
I would love to submit a talk to Code BEAM Europe. But as there’s absolutely no chance I’ll have the money to go, I’ll leave that responsibility to you 🫵😂 codebeameurope.com #ElixirLang #Gleam #Erlang #WeBEAMtogether
Code BEAM Europe 2026 - 21-22 ... -
I would love to submit a talk to Code BEAM Europe. But as there’s absolutely no chance I’ll have the money to go, I’ll leave that responsibility to you 🫵😂 codebeameurope.com #ElixirLang #Gleam #Erlang #WeBEAMtogether
Code BEAM Europe 2026 - 21-22 ... -
My actual ranking for your criteria:
1. #Nim - https://nim-lang.org
2. #Odin - https://odin-lang.org
3. #Gleam - https://gleam.run
4. #Zig - https://ziglang.org
5. #Go - https://go.devI just started learning #OdinLang this weekend myself.
-
My actual ranking for your criteria:
1. #Nim - https://nim-lang.org
2. #Odin - https://odin-lang.org
3. #Gleam - https://gleam.run
4. #Zig - https://ziglang.org
5. #Go - https://go.devI just started learning #OdinLang this weekend myself.
-
My actual ranking for your criteria:
1. #Nim - https://nim-lang.org
2. #Odin - https://odin-lang.org
3. #Gleam - https://gleam.run
4. #Zig - https://ziglang.org
5. #Go - https://go.devI just started learning #OdinLang this weekend myself.
-
My actual ranking for your criteria:
1. #Nim - https://nim-lang.org
2. #Odin - https://odin-lang.org
3. #Gleam - https://gleam.run
4. #Zig - https://ziglang.org
5. #Go - https://go.devI just started learning #OdinLang this weekend myself.
-
My actual ranking for your criteria:
1. #Nim - https://nim-lang.org
2. #Odin - https://odin-lang.org
3. #Gleam - https://gleam.run
4. #Zig - https://ziglang.org
5. #Go - https://go.devI just started learning #OdinLang this weekend myself.
-
Don't miss the Unconference after Code BEAM Stockholm. Bring your topics and curiosity.
https://luma.com/n71am1d6
#elixir #erlang #gleam -
Don't miss the Unconference after Code BEAM Stockholm. Bring your topics and curiosity.
https://luma.com/n71am1d6
#elixir #erlang #gleam -
Don't miss the Unconference after Code BEAM Stockholm. Bring your topics and curiosity.
https://luma.com/n71am1d6
#elixir #erlang #gleam -
Don't miss the Unconference after Code BEAM Stockholm. Bring your topics and curiosity.
https://luma.com/n71am1d6
#elixir #erlang #gleam -
Don't miss the Unconference after Code BEAM Stockholm. Bring your topics and curiosity.
https://luma.com/n71am1d6
#elixir #erlang #gleam -
Concurrency - Understanding the BEAM Limits https://lobste.rs/s/khtcsy #video #elixir #erlang #gleam
https://www.youtube.com/watch?v=mJRhFo3QnHY -
Concurrency - Understanding the BEAM Limits https://lobste.rs/s/khtcsy #video #elixir #erlang #gleam
https://www.youtube.com/watch?v=mJRhFo3QnHY -
Concurrency - Understanding the BEAM Limits https://lobste.rs/s/khtcsy #video #elixir #erlang #gleam
https://www.youtube.com/watch?v=mJRhFo3QnHY -
Concurrency - Understanding the BEAM Limits https://lobste.rs/s/khtcsy #video #elixir #erlang #gleam
https://www.youtube.com/watch?v=mJRhFo3QnHY -
Concurrency - Understanding the BEAM Limits https://lobste.rs/s/khtcsy #video #elixir #erlang #gleam
https://www.youtube.com/watch?v=mJRhFo3QnHY -
Core Team Panel - Gleam Gathering 2026 https://lobste.rs/s/njd25h #video #gleam
https://youtu.be/LgfzH_WBlr4 -
Elixir FR and Elixir Paris are doing a new meetup online (in French only)
We will have a series of fast talks, around ~15minutes each
- An introduction to #Gleamlang
- A presentation about using hot code reloading in production
- A talk about Civis, a static websites farm
- A presentation about learning Elixir and Phoenix (by myself!)We will probably be on our discord :)
-
Elixir FR and Elixir Paris are doing a new meetup online (in French only)
We will have a series of fast talks, around ~15minutes each
- An introduction to #Gleamlang
- A presentation about using hot code reloading in production
- A talk about Civis, a static websites farm
- A presentation about learning Elixir and Phoenix (by myself!)We will probably be on our discord :)
-
Elixir FR and Elixir Paris are doing a new meetup online (in French only)
We will have a series of fast talks, around ~15minutes each
- An introduction to #Gleamlang
- A presentation about using hot code reloading in production
- A talk about Civis, a static websites farm
- A presentation about learning Elixir and Phoenix (by myself!)We will probably be on our discord :)
-
Elixir FR and Elixir Paris are doing a new meetup online (in French only)
We will have a series of fast talks, around ~15minutes each
- An introduction to #Gleamlang
- A presentation about using hot code reloading in production
- A talk about Civis, a static websites farm
- A presentation about learning Elixir and Phoenix (by myself!)We will probably be on our discord :)
-
Elixir FR and Elixir Paris are doing a new meetup online (in French only)
We will have a series of fast talks, around ~15minutes each
- An introduction to #Gleamlang
- A presentation about using hot code reloading in production
- A talk about Civis, a static websites farm
- A presentation about learning Elixir and Phoenix (by myself!)We will probably be on our discord :)
-
A guide to building Gleam apps for web, desktop, and mobile https://lobste.rs/s/riped5 #gleam
https://lukwol.github.io/gleam-guide/ -
Mapeo de Fuentes en JavaScript y…
La relevancia de los mapas de fuentes en el desarrollo web moderno radica en su capacidad para simplificar el proceso de depuración.
https://norvik.tech/news/analisis-source-maps-javascript-gleam
#Technology #Javascript #MapasDeFuentes #Gleam #Depuracion #NorvikTech #DesarrolloSoftware #TechInnovation
-
Mapeo de Fuentes en JavaScript y…
La relevancia de los mapas de fuentes en el desarrollo web moderno radica en su capacidad para simplificar el proceso de depuración.
https://norvik.tech/news/analisis-source-maps-javascript-gleam
#Technology #Javascript #MapasDeFuentes #Gleam #Depuracion #NorvikTech #DesarrolloSoftware #TechInnovation
-
Mapeo de Fuentes en JavaScript y…
La relevancia de los mapas de fuentes en el desarrollo web moderno radica en su capacidad para simplificar el proceso de depuración.
https://norvik.tech/news/analisis-source-maps-javascript-gleam
#Technology #Javascript #MapasDeFuentes #Gleam #Depuracion #NorvikTech #DesarrolloSoftware #TechInnovation
-
Mapeo de Fuentes en JavaScript y…
La relevancia de los mapas de fuentes en el desarrollo web moderno radica en su capacidad para simplificar el proceso de depuración.
https://norvik.tech/news/analisis-source-maps-javascript-gleam
#Technology #Javascript #MapasDeFuentes #Gleam #Depuracion #NorvikTech #DesarrolloSoftware #TechInnovation
-
In the latest version of Gleam, the javascript target gets source maps ... in Gleam!
Translation: You can put breakpoints and debug the Gleam code that produced the javascript, not the optimised JS the browser is running 😍
This is what we call good DX ☺️
-
Gleam gets source maps, 1.16.0 https://lobste.rs/s/ckacgl #gleam
https://gleam.run/news/javascript-source-maps/ -
Gleam gets source maps, 1.16.0
https://fed.brid.gy/r/https://gleam.run/news/javascript-source-maps/
-
You've heard me nerd about Gleam lately and in addition to "this language is brilliant and easy to get into", I would like to add my latest experience:
"Gleam is the perfect ecosystem to be making an API or a web app or a static web site for your app".
I mean... even the server components are fun https://hexdocs.pm/lustre
-
GitHub Actions for a Gleam monorepo https://lobste.rs/s/zjceyu #gleam
https://crowdhailer.me/2026-04-21/github-actions-for-a-gleam-monorepo/ -
Functional languages are so bizarre to work with. I have a program that start to get a "lill" size to it, not a lot, but still enough to warrant "concern" when rewriting.
Generally. With "normal" programming languages
So, I restructure, refactor and redo large chunks, build and... wtf, it works???
So yah, it feels a bit bizarre :O
-
I wrote an opinionated piece about using decoders to deserialize JSON instead of reflection like is common in most languages
https://hashset.dev/article/2026/03/21/reflecting-on-deserialization-why-you-should-explicitly-decode-your-json/
#gleam #json -
Embedding EYG in Gleam programs https://lobste.rs/s/wynohh #gleam
https://github.com/CrowdHailer/eyg-lang/blob/main/guides/embedding_in_gleam.md -
So Dynamic is an external type. External types are basically like opaque types for Gleam code and need non-Gleam code to construct, inspect and convert them. An external type only declares the name, without any variants, like `pub type Dynamic` without curly brackets and all that. I need to have a second look at dynamic, decode and gleam_json to understand dynamic/decode, but this realisation was helpful, which i got from the externals docs page:
-
📝 New blog post: Migrating an AI Chatbot from Go to Full-Stack Gleam
I rewrote ai.arda.tr from a Go backend + vanilla JS frontend to Gleam on both sides — shared types, SSE streaming, and one language from BEAM to browser.
https://blog.arda.tr/blog/2026-04-06-migrating-an-ai-chatbot-to-gleam-stack
-
Dodgers received 2025 World Series rings. What do they look like? https://www.rawchili.com/mlb/648295/ #BackToBackNature #Baseball #Blue #combination #dirt #Dodgers #game #gleam #intricacy #La #LADodgers #LADodgers #LastName #LastSeason #LastYear #LosAngeles #LosAngelesDodgers #LosAngeles #LosAngelesDodgers #MLB #ring #Spectacle #Trophy #WorldSeriesRing
-
Dodgers received 2025 World Series rings. What do they look like? https://www.rawchili.com/mlb/648295/ #BackToBackNature #Baseball #Blue #combination #dirt #Dodgers #game #gleam #intricacy #La #LADodgers #LADodgers #LastName #LastSeason #LastYear #LosAngeles #LosAngelesDodgers #LosAngeles #LosAngelesDodgers #MLB #ring #Spectacle #Trophy #WorldSeriesRing