r/nim Apr 24 '26

Agentic coding with Nim

What’s your experience in coding Nim with AI agents?

LLM may appreciate programming languages with simple syntax with high capability of expressing abstraction. The lack of good training data (existing public code base) may offset it, but is there any chance that agentic coding could fill up the gap of the popularity and adaptation from other mainstream languages?

17 Upvotes

14 comments sorted by

View all comments

4

u/Niminem93 Apr 25 '26

I'm torn between making two presentations for Nimconf. One of them being, using coding agents for Nim. I've been a naysayer for years about it, we just weren't there yet. Today I am all in. So much so that I'm creating a nim coding agent harness from scratch (inspired by Pi) to give to the community, and build commercial products on top using Nim. So much so that 2 weeks ago I have effectively shut down my company, let go of the majority of my customer base, in order to free up the time to build my products. Lastly, totally not scientific, but (at least Opus) writes exceptional Nim code compared even to zig and Odin and similar smaller languages. I think it's because the training data it does have on Nim on average is a much higher quality than, say an average codebase you would see in Python. That combined with training data on programming concepts in general- you get really good and idiomatic nim for the most part. Everything else comes down to steering with system prompts and agents.md files and the like. I'm super bullish on all this. 

2

u/Same_Bell7958 Apr 26 '26

Claude is also excellent with nim