Re:I Tried Gleam for Advent of Code, and I Get the Hype
by kevindamm on Saturday December 13, 2025 @04:16PM
(#46258152)
I think that LLMs will be complemented best with a declarative language, as inserting new conditions/effects in them can be done without modifying much (if any!) of the existing code. Especially if the declarative language is a logic and/or constraint-based language.
We're still in early days with LLMs! I don't think we're anywhere near the global optimum yet.
Re:I Tried Gleam for Advent of Code, and I Get the Hype
by aaronblohowiak on Saturday December 13, 2025 @04:59PM
(#46258540)
This is why I use rust for everything practicable now. Llms make the tedious bits go away and I can just enjoy the fun bits.
- Simple semantics (e.g. easy to understand for developers + LLMs, code is "obviously" correct)
- Very strongly typed, so you can model even very complex domains in a way the compiler can verify
- Really good error messages, to make agent loops more productive
- [Maybe] Easily integrates with existing languages, or at least makes it easy to port from existing languages
We may get to a point where humans don't need to look at the code at all, but we aren't there yet, so making the code easy to vet is important. Plus, there's also a few bajillion lines of legacy code that we need to deal with, wouldn't it be cool if you could port (or at least extend it) it into some standardized, performant, LLM-friendly language for future development?