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

Why are AI agents lying, cheating and coordinating?
jonifico · Hacker News · 21h ago
I'm being cyberattacked by Tesla, Inc
robinpie · Hacker News · 5h ago
JetKVM Mini
taubek · Hacker News · 15h ago
google.com/goto: Google's anti-scraping update
1e1a · Hacker News · 1d ago
Revolut confirms customer data breach through fake government requests
tdrz · Hacker News · 13h ago