sample collaborative notepad implementation
ketmar
ketmar at ketmar.no-ip.org
Thu Oct 12 01:43:00 UTC 2017
in the wootedit repo[0] you can find a very simple (but working)
collaborative notepad implementation, based on WOOT algorithm[1][2].
if you ever wanted to know how all those collaborative editors were done...
look no further! ;-) wootedit is simple, but complete implementation of
such editor, with UDP-based network communication. currently, it was tested
under GNU/Linux only, but there are no platform-specific code (except some
socket API), so porting it to another OS should be trivial.
you will need IV[3] and ARSD[4] libraries to build wootedit.
[0] http://repo.or.cz/wootedit.git
[1] http://hal.inria.fr/inria-00071240/
[2] https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type
[3] http://repo.or.cz/iv.d.git
[4] https://github.com/adamdruppe/arsd
More information about the Digitalmars-d-announce
mailing list