Skip to content
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

meta: new ZeroMQ/C++ license #145

Open
9 tasks
sbinet opened this issue Oct 12, 2023 · 7 comments
Open
9 tasks

meta: new ZeroMQ/C++ license #145

sbinet opened this issue Oct 12, 2023 · 7 comments

Comments

@sbinet
Copy link
Contributor

sbinet commented Oct 12, 2023

with the ZeroMQ C++ project being relicensed under MPL-2:

zeromq/libzmq#4555

we could theoretically rewrite go-zeromq/zmq4 by "just" reading ZeroMQ/C++ code.
(that's still a lot of work, but we could almost get into a bug-for-bug state)

  • implement push/pull
  • implement req/rep
  • implement dealer/router
  • implement pub/sub
  • implement xpub
  • implement xsub
  • implement pair
  • implement bus
  • implement multi-part messages
@ahmetson
Copy link

Yeah let’s do it. But I will change the API interface to match with pebbe/zmq4.

since that is already released, I think there might be more production libraries relying on library. It will be easier to migrate.

@ahmetson
Copy link

@sbinet can we open a telegram or some other library? I will write it from scratch.

@sbinet
Copy link
Contributor Author

sbinet commented Nov 13, 2023

@ahmetson if you want to tackle this (great!), I'd advise just to create a branch off the latest go-zeromq/zmq4 main branch, remove all (code) files and add your translated from C++ files.

also, it would be great to keep the Go/CGo compatibility tests :)
(I've updated this issue to add the list of ZMQ sockets to implement)

@ahmetson
Copy link

@sbinet, how is the CGO compatible with the rewritten zmq?

To make the compatibility, then the current interface must be kept. So, no pebbe/zmq4?

@sbinet
Copy link
Contributor Author

sbinet commented Nov 13, 2023

not necessarily.
what I meant was to keep a set of Go/CGo compatibility tests, but we can change the interface to be more in line with pebbe/zmq4's.

@ahmetson
Copy link

Okay, I will start in December. Until 10 December, I will be in the hackathon. I will fork this repo and start slowly implementing them.
As I start, I will keep you updated.

@sbinet
Copy link
Contributor Author

sbinet commented Nov 16, 2023

Cool, sounds like a plan.
Keep us posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants