I worked on grpc/grpc-web, and I don't believe you are able to do any native networking I/O from the browser, but if you have any pointer to suggest otherwise, happy to have a look and assess the feasibility.
On Tuesday, March 13, 2018 at 6:25:53 AM UTC-7, Matthew Avery wrote: > > I did get grpc and protobuf compiles to WASM but it is not working yet, > even after enabling SharedArrayBuffer on my browser. I'm getting a type > exception on the first call to Atomics.store() that is trying to allocate > memory for pthread support. > > On Friday, March 9, 2018 at 11:16:28 AM UTC-5, Matthew Avery wrote: >> >> I just started looking at this today. Any progress on your end? >> >> On Friday, January 19, 2018 at 6:03:04 AM UTC-5, [email protected] >> wrote: >>> >>> Hi, >>> I'm trying to compile grpc with Emscripten >>> <http://kripken.github.io/emscripten-site/index.html> to WebAssembly >>> <https://developer.mozilla.org/en-US/docs/WebAssembly> - trying to get >>> a C++-based grpc client working in the browser. >>> >>> Does anyone know if getting this working is even feasible and has anyone >>> else tried it? I'm having issues compiling (mostly Protobuf) which I think >>> I'll be able to solve, but I'd like to know if the effort is worth it. >>> >> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f0f70531-392a-43be-9f2d-848e394d6bed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
