4/30/2026 at 11:39:03 PM
DuckDB is great, and DuckDB-WASM is magic.I build a whole LLM benchmark system around it that lets you run the whole benchmark in your browser: https://sql-benchmark.nicklothian.com/#sample-queries-and-sq...
Click on a cell and you can run the SQL the LLM generated vs what the solution is: https://sql-benchmark.nicklothian.com/?highlight=ggml-org_ge...
The hardest part is getting people to understand that it is interactive! People expect a document-looking webpage to be static, but we can do so much better!
by nl
5/1/2026 at 12:30:19 AM
This is awesome. Is your code open source? It would be cool to make a textbook for SQL in this format.by mrtimo
5/1/2026 at 2:07:39 AM
Yes, code here: https://github.com/nlothian/llm-sql-benchmarkThere is a V2 branch with some minor fixes etc I'm working on.
by nl
5/1/2026 at 4:27:25 AM
Can it be run as a static site(github pages) ?by mrtimo
5/1/2026 at 5:12:36 AM
It is completely static - everything is done on the client side.It's WASM plus client-side React components in a static site.
I'm hosting of Cloudflare Pages (without their serverside function hosting), so yes GH pages will work fine.
by nl