Benoit Daloze

Results 1302 comments of Benoit Daloze

The [external weak symbol issue](https://github.com/oracle/truffleruby/issues/2247#issuecomment-773365724) is fixed in https://github.com/oracle/graal/commit/1ddc1c2f178d652185cb5c20de91b9fe984a77e3, and I'm updating the graal import to pick that fix. There is another issue with `pthread_{g,s}etname_np` in Sulong that @Palez is...

Related: recent grpc/google-protobuf need WeakMap to support primitives (#2267) which is now fixed.

Trying it the examples today on Linux, I get: ``` $ ruby -v greeter_server.rb truffleruby 21.1.0-dev-fac7597c, like ruby 2.7.2, GraalVM CE Native [x86_64-linux] java.lang.UnsupportedOperationException: Thread[default-executo,5,main] was not registered at org.truffleruby.language.SafepointManager.leaveThread(SafepointManager.java:94)...

With branch https://github.com/eregon/grpc/tree/truffleruby-debug which has a couple workarounds, and latest truffleruby-dev, it works for one message (`"Greeting: Hello world"`) and then the client hangs while exiting as it can't interrupt...

New PR for grpc, cleaned up and rebased on latest grpc: https://github.com/grpc/grpc/pull/27660

The [PR](https://github.com/grpc/grpc/pull/27660) to support building the grpc gem on TruffleRuby has been merged. So now it's about getting the grpc gem to work at runtime, which I'll track in this...

https://github.com/cookpad/grpc_kit seems a possible alternative to the grpc gem. It's written in Ruby and uses the google-protobuf gem (which works fine on TruffleRuby). I tried and both the [helloworld](https://github.com/cookpad/grpc_kit/blob/master/examples/helloworld_client.rb) and...

TruffleRuby is now in `grpc_kit`'s CI and passes all tests. I'm not sure how much [grpc_kit](https://github.com/cookpad/grpc_kit) (and maybe [griffin](https://github.com/cookpad/griffin)) can replace `grpc` in practice though, it would be useful if...

Thanks for the context. grpc seems hard to get working because it's a huge amount of rather messy C++/C code (which notably uses reflection with `dlsym()` and has multiple implementations...

Right, there are quite a few gems depending on `grpc`: https://rubygems.org/gems/grpc/reverse_dependencies We'll look into how feasible it is to run some part natively and some part on Sulong. > I...