News for hackers. Stuff that matters.
Re:LLMs and Elixir: Windfall or Deathblow? by 3by7 on Thursday June 05, 2025 @05:57AM (#44190076)
Crystal is great! Which LLMs were used in that project? In my short and not very recent experience the LLM frequently mixed up Crystal and Ruby in the code they write.
Re:LLMs and Elixir: Windfall or Deathblow? by fernmyth on Thursday June 05, 2025 @08:23AM (#44190965)
Cursor with defaults, I guess mostly `cursor-small`. Typically I write and adjust function names or signatures and let tab-complete draft the code and propagate refactors.

It does mix up Crystal and Ruby, but the compiler catches it.

Re:LLMs and Elixir: Windfall or Deathblow? by sitkack on Thursday June 05, 2025 @09:15AM (#44191409)
You should keep a log of all the failures and then have an LLM form a patch-doc that fixes the Crystal codegen behavior in context. Your failure rate will go way way down.
Re:LLMs and Elixir: Windfall or Deathblow? by 3by7 on Thursday June 05, 2025 @09:13AM (#44191394)
That matches my experience, so I guess it may be a decent experience for someone new to the language and a bit more frustrating for someone more experienced on it (like me).