Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How to store data when SQL sucks

Name: Anonymous 2013-01-21 8:22

Is SQLite the only option for data storage in a cross-platform desktop app? WTF?

SQL is such a broken leaky abstraction and most NoSQL stuff is even worse (JSON for queries? Seriously?). Either way though none of that helps desktop apps unless you want to manage a separate database process.

I'm tempted to write my own B+tree impl but that's like a pain in the ass. Where is libpersistent-data-structures that I can drop into my project?

Name: Anonymous 2013-05-15 5:36

>>39
NO!

Think of chineses as memory pages. You can now sort them in any order (by name, by birth datetime, you name it, just watch out for collisions!) to obtain a chinese address space.

Then you just map your address space to the chinese address space. MAX_BYTES_TO_MEMORIZE_BY_A_CHINESE constant will be of help, but obtaining its value is left as an excercise for the reader.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List