2/19/2026 at 2:05:55 AM
Forth user here.Don't use AI, it writes Forth like it writes C. It has got better at following Standard, in Gforth style, but it is awful at the spirit of Forth: factoring programs into a vocabulary of tiny, reusable pieces.
I posted a Forth programming challenge. I was very disappointed to get two AI answers and one human. I think the humans sussed out the solution and described an algorithm to Opus, but, the AI strategy produced one large page-filling word.
A top-level word filling one page, doing everything there except some subroutines mimicking C Standard Library.
In Forth, that chunk ought to be many smaller words. Heck, even in C (at least it fit in a page.)
by FarmerPotato
2/19/2026 at 2:20:02 PM
Perhaps you just haven't used the correct AI yet? Perhaps none of us have in that Forth doesn't have much of a large dataset to train from?Can you link to the programming challenge? It would be interesting to see if recursive language models that use double-blind latent space might work better.
by mycall
2/19/2026 at 2:59:46 PM
> Perhaps none of us have in that Forth doesn't have much of a large dataset to train from?Well, being terse as heck is the point of Forth so of course the dataset isn't large /j.
More seriously, I think the bigger issue is that Forth isn't exactly uniform. It is so moldable that everyone has their own style
by vanderZwan
2/19/2026 at 10:24:19 AM
What was the challenge?by shawn_w