News for hackers. Stuff that matters.

chris_swenson

Re:We tasked Opus 4.6 using agent teams to build a C Compiler on Saturday February 07, 2026 @05:52PM (#46929090)
“mov rcx, 0”. At least one assembler (the Go assembler) would at one point blindly (and arguably, incorrectly) rewrite this to “xor rcx, rcx”, which is smaller but modifies flags, which “mov” does not. I believe Go fixed this later, possibly by looking at surrounding instructions to see if the flags were being used, for instance by an “adc” later, to know if the assembler needs to pick the larger “mov” encoding.

Whether that logic should belong in a compiler or an assembler is a separate issue, but it definitely was in the assembler there.

Survey on code review tools

If you are a developer who does code review, I would appreciate it if you could fill out this short survey on what code review tools you use, and what you like and dislike:https://docs.google.com/forms/d/1qJJ-TZWXTeZ8lx7Cj0O1MJjjH-s3Dr-pvfLNSnNMc6U/viewform

( Read More... | no comments | on HN )