frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I tried Gleam for Advent of Code

https://blog.tymscar.com/posts/gleamaoc2025/
75•tymscar•1h ago

Comments

marliechiller•1h ago
One thing im wondering with the LLM age we seem to be entering: is there value in picking up a language like this if theres not going to be a corpus of training data for an LLM to learn from? Id like to invest the time to learn Gleam, but I treat a language as a tool, or a means to an end. I feel like more and more I'm reaching for the tool to get the job done most easily, which are languages that LLMs seem to gel with.
Hammershaft•58m ago
This was one of my bigger worries for LLM coding: we might develop path dependence on the largest tools and languages.
c-hendricks•58m ago
I hope this isn't the future of "new" languages. Hopefully newer AI tools can actually learn a language and they won't be the limiting factor.
positron26•56m ago
This is the answer. We need online learning for our own code bases and macros.
whimsicalism•50m ago
it’s easy enough for them as soon as they have an RL environment for the language
bbatha•6m ago
I’m more interested in what happens when a language is designed specifically for llms? When doing vibe coding a lot of code is a lot more verbose than I’d do normally. Do we drop down the abstraction level because llms are just so good a churning out boilerplate?
kace91•51m ago
If you just see language as a tool, unless you’re self employed or working in open source, wouldn’t the lack of job market demand for it be the first blocker?
armchairhacker•50m ago
Gleam isn’t a very unique language. The loss from generalizing may be less than the improved ergonomics, if not now then as LLMs improve.
mikepurvis•22m ago
I don't know Gleam at all so I can't comment on that specifically, but I think everyone has the experience of a coworker who writes C++ as if it's C or Python as if its Java or whatever else.

A language doesn't have to be unique to still have a particular taste associated with its patterns and idioms, and it would unfortunate if LLM influence had the effect of suppressing the ability for that new style to develop.

ModernMech•38m ago
Yes, because LLMs don't change the fact that different programming languages have different expressive capabilities. It's easier to say some things in some languages over others. That doesn't change if it's an LLM writing the code; LLMs have finite context windows and limited attention. If you can express an algorithm in 3000 loc in one language but 30 loc in another, the more expressive language is still preferred, even if the LLM can spit out the 3000 lines in 1s. The reason being if the resulting codebase is 10 - 100x larger than it needs to be, that has real costs that are not mitigated by LLMs or agents. All things being equal, you'd still prefer the right tool for the job, which does not imply we should use Python for everything because it dominates the training set, it means we should make sure LLMs have capabilities to write other programming languages equally well before we rely on them too much.
victorbjorklund•36m ago
I feel that was more true 1-2 years ago. These days I find Claude Code write almost as good (or as bad depending on your perspective) Elixir code as JavaScript code and there must be less Elixir code in the training data.
stanmancan•23m ago
There's certainly a lot more JS code out there to train on, but the quality of the Elixir code is likely overall much better.
jedbrooke•28m ago
where do you think the corpus of training data comes from?
dragonwriter•22m ago
Its pretty much the same thing as in every previous age, where not having a community of experience and the supporting materials they produce has been a disadvantage to early adopters of a new language, so the people that used it first were people with a particular need that it seemed to address that offset that for them, or that had a particular interest in being in the vanguard.

And those people are the people that develop the body of material that later people (and now LLMs) learn from.

timeon•10m ago
Seems like you are not target audience for these new languages and that is OK. But I guess there are still many people that want to try new things (on their own even).
thefaux•8m ago
In the medium to long term, if LLMs are unable to easily learn new languages and remap the knowledge they gained from training on different languages, then they will have failed in their mission of becoming a general intelligence.
bbkane•57m ago
I keep running into Gleam posts and podcasts and videos. I think it could be an especially attractive alternative to JS for UI with the Lustre library. Haven't tried it yet, my backlog is ever growing...
threethirtytwo•55m ago
It’s really good. But it needs generics. This is a huge downside. It’s a typed and clean functional programming language but it arbitrarily followed golangs early philosophy of no generics. Ironically golang is one of the most hated languages among many fp advocates.

By the developers own action of adding generics ultimately the golang team admits they were wrong or that generics are better. If gleam gets popular I think much of the same will occur.

There’s simply too much repeated code without generics. I tried writing a parser combinator in gleam and it wasn’t pretty.

kace91•53m ago
Perhaps this is a silly question but how do you do functional with no generics? Arent they pretty much required for map/reduce/filter?
threethirtytwo•47m ago
Sorry my comment was wrong. It’s been a while when I messed with gleam and I remember it was missing a critical thing but I misremembered what it was.

Gleam doesn’t support interfaces. Not generics. You are completely right.

NathanaelRea•35m ago
I saw your other comment that you meant interface. But an example of a language that went without a feature people thought the language desperately needed was Go with generics. They only added them more than ten years later, when they figured out the best way to implement them.

It might be the same with gleam, with first version in 2019 and 1.0 in 2024. The language authors might think they are either uneeded and lead to anti patterns, or are waiting to see the best way to implement them.

bnchrch•55m ago
Gleam is a beautiful language, and what I wish Elixir would become (re:typing).

For those that don't know its also built upon OTP, the erlang vm that makes concurrency and queues a trivial problem in my opinion.

Absolutely wonderful ecosystem.

I've been wanting to make Gleam my primary language, but I fear LLMs have frozen programming language advancement and adoption for anything past 2021.

But I am hopeful that Gleam has slid just under the closing door and LLMs will get up to speed on it fast.

scuff3d•38m ago
Gleam is a great language. It didn't click for me when I was trying it out, but I'm glad to see more people enjoying it.

And I wonder if Gleam + Lustre could become the new Elm.

tempest_•31m ago
As a mostly back end dev Elm looked really nice but all the conflict with the creator and then the lack of compiler releases made me shy away a bit.

I have bumped into "the Elm architecture" in other projects though and it was nice.

styluss•7m ago
Which conflicts? Gleam seems to be released often?
croisillon•23m ago
fortunately the blog title police stepped in as soon as possible https://news.ycombinator.com/item?id=45426996

Show HN: DAUT – AI-powered documentation generator for your codebase

https://github.com/2dogsandanerd/DAUT
1•2dogsanerd•1m ago•0 comments

Former Apple, Google designer: "Are we stuck with the same Desktop UX forever?" [video]

https://www.youtube.com/watch?v=1fZTOjd_bOQ
1•joelkesler•2m ago•1 comments

10-minute scan could help millions with hard-to-treat high blood pressure

https://medicalxpress.com/news/2025-11-minute-scan-millions-hard-high.html
1•PaulHoule•2m ago•0 comments

The Antitrust Case Against Airbnb

https://www.thesling.org/the-antitrust-case-against-airbnb/
1•ilamont•2m ago•0 comments

The Rust Reference – Behavior considered undefined

https://doc.rust-lang.org/reference/behavior-considered-undefined.html#behavior-considered-undefined
1•Brysonbw•3m ago•0 comments

Rutland mosaic depicts 'long-lost' Troy story

https://le.ac.uk/news/2025/december/rutland-mosaic-long-lost-troy-story
1•geox•4m ago•0 comments

Best of times, worst of times: record fossil-fuel profits, inflation

https://www.sciencedirect.com/science/article/pii/S2214629625003020
2•hackandthink•6m ago•0 comments

Nicer Rust Diagnostics for Neovim

https://github.com/alexpasmantier/krust.nvim
2•alexpasmantier•6m ago•0 comments

A proactive approach to more secure code

https://www.microsoft.com/en-us/msrc/blog/2019/07/a-proactive-approach-to-more-secure-code
1•Brysonbw•6m ago•0 comments

Why mRNA-based Covid-19 vaccines can cause myocarditis

https://med.stanford.edu/news/all-news/2025/12/myocarditis-vaccine-covid.html
2•blumomo•8m ago•0 comments

My day as an augmented technical writer in 2030

https://passo.uno/my-day-tech-writer-2030/
1•theletterf•8m ago•0 comments

(Google) Scholar Labs: An AI Powered Scholar Search

https://scholar.googleblog.com/2025/11/scholar-labs-ai-powered-scholar-search.html
1•harias•8m ago•0 comments

Is AI actually a Bubble?

https://www.newyorker.com/culture/open-questions/is-ai-actually-a-bubble
1•criemen•9m ago•0 comments

Show HN: Deepr Simple and modern links manager app

https://github.com/yogeshpaliyal/Deepr
1•yogeshpaliyal•14m ago•0 comments

We lost Uber as a user – PostgreSQL mailing list

https://www.postgresql.org/message-id/5797D5A1.5030009%40agliodbs.com
1•sh_tomer•14m ago•1 comments

How will software developer jobs look like in 10-15 year?

1•chrilleweb•16m ago•1 comments

The impact of robotics and unmanned systems on law enforcement

https://www.europol.europa.eu/publication-events/main-reports/unmanned-futures
1•beedeebeedee•16m ago•0 comments

WebKit Features for Safari 26.2

https://webkit.org/blog/17640/webkit-features-for-safari-26-2/
1•ksec•18m ago•0 comments

Text Diffusion Models Are Faster at Writing Code

https://nathan.rs/posts/dllm-faster-code-generation/
1•nathan-barry•20m ago•0 comments

Show HN: Free reaction time and cognitive training games for esports players

https://gamingskilltest.com/en
1•zxcholmes•20m ago•0 comments

Essential Semiconductor Physics,Mark Lundstrom Purdue University [pdf]

https://nanohub.org/resources/43623/download/Essential_Semiconductor_Physics.pdf
1•akshatjiwan•22m ago•0 comments

How to Watch the Radiant Geminid Meteor Shower Tonight

https://www.smithsonianmag.com/smart-news/this-years-best-and-brightest-meteor-shower-peaks-this-...
1•cjbarber•29m ago•0 comments

Stop Blaming the "Weatherman"

https://developer.sealegs.ai/blog/stop-blaming-the-weatherman.html
1•mattkdev•30m ago•0 comments

Freeciv 3D – help improve it with AI

https://github.com/freecivx/freecivx
1•roschdal•31m ago•1 comments

What happens if you press 'x' in Helix in a Zellij pane running in Alacritty?

https://henry.catalinismith.se/2025/12/12/what-happens-if-you-press-x-in-helix-in-a-zellij-pane-r...
2•GardenLetter27•32m ago•0 comments

Dogspinner

https://www.pigenpalace.com/dogspinner/
2•tylersayshi•33m ago•0 comments

The Deadweight Loss of Entertainment

https://moultano.wordpress.com/2025/12/09/the-dead-weight-loss-of-entertainment/
2•paulpauper•34m ago•0 comments

This Year's Hottest Toy Is Made by a Tech Startup You've Never Heard Of

https://www.wsj.com/business/entrepreneurship/nex-playground-toy-game-console-holiday-shopping-af...
1•kjhughes•37m ago•0 comments

Purrtran – ᓚᘏᗢ – A Programming Language for Cat People

https://github.com/cmontella/purrtran
1•simonpure•39m ago•0 comments

How to Revive Biopharma Productivity

https://www.writingruxandrabio.com/p/a-manifesto-for-reviving-biopharma
1•paulpauper•41m ago•0 comments