# Idiomatic Julia code in AI generated code

**URL:** https://discourse.julialang.org/t/idiomatic-julia-code-in-ai-generated-code/139183
**Category:** General Usage
**Tags:** ai
**Created:** [September 3, 2026, 8:12am UTC](https://discourse.julialang.org/t/idiomatic-julia-code-in-ai-generated-code/139183 "2026-09-03T08:12:37Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![ParadaCarleton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paradacarleton/32/20005_2.png) [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)
#### Post date: [September 3, 2026, 10:18pm UTC](https://discourse.julialang.org/t/idiomatic-julia-code-in-ai-generated-code/139183/8 "2026-09-03T22:18:51Z")

</div>

> [@yakir12](#):
>
> Beyond aesthetics, this has practical consequences. The generated code frequently misses opportunities for classic Julia strengths such as multiple dispatch, leveraging existing package functionality, and introducing concrete types or type information early in the design. Instead, it often produces code that feels more like a direct translation of patterns from Python, JavaScript, or other ecosystems.

This has been a bit U-shaped; c. 2023-early 2025 Julia was catching up to these languages, but since then it’s fallen behind. This is mostly because Julia lacks the static checking used for informed speculative decoding and RLVF (Reinforcement Learning from Verifiable Feedback) in other programming languages. (Unfortunately, JET.jl doesn’t count: it’s slow, not sound, still doesn’t have traits or interfaces, and isn’t included by default so nobody knows about it and the LLMs often don’t think of including it in their tests.)

The other big issue is the long compile and startup times and big runtime, which make the iteration/training process painfully slow. This means you can’t make up for it in sheer quantity of data the way you can in Python (which has both a larger pretraining corpus and a faster feedback loop). Julia is kind of stuck in a “worst of both worlds” situation.

I flagged this back in 2023 when the AI companies started broadcasting their plan going forward was to use RLVF, but it lines up pretty closely with the most common complaints people have had about Julia since it came out in 2014.

---

_[View the full topic](https://discourse.julialang.org/t/idiomatic-julia-code-in-ai-generated-code/139183)._
