4 ms·
> I think LLM‘s might increase elm adoption because it is the ideal language for an LLM right now Yes but no? It really just depends on the amount of elm in t
by hollowturtle 3mo ago
> I think LLM‘s might increase elm adoption because it is the ideal language for an LLM right now
Yes but no? It really just depends on the amount of elm in the training data and rlhf. I agree that structured frameworks/languages have codebases more similar to one another and that would ease generation. But that alone won't work and usually dev adoption is a total discourse per se
- RussianCow 3mo agoThat's not why Elm is an ideal language for LLMs: it's because, if it compiles, it's most likely working software. Agentic workflows have gotten significantly better over the last year, so LLMs using languages like Elm, Haskell, or even Rust have an amazing feedback loop where even lower quality models can keep trying until things compile.
- hollowturtle 3mo agocan keep failing til you're tired of having the agent running in loops, as I said it doesn't matter, agent tools are more effective with models trained with a lot of elm examples
- fpoling 3mo agoYet Elm due to its simplicity does not need a lot of examples. Language itself is small and blessed way to architecture things consist of few patterns. Then things are composable. This is ideal for LLMs. The price for that is verbosity. What in other languages are hidden behind async and complicated libraries in Elm has to be done explicitly resulting in boilerplate. But that is never a problem for LLMs. Then Elm compiler has one of the best error messages. This helps agents a lot. Then Time Machine debugger is another big help for agents as they have access to the full execution trace of the program. The trace is much smaller than would be necessary for other languages and typically fits into content window.
- hollowturtle 3mo ago> Yet Elm due to its simplicity does not need a lot of examples But does the neural net ;)
- deleted 3mo ago[deleted]