Skip to content

The biggest AI win I've experienced

github.com/calebmadrigal
1 pointcalebm1 comment
On HN

Comments

Context: I've been working on a non-binary graphing app called FuzzyGraph (https://fuzzygraph.com). I had the rendering logic written in vanilla JS, and wanted to convert the rendering logic to GLSL shader code to speed things up.

I was able to prompt ChatGPT Codex to fully rewrite the render logic using GLSL (without me having to edit it at all). After the first 2 prompts, it was almost fully functional. It took 6 prompts in all to get a full rewrite in GLSL. I have never worked on GLSL code (and was kind of dreading this rewrite), so this was a HUGE accelerant for me. Shout out to OpenAI for an awesome product!

One last thought: this almost felt like a compiler, where I write in a higher-level language (vanilla JS), and have the AI compile it to GLSL for me.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.