datascript

2026-02-24T22:20:12.453749Z

Hello folks and @tonsky, I've made a PR for datascript that includes CLJDart compatibility, all the thanks to Roam Research / @baptiste-from-paris / @cgrand / @brownjoshua490 ++

🔥 3
rjsheperd 2026-02-25T17:40:54.428589Z

Really neat. Do you mind sharing what syncing process you're using between the mobile app and the cloud/desktop clients?

2026-02-25T17:42:50.818759Z

I am not using it for now.

👍 1
Josh 2026-02-26T05:29:35.542529Z

You can keep a transaction log + snapshots to sync between clients but I wouldn't really recommend it for any large amount of data, especially on mobile.

2026-02-26T06:38:57.190229Z

yeah, I would say that you should get some form of topic / subscription on the transactions and a state that can be evolved over time throughout the transactions and make the delta T between message delivery low between those (?)

Josh 2026-02-26T15:06:41.283359Z

If I were to do it over again I would port the new storage engine Nikita wrote in clojure to cljd. The memory pressure on phones is too much for datascript unless you have a small database

🙏 1
Josh 2026-02-26T15:07:47.620639Z

It could be a pain though because you have to make it async. I ported it to clojurescript but never ended up using because it's been too hard to migrate

Josh 2026-02-26T15:08:22.464709Z

datahike has a lot of exciting work happening in this space

2026-02-24T22:20:55.678169Z

most part of the job was only merging the code

2026-02-24T22:21:22.982659Z

tell me if there's anything more needed on Datascript ++

2026-02-24T22:21:24.205319Z

😄