8 ms·
I don't like C (correction: I love writing C; I don't like running code written in C), but I'd probably stick with sqlite for several years after the introducti
by tptacek 5y ago
I don't like C (correction: I love writing C; I don't like running code written in C), but I'd probably stick with sqlite for several years after the introduction of a competing Rust sqlike. But I also wouldn't expose sqlite directly to untrusted users (for instance, in the hellworld where I'm a designer on a major browser, I wouldn't make sqlite part of the Javascript interface of that browser).
- nine_k 5y agoI see; I share much of the sentiment. But, tangentially, if not SQLite, what would you expose as a DB interface in a browser? SQL, while large and hairy, is both powerful and logical (in the relational part, not syntax). A plain KV store like dbm is no match to it. A Redis-like store is better but still more limited. Kdb's approach is sort of wonderful but geared towards time series and not much general-purpose. Is there an existing interface / language you would reuse to give the browser a rich database interface?