Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Whenever WASM SQLite comes up there is discussion as to if it would have been better for WebSQL to have become a cross browser standard.

An oft-neglected detail in such discussion is that WebSQL was main-thread-only. When WebSQL was designed that was not a serious issue, but it would have been in conflict with the directions web design has since taken, making WebSQL a non-starter for many modern apps.

> WebSQL would have been tied to one single version of SQLite, with no alternative implementation.

Not only that, but with a castrated feature set (e.g. only implicit transactions and lack of many of sqlite's SQL functions). When trying to benchmark WebSQL vs the sqlite project's WASM build, that castration makes it difficult to get apples-to-apples comparisons.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: