From andrey at sitnik.ru Fri Mar 14 13:02:01 2008 From: andrey at sitnik.ru (=?UTF-8?Q?Andrey_=E2=80=9CA.I.=E2=80=9D_Sitnik?=) Date: Fri, 14 Mar 2008 20:02:01 +0300 Subject: [ruby-opengl-devel] JRuby Message-ID: Hello. Is it possible to port ruby-opengl on jruby platfrom (use in Java, for example, JOGL)? There isn't architecture problem? -- Carpe diem. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ruby-opengl-devel/attachments/20080314/1ec022dc/attachment.html From hoanga at alum.rpi.edu Fri Mar 14 13:34:54 2008 From: hoanga at alum.rpi.edu (Alain Hoang) Date: Sat, 15 Mar 2008 02:34:54 +0900 Subject: [ruby-opengl-devel] JRuby In-Reply-To: References: Message-ID: Hi Andrey, On Mar 15, 2008, at 2:02 AM, Andrey ?A.I.? Sitnik wrote: > Hello. > Is it possible to port ruby-opengl on jruby platfrom (use in Java, > for example, JOGL)? There isn't architecture problem? > I'm not sure how this would work to tell you the truth. Most of the work for ruby-opengl is in the C-binding area to provide the Ruby API for ruby-opengl. My faint understanding for a jruby port is that portion would need to be written to handle how this would work in Java. It would be quite cool to have a jruby-opengl port that was similar to the API that is offered by ruby-opengl. Perhaps the best way to understand how this would work is see if there have been other jruby ports of Ruby libraries that are basically C-bindings and see how they have handled it. Cheers, Alain From jan.dvorak at kraxnet.cz Fri Mar 14 13:32:45 2008 From: jan.dvorak at kraxnet.cz (Jan Dvorak) Date: Fri, 14 Mar 2008 18:32:45 +0100 Subject: [ruby-opengl-devel] JRuby In-Reply-To: References: Message-ID: <200803141832.45619.jan.dvorak@kraxnet.cz> On Friday 14 March 2008 18:02:01 Andrey ?A.I.? Sitnik wrote: > Hello. > Is it possible to port ruby-opengl on jruby platfrom (use in Java, for > example, JOGL)? There isn't architecture problem? I don't think that can be done in any easy way. Any reason why ? With JRuby you can already use all the Java opengl bindings (you mentioned JOGL yourself). Jan