Run DOOM inside the Linux kernel with eBPF using LLM help
After stalling on a by-hand attempt, the author returned with LLM help to virtualize memory access and work around eBPF limits, getting DOOM running in the kernel as eBPF fibers.
Source
ayles on Hacker News · 2026-09-09 · Project link
Written in our own words. Credit to the original author. Link checked 2026-11-23.
What they did
After stalling on a by-hand attempt, the author returned with LLM help to virtualize memory access and work around eBPF limits, getting DOOM running in the kernel as eBPF fibers.
Result (as claimed)
Write-up and demo published; 53 points on Show HN.
Tools they used
Cost: Pricing depends on the tools you pick; check each official pricing page.
Set it up
Pick a contained repo or task
Start on a branch or side project where mistakes are cheap.
Install and configure
Set up Claude. Read what it can run on your machine and limit permissions where possible.
Run it on a real task
Give it a well-scoped issue and let it work. Review the diff like any pull request.
Add guardrails
Keep tests and CI in the loop, and never let an agent push to main or touch production secrets unattended.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Run DOOM inside the Linux kernel with eBPF using LLM help What the original author did: After stalling on a by-hand attempt, the author returned with LLM help to virtualize memory access and work around eBPF limits, getting DOOM running in the kernel as eBPF fibers. Reported result (as claimed by the author): Write-up and demo published; 53 points on Show HN. Source: https://news.ycombinator.com/item?id=49630125 Tools they used: Claude Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Run DOOM inside the Linux kernel with eBPF using LLM help What the original author did: After stalling on a by-hand attempt, the author returned with LLM help to virtualize memory access and work around eBPF limits, getting DOOM running in the kernel as eBPF fibers. Reported result (as claimed by the author): Write-up and demo published; 53 points on Show HN. Source: https://news.ycombinator.com/item?id=49630125 Tools they used: Claude Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Run DOOM inside the Linux kernel with eBPF using LLM help What the original author did: After stalling on a by-hand attempt, the author returned with LLM help to virtualize memory access and work around eBPF limits, getting DOOM running in the kernel as eBPF fibers. Reported result (as claimed by the author): Write-up and demo published; 53 points on Show HN. Source: https://news.ycombinator.com/item?id=49630125 Tools they used: Claude Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to use AI agents on Linux servers and homelabs safely (Claude Code, Codex, SSH, Proxmox) · How to build agent memory and context layers · How to observe and debug AI agents · How to add memory to Claude Code, Codex and Cursor: CLAUDE.md, AGENTS.md, auto memory and shared MCP memory (2026)
Related use cases
Add smart model routing inside Claude, Codex and Cursor
Built a smart model router that works directly inside Claude, Codex and Cursor sessions.
See every AI tool's usage limits as rings on your Mac
The CheckUsage Mac app shows rings for Claude, Codex, Cursor, Copilot, Gemini and Grok usage limits.
Have Claude write both a VM and a separate proof generator from the same spec
For a JavaCard VM he had Claude implement the VM from the spec and separately a proof generator from the spec, so a bug would have to exist in both to slip through, and verified them with ESBMC.
Build a screenshot tool that pastes many screenshots into Claude at once
He sends lots of screenshots to Claude and was tired of switching back and forth, so he built a tool for his own use that takes as many screenshots as he likes and pastes them all at once.