News for hackers. Stuff that matters.
Re:Show HN: Triplit – Open-source syncing database that runs... by munzman on Tuesday June 25, 2024 @06:01PM (#40794179)
would be great to have Rust bindings so it could work with Tauri. With tauri growth and the upcoming mobile devices support coupled with SQLite recent hype, this could bridge the gap and solve many problems for offline-first apps, thus become the go to solutions for many dev shops.
Re:Show HN: Triplit – Open-source syncing database that runs... by matlin on Tuesday June 25, 2024 @06:26PM (#40794386)
I thought Tauri was just using native web renderers? Seemingly Triplit should work out of the box.
Re:Show HN: Triplit – Open-source syncing database that runs... by OJFord on Tuesday June 25, 2024 @08:27PM (#40795223)
Yes but the 'backend' (the client, but the non-presentational bit) is Rust; it'd be there you'd want to do this sort of synchronisation or anything to do with state/database. You could absolutely shoe-horn it in, it just wouldn't be the way you'd expect it to work or feel particularly right/supported.
Re:Show HN: Triplit – Open-source syncing database that runs... by matlin on Tuesday June 25, 2024 @08:40PM (#40795294)
Got it, that makes sense. Probably could spin up Node process but of course that requires having Node installed or bundled with the app.
Re:Show HN: Triplit – Open-source syncing database that runs... by satvikpendem on Wednesday June 26, 2024 @02:06AM (#40796886)
I'm looking to add Rust bindings to ElectricSQL as that is a similar sync solution but it acts on the database layer so it's language agnostic. I'm using Rust on the server but Rust bindings would work on both the client and server. If you're interested in joining me on developing those Rust bindings, let me know.