3 ms·
> and nobody was working on rewriting SQLite from scratch. One could also have embedded a trimmed-down PostgreSQL or MariaDB into browsers.
by mschuster91 5y ago
> and nobody was working on rewriting SQLite from scratch.
One could also have embedded a trimmed-down PostgreSQL or MariaDB into browsers.
- SahAssar 5y agoI don't know the reasoning being not doing it, but I'd guess it's related to those DB engines not being geared or interested in embedded use-cases and that no SQL engine seems to entirely agree with any other how to handle certain parts of SQL.
- mschuster91 5y agoIndeed, it would have been a lot of work trimming down any of the major FOSS RDBMS towards embedding them in a browser. Regarding the SQL dialect - that could have been handled by specifying a standard SQL dialect that's then dynamically translated to the target engine's dialetc.
- fzzzy 5y agoThat sounds great! Let's do it.
- bzbarsky 5y agoThose don't implement the same SQL as SQLite does, or as each other... What would the standard actually say?