logoalt Hacker News

llmslave2yesterday at 9:37 PM2 repliesview on HN

Especially because some framework slopper using all the LLM's and bloat in the world could never even imagine reaching this level of productivity. In 7 (SEVEN) days this coder

- Designed a language.

- Implemented a compiler to compile it to bytecode, using F#.

- Wrote a bytecode interpreter, using C++.

- Created a shoot’em up game, using the custom language.

- Renderd the graphics, using a single GLSL shader.


Replies

suprjamitoday at 5:01 AM

While I agree with the sentiment that LLM coding can produce a lot of inefficient junk code which works with holes if you're lucky...

What you're describing is 7 days of productivity supported by probably 7+ years (or 27+ years) of experience and learning and getting things wrong and restarting over again.

It is definitely wonderful to see though.

fragmedetoday at 6:40 AM

I gave Claude a screenshot of your comment, and it accepted the challenge.

Claude called the language Blitz.

The repo it created: https://github.com/fragmede/blitz

Is the code shit? I haven't looked at it. Didn't have to. Probably is. I fed it the blog post at the end, and difference.md has a comparison on what Laurent Le Brun built vs Claude, and Claude is fully aware that it went a different way on a number of different things.

It chose python, I had to tell it to use uv.

I'm on a mac with high DPI and it got confused about that.

I had to tell it to make a binary format (it made a BLTZ header)

But you can clone that repo, do uv run main.py --compile game/shooter.blitz and it'll make a .blitzc. Then you can do uv run main.py game/shooter.blitzc Tear the code apart. Call out every tiny mistake in that repo. It's probably cheating somewhere! But all I did was give it challenge.png that's in the repo, and tiny bits of English, and Claude went to work.

It's been 21 years since my college computer graphics class and I went into distributed systems and not game dev, so someone else will have to tell me if it used a single (or even any!) GLSL shaders, or not.

Call it slop all you want, but that took me 70 minutes of babysitting.