News for hackers. Stuff that matters.
Re:EdgeDB 2.0 by nikivi on Thursday July 28, 2022 @01:40PM (#32267742)
I want to build local first software backed by EdgeDB. Similar to these tools:

- https://replicache.dev

- https://github.com/tantaman/conflict-free-sqlite

- https://aphrodite.sh

I wonder if EdgeDB provides any utilities to make this already perhaps? Or community has to build some kind of CRDT software that builds on top of EdgeDB that will do local syncing? Maybe that's planned to be tackled for 3.0?

Re:EdgeDB 2.0 by glommer on Monday August 01, 2022 @09:57AM (#32306000)
Curious if you've taken a look at ChiselStrike (disclaimer: founder here) ChiselStrike translates typescript to sql transparently (https://blog.chiselstrike.com/my-other-database-is-a-compile...) and works well with Replicache (https://blog.chiselstrike.com/offline-data-access-a-dream-co...)
Re:EdgeDB 2.0 by 1st1 on Thursday July 28, 2022 @02:36PM (#32268460)
We don't have that yet. Maybe it will be possible to bootstrap EdgeDB to run on top of SQLite, but that will be a ton of work and limit the schema/language. Nothing prevents you from just running EdgeDB or even bundling in your app except packaging that can get a bit hairy.
Re:EdgeDB 2.0 by jitl on Thursday July 28, 2022 @05:41PM (#32270437)
Isn't EdgeDB a python program? I fear python packaging - especially inside a browser or Android device.
Re:EdgeDB 2.0 by 1st1 on Thursday July 28, 2022 @05:44PM (#32270465)
It's a mix of Python, C, Rust, Cython, etc. It's fully safe-contained though, the fact that there's some Python inside is an implementation detail, you'll never know that as a user.
Re:EdgeDB 2.0 by jitl on Friday July 29, 2022 @08:37PM (#32283234)
but, I would know as an app builder if I was running EdgeDB against a local datastore on a user's device, right?
Re:EdgeDB 2.0 by fnord123 on Thursday July 28, 2022 @03:05PM (#32268798)
Couchbase-lite seems to do what you're asking. It's backed onto sqlite. It's more sync based than crdt based afaict.
Re:EdgeDB 2.0 by qwertox on Thursday July 28, 2022 @04:02PM (#32269429)
Adding ObjectBox to the list.

https://objectbox.io/

Re:EdgeDB 2.0 by tadfisher on Thursday July 28, 2022 @08:28PM (#32271708)
Unfortunately ObjectBox has a proprietary core, which is unfortunate as I'd love to modify it for experimental uses.
Re:EdgeDB 2.0 by greenrobot_de on Friday July 29, 2022 @01:34AM (#32273495)
Any questions on ObjectBox, happy to answer. We believe (and get the feedback) we've made the APIs very intuitive :)