Prev: Need informations
Next: freetds implementation in Ruby
From: Brian Candler on 30 Apr 2010 16:57 Actually, now I think about it, I wrote some code about 5 years ago for storing XML docs as rows in a SQL database, and one component of that was indeed a tag stream to XML converter. I never fully completed or released it, but I've just pushed it out to a git repo anyway. http://github.com/candlerb/zml/blob/master/lib/zml/stream.rb -- Posted via http://www.ruby-forum.com/.
From: Tony Arcieri on 30 Apr 2010 18:04 [Note: parts of this message were removed to make it a legal post.] On Fri, Apr 30, 2010 at 2:32 PM, Brian Candler <b.candler(a)pobox.com> wrote: > > Would you care to use JRuby? > > I don't mind which stream parser, but Java is out :-) > Why? -- Tony Arcieri Medioh! A Kudelski Brand
From: Robert Dober on 30 Apr 2010 20:17 On Sat, May 1, 2010 at 12:04 AM, Tony Arcieri <tony.arcieri(a)medioh.com> wrote: > On Fri, Apr 30, 2010 at 2:32 PM, Brian Candler <b.candler(a)pobox.com> wrote: > >> > Would you care to use JRuby? >> >> I don't mind which stream parser, but Java is out :-) >> > > Why? And to add insult to injury, by interfacing J*** ;) with JRuby you do not even see Java, you see a Ruby API. ( Just wanted to be clear about this ) R. -- The best way to predict the future is to invent it. -- Alan Kay
From: Florian Gilcher on 1 May 2010 03:52 On May 1, 2010, at 2:17 AM, Robert Dober wrote: > On Sat, May 1, 2010 at 12:04 AM, Tony Arcieri <tony.arcieri(a)medioh.com> wrote: >> On Fri, Apr 30, 2010 at 2:32 PM, Brian Candler <b.candler(a)pobox.com> wrote: >> >>>> Would you care to use JRuby? >>> >>> I don't mind which stream parser, but Java is out :-) >>> >> >> Why? > And to add insult to injury, by interfacing J*** ;) with JRuby you do > not even see Java, you see a Ruby API. > ( Just wanted to be clear about this ) Just to be clear, too: By interfacing Java with JRuby, you get a Ruby API that feels like its written by a Java consultant struggling on his first steps to learn Ruby. While I am impressed how well the integration of JRuby into Java works, Java libraries without a handwritten layer above them still feel very alien. So, you do see Java - a lot, actually. Regards, Florian
From: Robert Dober on 1 May 2010 04:31
On Sat, May 1, 2010 at 9:52 AM, Florian Gilcher <flo(a)andersground.net> wrote: > > On May 1, 2010, at 2:17 AM, Robert Dober wrote: > >> On Sat, May 1, 2010 at 12:04 AM, Tony Arcieri <tony.arcieri(a)medioh.com> wrote: >>> On Fri, Apr 30, 2010 at 2:32 PM, Brian Candler <b.candler(a)pobox.com> wrote: >>> >>>>> Would you care to use JRuby? >>>> >>>> I don't mind which stream parser, but Java is out :-) >>>> >>> >>> Why? >> And to add insult to injury, by interfacing J*** ;) with JRuby you do >> not even see Java, you see a Ruby API. >> ( Just wanted to be clear about this ) > > Just to be clear, too: By interfacing Java with JRuby, you get a Ruby API that feels like its written by a Java consultant struggling on his first steps to learn Ruby. > > While I am impressed how well the integration of JRuby into Java works, Java libraries without a handwritten layer above them still feel very alien. So, you do see Java - a lot, actually. agreed, I was putting my bold statement to test, when calling into Java you need to honor the java type checks and there are no block parameters. Thus there remains lots of work to be done to adapt a given API to be "rubyish" my bad. R. -- The best way to predict the future is to invent it. -- Alan Kay |