News for hackers. Stuff that matters.
Re:55 GiB/s FizzBuzz (2021) by nickelpro on Monday July 03, 2023 @03:41AM (#36569985)
Assembly is hardly the reason this is fast. It is necessary to this solution but by no means sufficient.

Extreme algorithmic research combined with a high LOK of Linux syscalls and platform specific optimizations is what allows this to exist. To quote ais themself:

> @chx: I already have a master's thesis. This was harder.

This is in a different universe than what can be produced by simply "do it in assembly".

Re:55 GiB/s FizzBuzz (2021) by wheelerof4te on Monday July 03, 2023 @04:27AM (#36570274)
"Extreme algorithmic research combined with a high LOK of Linux syscalls and platform specific optimizations is what allows this to exist."

No, author's extreme boredom and/or free time allowed this to exist. Nothing else.

Re:55 GiB/s FizzBuzz (2021) by moreati on Monday July 03, 2023 @06:40AM (#36571109)
What's LOK in this context? Search and Wikipedia didn't throw up anything. Thanks.
Re:55 GiB/s FizzBuzz (2021) by bonzini on Monday July 03, 2023 @07:00AM (#36571246)
Level of knowledge, I think.
Re:55 GiB/s FizzBuzz (2021) by nickelpro on Monday July 03, 2023 @09:17AM (#36572461)
Correct.

It's one of those extremely-common-in-the-US-military-almost-no-usage-outside-it type things apparently, like behoove or tack (hyphen) or diggit (multi-tool), which I'll keep in mind in the future.

Re:55 GiB/s FizzBuzz (2021) by bonzini on Monday July 03, 2023 @04:44PM (#36578551)
The second ranked solution (by me :)) shows that a more or less trivial assembly tight loop can get about 70% of the speed. The remaining 30% is... something else.