Urgent.News

What's breaking now, across hundreds of outlets.

Tech

FizzBuzz at the Frontier: Humans Need Not Apply

FizzBuzz, a well-known word game, has found a new frontier in the world of computer programming. A classic children's game, FizzBuzz requires participants to count from 1, substituting "Fizz" for multiples of three, "Buzz" for multiples of five, and "FizzBuzz" for numbers divisible by both. While writing a simple program to solve FizzBuzz is a common task, optimizing its performance presents a more complex challenge.

In 2021, Mark Litwintschik published a blog post detailing the fastest FizzBuzz implementation, showcasing low-level systems tricks like AVX2 vector instructions and the vmsplice system call to achieve impressive speeds. The winner of the competition was Alex Smith, a doctoral researcher at the University of Birmingham, who achieved a throughput of 60.8 GiB/s using his assembly-based program.

Recently, an experiment compared the performance of human programmers against artificial intelligence in creating hyper-optimized FizzBuzz implementations. By leveraging Lean, a theorem proving language, an LLM was able to construct and verify a FizzBuzz algorithm that outperformed the human record of 224 GB/s, surpassing it by significant margins.

The source code for this experiment is available on GitHub, and the results demonstrate the potential for AI to revolutionize programming tasks, rendering human expertise less critical in certain domains.

Rewritten by urgent.news; may contain errors — check the original.

Source: kirancodes.me

Read the original at kirancodes.me →

Report a problem with this story

More in Tech

Introducing Laravel Rust

  • Laravel Rust combines Laravel's full-stack capabilities with Rust's unique features.
  • Outperforms Laravel PHP by 18 times in benchmark tests, using less CPU and memory.
  • Database relationships are defined explicitly in Rust structs with compile-time validation.

Large CSV imports in Datasette (Datasette Advent Day 1)

Large CSV imports in Datasette (Datasette Advent Day 1) My open source project Datasette has accumulated a lot of new features this year that I haven't done a great job in explaining.

  • Datasette 1.0a46 introduces browser-based CSV/TLS import
  • Successfully imports 26,000 rows in seconds
  • Enhances user interface for column selection

More from Tuesday, 1 December 2026 →