logoalt Hacker News

0xbadcafebeetoday at 6:01 PM1 replyview on HN

Serious question: Why is everyone still using JavaScript to AI-code projects? You can vibe-code apps with real languages now.

There's no reason to use an interpreted, bloated, weird language anymore. The only reason interpreted languages were a thing was so you could edit a file and re-run it immediately without a compile step. Compiling is now cheap, and you don't have to build expertise in a new language anymore. Ask AI to write your app in Go, it'll happily comply. Run it and it's faster with less memory use and disk space. The code is simpler and smaller making reviewing easier. Distribution is as easy as "copy the file".

I'll grant you, interpreted languages skip the "portability" compiling/distributing step, and let you avoid the stupid MacOS code signing. But Go is stupid easy to cross-compile, and (afaik?) the user can un-quarantine a self-signed app pretty easily.


Replies

nikcubtoday at 7:41 PM

a) llms are good at writing typescript

b) typescript fixed a lot about javascript and is somewhat decent

c) multiple fast and performant runtime engines

d) deployment story is php levels of easy

that's it.