fernmyth 2 days ago

Windfall, for those who want it.

LLMs were fantastic for writing a project[0] in a new, niche language[1]. They help write any missing libraries. They help iterate when I get stuck on language aspects. They explain concepts as well as the median SO post, and much better than the posts that don't exist.

[0] https://github.com/TedSinger/chatfile/

[1] https://crystal-lang.org/ - quite pleasant

1
3by7 2 days ago

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.

fernmyth 2 days ago

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.

3by7 1 day ago

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).

sitkack 1 day ago

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.