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

Multiplatform support for Kotlin/JS and Kotlin/Native #11

Open
joelhandwell opened this issue Oct 24, 2018 · 7 comments
Open

Multiplatform support for Kotlin/JS and Kotlin/Native #11

joelhandwell opened this issue Oct 24, 2018 · 7 comments

Comments

@joelhandwell
Copy link

GRPC-web became GA. Coroutine is implemented in Kotlin/JS and Kotlin/Native Is there possibility to extract kotlin common code and implement for JVM/JS/Native to enable multi platform GRPC?

@rouzwawi
Copy link
Owner

This is an interesting idea. I have not tried either of those before so I can't say straight away if it would work or not. But I will spend some time experimenting with those combinations to see what works and what doesn't work. I'll push a branch when I got something to show.

Any help with researching this is highly appreciated!

@wfhartford
Copy link
Contributor

We're early in our adoption of gRPC, but are planning on using gRPC-web at some point in the future. If we can do more of that in Kotlin rather than JS, I'd certainly call it a win.

@RdeWilde
Copy link

Can anyone get me going with this? I'm pretty new, but when I know how I have to setup the tooling/project, I'd like to add my efforts to this project

@Radisovik
Copy link

This project: https://github.com/cretz/pb-and-k generates the JS code.. and native..

@Radisovik
Copy link

I take that back... no native in pb-and-k... there is also kroto plus https://github.com/marcoferrer/kroto-plus which says that "In Progress
Multiplatform Protobuf Messages w/ Kotlinx Serialization"

@MitchDart
Copy link

We are looking at using Kotlin MPP to share our business layer code base between our platforms. Since we use gRPC on all our platforms already this would be really nice to have. Any news on this?

@TimOrtel
Copy link

I have implemented such a project on my own. It currently supports JVM/Android and JS and allows you to make grpc calls from your common code. iOS is currently not supported, but it will be in the future.

Here is my project: GRPC Kotlin Multiplatform

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

7 participants