Solving poker in custom WebGPU kernels

·Hacker News··

I wanted to build a poker solver that I could host for ~free. This meant running client-side, where the best browser technology is WebGPU. The tensor library I wanted did not exist, but in the LLM era we sometimes don't need libraries at all. I had Codex turn my thousands of lines of PyTorch code into custom WebGPU kernels with parity tests. Codex then spent days optimizing those kernels.You can use the solver at https://holdem.computer, and the source is at https://github.com/phulin/poker2.

Read full article →

Related Articles

Claude Code regularly sends each background agent’s transcript to its model
NikZaal · Hacker News · 6h ago
Anthropic S-1
SiNTEx · Hacker News · 2d ago
Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5
csmantle · Hacker News · 9h ago
Git for the US Code
alansaber · Hacker News · 1d ago
Solar power is becoming bigger than nuclear
geox · Hacker News · 2d ago