So, I want to use rsync features for a program I want to write in Julia, and as far as I'm aware there's no rsync for Julia.

All I found was an unmaintained project that threw up bindings around librsync.

Here are my choices:
1. Use the rsync command via the shell (lazy but expedient)
2. Write a proper binding from Julia to librsync
3. Re-implement the rsync algorithms in pure Julia

Which one should I do?

In particular, the results of 2 or 3 would be useful to other people.

Follow

@urusan rsync via shell to get your POC/initial version out the door. Then write a binding.
It's your code, so use whatever license you feel appropriate. However a well established FOSS license would be nice.

@ejg Interesting side note: writing a C binding in Julia is almost trivial. There's a package to do it automatically.

Though I would go a bit further and make a Julia-idiomatic API.

In any case, if I want to make a binding in the long run, it's much better to just start with the binding in this case.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.