I re-implemented protobuffers last week in Ruby, and it actually wasn't that hard. Here's how I define structures:
http://github.com/danopia/ruby-on-sails/blob/master/wave_proto.rb It got a lot easier to do once I realized that I can't just guess the structure on the fly. (If you said "Blah" in my old guessing parser, it would parse it into a key/value pair :P) On Oct 30, 12:30 pm, ThomasWrobel <[email protected]> wrote: > ah, thanks for the clarifications folks. > > This (http://www.process-one.net/en/blogs/article/ > processone_wave_server_ejabberd_extension_video/) seems to be a > legitmate emulation of the protobuffers going on though. > > I really hope we arnt all expected to learn googles method, but I'm > getting pessimistic now. > > On Oct 25, 8:51 pm, Karim Yaghmour <[email protected]> wrote: > > > On Sun, Oct 25, 2009 at 12:54 PM, Devyn Cairns <[email protected]> > > wrote: > > > Yeah, but ew.... VB.NET. I used VB for a long time and hated it. One of > > > the > > > reasons I moved to Ruby... then Linux. > > > I know the feeling :) Went to Linux in '95 myself ... back to some > > Windows use recently in part because of my "managerial" duties :/ > > Still doing all the hard-core stuff on Linux though ... > > > That said, the interesting parts of gwave-tools are regexps and are > > therefore easily portable to any other language. > > > -- > > Karim Yaghmour > > CEO - Kryptiva inc. > > >http://twitter.com/KarimYaghmour > > w:www.kryptiva.com|t: 1.888.777.7207 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en -~----------~----~----~----~------~----~------~--~---
