modular
modular copied to clipboard
[Feature Request] Support for grpc
Review Mojo's priorities
- [X] I have read the roadmap and priorities and I believe this request falls within the priorities.
What is your request?
I want to use grpc in Mojo.
What is your motivation for this change?
In distributed computing, workers need to communicate with each other, so grpc is a key part of distributed computing. Since Mojo aim to be the world's unified AI infrastructure, grpc seems to be inevitable eventually.
And I check the grpc homepage, mojo is not supported yet officially. Are there any plan about this subject, or are there any other preliminary work need to be done first ? Some idea could be considered:
- As @Brian-M-J pointed out in discussion https://github.com/modularml/mojo/discussions/3132, one way to support grpc is to make a Mojo wrapper for the core C++ library. But it may require some support for c++ interop.
- Generate Mojo code for grpc, and then use it in Mojo as other language.
Both ways seems to be a lot of work. I think grpc is a huge subject, these are my some simple thought about grpc. Maybe need some more discussion about this subject.
Any other details?
No response
punt