cd /news/artificial-intelligence/how-i-shamed-the-slop-machine · home topics artificial-intelligence article
[ARTICLE · art-114304] src=bbuyukliev.blogspot.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↓ negative

How I shamed the slop machine

A developer tested Google's Gemini AI on a slab memory allocator written in C, claiming the AI failed to identify bugs and vulnerabilities in the code. The developer, who authored the allocator in 2012, expressed skepticism about AI's ability to write and inspect reliable code.

read1 min views2 publishedAug 28, 2026

AI tech bros try to convince us that the slop machines are able to write good code, and that they will be able to inspect it for bugs and vulnerabilities. This is not my experience at all.

Here I have my own implementation of a slab memory allocator in C. Less than 1k LoC, I originally wrote it circa 2012. This is tricky code for a custom data structure with a relatively simple high-level interface - initialise a slab with the desired size of the objects, allocate an object from the slab, free an object from the slab, destroy the whole slab. Behind those seemingly simple operations is a lot of pointer manipulation and chasing, and bit-twiddling.

[github.com/bbu/cart/blob/master/slab.h](https://github.com/bbu/cart/blob/master/slab.h)

[github.com/bbu/cart/blob/master/slab.c](https://github.com/bbu/cart/blob/master/slab.c)

I am intimately familiar with this code because I wrote it. I know what each branch is supposed to do, and what the expected state of the data structure is in those branches. I asked Gemini to find any bugs and vulnerabilities:

......

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @gemini 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-i-shamed-the-slo…] indexed:0 read:1min 2026-08-28 ·