LLMs and new programming languages: Complementary or Conflicting?
Summary
The article explores the relationship between Large Language Models (LLMs) and new programming languages, challenging the assumption that LLMs struggle with less-represented languages. The author demonstrates that LLMs, specifically Claude Code/Opus 4.6, can quickly learn and apply new languages. This is evidenced by successful interactions with Snowfakery, a 6-year-old Domain Specific Language for data generation; Roc, a 7-year-old general-purpose language; and Unison, a functional language. Most notably, Claude was able to research, document, and generate a Mandelbrot set program in BechML, a language only one week old with minimal documentation, even autonomously building a WASM-based runtime environment to overcome installation hurdles. The author concludes that LLMs accelerate, rather than hinder, the adoption of new programming languages by adapting to them automatically.
Key takeaway
For AI Engineers or developers considering adopting a new programming language, this analysis suggests that LLMs can significantly reduce the initial learning curve and setup friction. You should leverage LLMs to generate initial code, create documentation, and even build custom runtime environments for novel languages, thereby accelerating your team's experimentation and adoption process. This capability helps overcome common bootstrapping challenges, making it easier to integrate emerging language technologies.
Key insights
LLMs rapidly adapt to and support new programming languages, accelerating their adoption and reducing learning friction.
Principles
- LLMs learn new languages faster than human communities.
- LLMs can autonomously create documentation and runtime environments.
- LLMs reduce the "incumbency advantage" of older languages.
Method
An LLM (Claude Code/Opus 4.6) was prompted to install and write code in new languages (Snowfakery, Roc, Unison, BechML), including web research and autonomous environment setup for a week-old language.
In practice
- Use LLMs to generate code in new or niche DSLs.
- Ask LLMs to create reference manuals for undocumented languages.
- Employ LLMs to troubleshoot and set up new language environments.
Topics
- Large Language Models
- Programming Languages
- Code Generation
- Domain Specific Languages
- WASM Runtimes
Code references
Best for: AI Engineer, Machine Learning Engineer, Software Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by LLM on Medium.