-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline reconcilliation #1
Comments
Hi @gerardwebb! Thanks for your interest, and welcome to our community!
I've done some research on Flutter and Go myself, but having to go through CGO to do any UI changes was a real pain. If you have any resources on that, I'd be very interested to see them!
Sprout itself is only in its first iteration. It's the simplest protocol that we could devise in order to ship updates around. However, I'd love to discuss other options.
Arbor doesn't support "edits" in a conventional sense. The forest is immutable. Editing a message (not yet implemented) will take the form of creating a child node with special metadata indicating that it is a patch applied to its parent. Could you elaborate on the more reusable approach that you're envisioning? Also, FYI, we usually do this kind of stuff on our sourcehut issue tracker, which handles issues for all of the repos in the project. I just haven't gotten around to setting up the GitHub action that we use to automatically redirect issues there. Happy to have this conversation here, but that's probably a better place to open future issues. |
Well thanks for this project. Am loving gio !!
Starting to agree. I like the GIO approach of "close to the GPU"..
Yeah i got pretty lost in the code in terms of trying to understand the logic. I have been playing around with GRPC / Protobufs working with WASM in the browser. Mostly because i need to build more apps tan just chat and so a strongly typed contract can make things more sane for devs. I have been looking into how to get the equivalent of GRPC-Web but with no envoy, and golang server and GIO client. This one works. I just need to test compiling with GIO
This one i am not sure yet: https://github.com/dennwc/dom/tree/master/examples/grpc-over-ws Its my own bias i know. I like code gen so that refactoring is nice.
Ok that looks pretty simple...
I dont have enough understanding of Forest yet to comment. There are two golang ones out there i have seen so far.
Merkel Dag Diff based: https://github.com/rocicorp/diff-server
|
Well I'm happy to consult on gio work if you ever have questions, though the gioui slack channel or arbor might be a better place for such discussions! I have little experience with grpc and protobuf, so I'm afraid that I can't be much help with that part of it. You probably already have websockets working, but if not there's this: https://git.sr.ht/~whereswaldon/gio-wasm-ws I wrote it a few months back, so some of the gio code won't work with the latest API. The principles should still apply though. I think you're thinking in terms of a much more complex collaborative editing kind of experience than what arbor actually does. Is that what you're looking to build? A collaborative editor in the browser? |
Thanks for the offer about consulting. Its something i would be open to actually. Yeah i am active in the GIO a sourcehut. I did not even know there was a slack channel :) How did i miss that !
Me too :)
Looks pretty clean. Will give it a whirl..
YES spot on. Its Gsuite / Telegram combined for Web, Desktop, Mobile, and pine64 hardware. |
I would like to help as i code golang and love what Gio gui framework is doing.
Currently i use flutter and golang together BTW, however i see awesomeness in the Gio approach
The Sprout spec is interesting. For me i woudl have thought a Kappa approach with CRDT woudl have been more reusable, but i have not really dived into running the relay, and CLi yet to see how it handles off line edits, which is always the sticky part :)
The text was updated successfully, but these errors were encountered: