News for hackers. Stuff that matters.
Re:Show HN: My Bytecode Optimizer Beats Copilot by 2X by UncleEntity on Sunday August 03, 2025 @05:28PM (#44779990)
Wouldn't the real test be to run all the code through the bytecode optimizer and see who's faster then?

I mean, this is sort of the same as testing the LLM output against the -O3 compiler optimization flag while compiling their programs with no optimizations. Actually, if I read TFA correctly, this is exactly what they're doing, am I wrong?

Or maybe I am wrong and they're testing their VM against compiled code, dunno?

Re:Show HN: My Bytecode Optimizer Beats Copilot by 2X by top256 on Sunday August 03, 2025 @06:02PM (#44780219)
Good point I should have mentioned. I was so "in it" that I didn't realize it was a valid question.

This thing outperforms llvm (on o3 and O2) and the JVM too. I didn't explain it because I wrote it in a previous blog post but that's a fair point.

And it's not that obvious because the previous example was handled better by chat gpt while llvm couldn't handle it.

Thank you for this idea.