News for hackers. Stuff that matters.
Re:SQLite as a Document Database by tksb on Friday November 27, 2020 @11:13AM (#25229834)
Thanks for posting this! Very interested in Realm-like solutions.
Re:SQLite as a Document Database by liuliu on Friday November 27, 2020 @01:41PM (#25231458)
Thanks! Realm is really easy to start, but not far from Core Data in its API. Dflat focuses on writing correct code easy, thus, its API is fairly different from these two. Its API resembles from Apple's PhotosKit (which I liked the interface a lot), but generalized it and makes sure you can have concurrent and synchronous read, managed write threads, strict-serializable multi-reader / multi-writer. Also paid extra attention to edge cases such as schema upgrade upon disk full (hence, read-only schema upgrade).
Re:SQLite as a Document Database by tksb on Friday November 27, 2020 @07:21PM (#25233880)
Sounds awesome. I've saved it and hope to find some time to dig in a little bit soon. Thanks for the additional details!