← Back to context

Comment by jeffrallen

5 hours ago

I've had a chance to review the code now. It used HTML/CSS/JS for the UI, and calls into the Go/wasm code where the filters are implemented.

When a filter is implemented half in Pascal (setup and loop over the rows) and half in assembly (each row) Claude did it all in Go, but the structure in Go is the same: one entry point for setup and iterating on rows, and one function (ported from the assembly) to process each row.

(As for the resource fork, it just reimplemented the UI in HTML. There's not enough info in the transcript of it's thinking to know if it read the resource file and understood it, or if it used a general understanding of what was in Photoshop, from training data, to do it.)

My mind is blown. I keep trying to find evidence that it just copied this from someplace, but I can't see how.