4 ms·
SQLite is used everywhere. Embedded devices, all sorts of different architectures, etc. C# and LuaJIT are not options. I don't really understand what your poin
by onetwothreefour 14y ago
SQLite is used everywhere. Embedded devices, all sorts of different architectures, etc.
C# and LuaJIT are not options. I don't really understand what your point is, because they implemented their own VM instead.
- finnw 14y agoFair enough, but I was thinking "how would I implement it today" rather than "how should they have implemented it at the time."
- lvh 14y agoImplementing it today would have the same issues: SQLite runs on more platforms than even LuaJIT; and even then I still don't see that a whole general purpose language, no matter how small or embeddable (mostly thinking of Lua here) would compete against SQLite's "be good at SQL-y computation" VM. The main argument for Lua is having humans write it; but the human interface to SQLite is supposed to SQL. I'm not sure I understand the benefit of compiling the SQL down to Lua so it can then be interpreted by the standard Lua implementation...