Ruby ICE binding
This is a continuation of a previous subthread. Progress thus far:
My interest in Ruby (at this time) is purely client-side. If the PHP ICE implementation functions in a single-threaded client mode can the same style of integration be done for Ruby? If so, it this something that a mortal could accomplish or am I better off writing C++ proxies?jrimmer:
With the newfound popularity of Ruby, especially in combination with the Rails framework, ICE support would be wonderful. Having to use webservices to access back end functionality is distressing.
I looked at Ruby some time ago, and liked it very much. However, at this time it didn't have native threads, which made it unusable for Ice. Does Ruby have native thread support now?
Nope, Ruby's still missing native threads. As I'm interested in using Ruby as a caller and a native implementation won't be forthcoming how should I pursue integration? Wrap highlevel native C++ with a Ruby interface? Do you have a link for information on how to integrate non-supported runtime envrinments?
Ruby v2, which will start trickling out later this year apparently contains support for native threading. Though as Ruby's an open source codebase who knows when it will be released or precisely what features it will contain.
If you only need client-side functionality, you could wrap C++ proxies in Ruby. For server-side integration, I'm afraid you are out of luck, as the C++ runtime will dispatch requests in native threads.
You could look at the Ice for PHP source code for examples. Ice for PHP also has only client-side integration.
(If you have further questions regarding this subject, please start a new thread. This thread is for a general discussion about new Ice features.)