cljs-dev 2025-07-31

after spending two deep rounds w/ the DCE problem - I must say GCL is indeed really magical. Everytime I think it must be wrong - nope.

👍 1
🪄 2

There's really nothing about the code we generate that it doesn't understand or can't handle.

I had a deep bug that GCC broke under advanced compilation. Looking at the optimized code it butchered something. Had to change my macro to remove a redundant let binding. Not fun to debug

I'm not saying there aren't bugs, subtle bugs are filed again GCC all the time. In 14 years I think I hit this one time myself but that was a very long time ago.

Mine was 1 or 2 years ago. If what you're saying it's less buggy than typical software, great

that's not what I'm talking about at all

the standard library is very large w/ a lot of abstractions and some fairly weird patterns around codegen plus just a lot complicated data structures

my point was simply that GCC understands everything in the code base and correctly detects dependencies

everytime I thought there wasn't a dependency there was. Mostly talking about the limitations of my own brain here 😉