cljs-dev

dnolen 2025-07-31T12:50:39.697519Z

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
dnolen 2025-07-31T12:52:12.077289Z

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

xificurC 2025-07-31T13:06:51.760489Z

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

dnolen 2025-07-31T13:10:16.837099Z

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.

xificurC 2025-07-31T13:18:55.016859Z

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

dnolen 2025-07-31T13:47:52.323589Z

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

dnolen 2025-07-31T13:49:03.913079Z

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

dnolen 2025-07-31T13:49:53.560509Z

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

dnolen 2025-07-31T13:50:28.120429Z

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