SQL

18 views
Skip to first unread message

Алексей Снегирёв

unread,
Jan 6, 2023, 10:47:19 AM1/6/23
to emscripten-discuss
Hello I am learning web assembly and want to create and setup a database. Could you please advise me a good tutorial about this and what base to use. I am going to use sqLight3. I want to store strings and images in a database.

Shlomi Fish

unread,
Jan 6, 2023, 11:41:03 PM1/6/23
to Алексей Снегирёв, emscripte...@googlegroups.com
hi Alexey,
Do you mean sqlite3? https://en.wikipedia.org/wiki/SQLite ?

are you planning to use it client-side or server-side? also see
https://www.zdnet.com/article/sqlite-bug-impacts-thousands-of-apps-including-all-chromium-based-browsers/
.

--

Shlomi Fish https://www.shlomifish.org/
Emma Watson Factoids - https://shlom.in/emwatson-facts

As it turns out, compiling a C program from more than 20 years ago is actually
a lot easier than getting a Rails app from last year to work.
https://passy.svbtle.com/building-vim-from-1993-today

Please reply to list if it's a mailing list post - https://shlom.in/reply .

Sam Clegg

unread,
Jan 9, 2023, 8:39:36 AM1/9/23
to emscripte...@googlegroups.com
On Fri, Jan 6, 2023 at 7:47 AM Алексей Снегирёв <gru7...@gmail.com> wrote:
Hello I am learning web assembly and want to create and setup a database. Could you please advise me a good tutorial about this and what base to use. I am going to use sqLight3. I want to store strings and images in a database.

Emscripten comes with a version of sqlite that you can include via the ` -sUSE_SQLITE3` compiler (and linker) flag.

If you want the database to persist between runs/reloads you will need to use some kind of persistent file system.  See https://emscripten.org/docs/porting/files/file_systems_overview.html.

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/e58de6b9-fe1d-4885-99ea-5dd77bc6355en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages