datalog

lilactown 2020-10-16T17:45:04.041700Z

I guess core data is pretty much an EAV Db on top of SQLite

lilactown 2020-10-16T17:46:05.042400Z

It's got some kind of orm thing though

zane 2020-10-16T17:58:13.042900Z

Could you run Datascript via JavaScript Core? :thinking_face:

lilactown 2020-10-16T18:01:14.043300Z

Someone suggested something like that. Perhaps.

lilactown 2020-10-16T18:02:42.045300Z

It’s a lot of overhead just to use an in memory db. Feels bad to run a whole js vm too lol

refset 2020-10-16T19:05:50.051Z

It's probably not the answer you're looking for, but you can monkey-patch DataScript to use any kind of storage backend that can model a sorted map, e.g. https://github.com/hraberg/datascript-mapdb/blob/master/src/datascript_mapdb/core.clj