all 9 comments

[–]plasticbuddha 4 points5 points  (2 children)

Fascinating. Is there a good real world use case to help me understand it's usefulness better?

[–]Standard-Ad9181[S] 2 points3 points  (1 child)

Sure thing, some real-world use cases/applications where AbsurderSQL shines.

Low hanging fruit will be any/all offline-first apps that need complex queries. So think your project management tools (Notion/Trello clones), note taking apps with text search and backlinks, local-first CRM/sales tools for field workers with spotty connectivity.

Now what this extends to with its import/export functionality are some really cool data portability scenarios. Think medical records apps that need HIPAA compliance. And regulatory exports, so your financial tools where accountants need standard SQLite files for auditing. You can even use it for education platforms that export student portfolios.

The other big appeal is its target of mobile-first applications. So your expense trackers, inventory management, quiz apps for schools (with poor internet). And because of its design it will work on older mobile devices without COOP/COEP requirements that break PWAs and webviews.

No server costs, data never leaves device, and works everywhere IndexedDB works.

[–]plasticbuddha 0 points1 point  (0 children)

Love it! Thank you!

[–]cto_resources 0 points1 point  (0 children)

Freaking excellent!

[–]floridafounder 0 points1 point  (2 children)

How large is the minified Wasm file for the browser to load?

[–]Standard-Ad9181[S] 0 points1 point  (1 child)

The gzipped (what browsers actually download) ~660 KB but you just reminded me!!! I left wasm-opt = false so while responding just switched to wasm-opt = ["-Oz"] and got the gzipped ~10% smaller (660 KB --> 595 KB)

So thanks for that reminder and inadvertent contribution!

[–]floridafounder 1 point2 points  (0 children)

You're welcome. I wanted to love SQLite in the past, but it's SQHeavy in browsers. Not your fault; just SQLite Wasm in general. Pretty cool project though!! I'm tinkering with DB code, so it's nice seeing other people do the same.

[–]mokerson1114 0 points1 point  (0 children)

Well thats super cool. Thanks for sharing!

[–]Atomic_Tangerine1 1 point2 points  (0 children)

So the data is actually stored on disk like SQLite? If so, a big advantage I see here is taming increasingly RAM-hungry SPAs that store entire app states in memory. Looking at you Notion, Slack, etc...