Re: Protocol buffers and EBCDIC

2009-05-19 Thread Monty Taylor
David Crayford wrote: > Monty Taylor wrote: >> Yeah... ctype works globally. There's also the char_traits stuff. The >> thing that continues to amaze me is that there is not a good, usable, >> performant and reentrant charset handling lib for c++. Lemme know if >> you find a good one... >> >> >

Re: Protocol buffers and EBCDIC

2009-05-19 Thread David Crayford
Monty Taylor wrote: > Yeah... ctype works globally. There's also the char_traits stuff. The thing > that continues to amaze me is that there is not a good, usable, performant > and reentrant charset handling lib for c++. Lemme know if you find a good > one... > > Dunno if it meets your requ

Re: Protocol buffers and EBCDIC

2009-05-19 Thread David Crayford
David Crayford wrote: > http://en.wikipedia.org/wiki/EBCDIC_1047 > > Note the non-contiguous letter sequences. EBCDIC sucks, but it is used > on enterprise machines and is still used for the majority of the > worlds production data. Protocol Buffers seem like a fantastic > alternative to XML, wh

Re: Protocol buffers and EBCDIC

2009-05-19 Thread David Crayford
http://en.wikipedia.org/wiki/EBCDIC_1047 Note the non-contiguous letter sequences. EBCDIC sucks, but it is used on enterprise machines and is still used for the majority of the worlds production data. Protocol Buffers seem like a fantastic alternative to XML, which is proving to be a huge bottl

Re: Can't this project can be listed on http://code.google.com/p/protobuf/wiki/RPCImplementations.

2009-05-19 Thread xiliu tang
2009/5/20 Kenton Varda > You sent me a personal e-mail to which I replied. My reply was that I > unfortunately don't have time to review any large amount of code, but I'm > happy to put this on the list anyway if you'd like. > Thx, please help to put it in that list! > > > On Mon, May 18, 2009

Re: using namespace std

2009-05-19 Thread Kenton Varda
Great. Want to create a patch to fix protobufs? On Tue, May 19, 2009 at 2:51 PM, Zachary Turner wrote: > Just tried it in 2005 with the following code: > > #include > #include > > namespace test > { >using std::vector; >using std::string; >using std::cout; >template struct X >

Re: using namespace std

2009-05-19 Thread Zachary Turner
Just tried it in 2005 with the following code: #include #include namespace test { using std::vector; using std::string; using std::cout; template struct X { void f() { vector v; v.push_back(string("hi")); cout << v[0] << std::endl; }

Re: using namespace std

2009-05-19 Thread Kenton Varda
The code does not compile in VS2k8. Did you try replacing the "using namespace std;" with a bunch of individual "using std::Foo;" directives? Can we work around the problem that way? On Mon, May 18, 2009 at 11:56 AM, Zachary Turner wrote: > > I managed to get it down to a minimal sample that rep

Re: Can't this project can be listed on http://code.google.com/p/protobuf/wiki/RPCImplementations.

2009-05-19 Thread Kenton Varda
You sent me a personal e-mail to which I replied. My reply was that I unfortunately don't have time to review any large amount of code, but I'm happy to put this on the list anyway if you'd like. On Mon, May 18, 2009 at 7:36 PM, xiliu.t...@gmail.com wrote: > Any update on this, kenton? > --Xiliu

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread Monty Taylor
cosmin.cremare...@gmail.com wrote: > Hi > > I'm running into some issues when compiling (more exactly linking) > protobuf 2.0.3. > > Thanks in advance for any help. > Cosmin > > CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ > sunstudio/sunstudio11/SUNWspro/bin/cc ./configure

Re: Protocol buffers and EBCDIC

2009-05-19 Thread Kenton Varda
If your compiler transforms string literals to a non-ASCII character set, then the code generated by the protocol compiler won't work. We could perhaps fix this by escaping every character in the embedded descriptor, but other problems might come up. I don't have enough experience with EBCDIC to

Protocol buffers and EBCDIC

2009-05-19 Thread daveyc
I built Protocol Buffers on a z/OS mainframe. Build was fine but the unit test choked: libprotobuf FATAL google/protobuf/descriptor.cc:1959] CHECK failed: proto.ParseFromArray(data, size): Without digging too deep in the code, is the parser capable of handling EBCDIC? --~--~-~--~~---

Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread cosmin . cremarenco
Hi I'm running into some issues when compiling (more exactly linking) protobuf 2.0.3. Thanks in advance for any help. Cosmin CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ sunstudio/sunstudio11/SUNWspro/bin/cc ./configure --prefix=/src/work/ mw/protobuf-2.0.3-sunstudio11-buil

Haskell implementation status

2009-05-19 Thread Chris
As for the improved name resolution: Kenton Varda wrote: > On Sun, May 17, 2009 at 6:57 AM, Chris Kuklewicz > wrote: > > > What do people think? > > > You're right, this should have been handled too. Oh well, I'll stick > it on my TODO list for a later release.