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

Scala Native Build #577

Open
dejvid opened this issue Nov 18, 2023 · 2 comments
Open

Scala Native Build #577

dejvid opened this issue Nov 18, 2023 · 2 comments

Comments

@dejvid
Copy link

dejvid commented Nov 18, 2023

Will there be a build with Scala native support? ScalaPB is already built for Scala native.

@thesamet
Copy link
Contributor

@dejvid For ScalaPB, I re-implemented a part of the Java protobuf runtime in Scala so it can be compiled using Scala native and Scala.js. zio-grpc is built on top of grpc-java which doesn't have a Scala implementation, and writing it would require quite a bit of effort. Potentially, it's possible to explore if the Scala native implementation can somehow interoperate with the C++ implementation of grpc. Happy to keep this feature request open for a while to check for demand and see if anyone is volunteering!

@dejvid
Copy link
Author

dejvid commented Dec 6, 2023

Okay, ScapaPB works on Scala native, just not the grpc-java. Because it is not written in Scala, what about the GRPC stuff that works on Scala.js? Could that part be used somehow?

If we want to run native-scala with gprc, and when multithreading starts working(scala native 0.5), the grpc feature is compelling to use.

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