News for hackers. Stuff that matters.
Re:Show HN: I made a SQL game to help people learn / challen... by justinclift on Saturday April 22, 2023 @08:07AM (#35665766)
> forcing SQLite

It might be the case that it's running SQLite via wasm. If so, then other database engines would need to be runnable in a browser too.

PostgreSQL has been shown to work in the browser (eg https://www.crunchydata.com/blog/learn-postgres-at-the-playg..., and also https://github.com/snaplet/postgres-wasm), so that might be an option.

Not sure about others.

Re:Show HN: I made a SQL game to help people learn / challen... by faxmeyourcode on Saturday April 22, 2023 @10:35AM (#35666980)
duckdb-wasm could also be an option

https://duckdb.org/2021/10/29/duckdb-wasm.html

Re:Show HN: I made a SQL game to help people learn / challen... by robinLord on Saturday April 22, 2023 @07:43PM (#35671925)
Thanks, yea as you say this was a matter of having a library that could reliably/realistically handle the SQL. I found some other libraries but they were a facsimile of SQL rather than behaving like any specific standard. Thanks for the links to those other libraries! I had to fight hard against scope creep to just get this out but I'll def add this to the list for updates!