Comment

Comment by the_mitsuhiko

> I'm not sure why almost all codemode implementations choose Javascript

Because the models are trained on JavaScript for code mode. You get away with way fewer instructions. They also want to be able to express concurrency and that works very well with the Promise global.

But a big reason is that code mode runs on the harness side so bash is a tricky target in particular.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton