modular icon indicating copy to clipboard operation
modular copied to clipboard

[Feature Request] Support for grpc

Open liuzhishan opened this issue 1 year ago • 5 comments

Review Mojo's 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:

  1. 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.
  2. 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

liuzhishan avatar Jul 06 '24 15:07 liuzhishan

punt

mikeldking avatar Aug 08 '24 15:08 mikeldking