﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Marc Gravell commented on NH Prof: Persistence Format</title><description>Just my plug for protobuf-net: 
[http://code.google.com/p/protobuf-net/](http://code.google.com/p/protobuf-net/)  
  
Re attributes - note that the current work I'm doing will allow POCO support within protobuf-net, which is (IMO) the more .NET-idiomatic approach.
  
  
The data on the wire is **fully** compatible with other protocol buffers implementations, plus it supports some things that the others don't, while still retaining wire compatibility. Inheritance being the most obvious.
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment8</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment8</guid><pubDate>Sat, 16 May 2009 10:18:54 GMT</pubDate></item><item><title>Maciej Paszta commented on NH Prof: Persistence Format</title><description>Actually there is an API for generating .proto files for such classes, so there are no problems while integrating with other protobuf libs (well I actually tested only one that is for Java and assumed that the rest will work ;). I've choosen attributes over .proto files because, well, it's more convenient for me, but of course each project has it's own requirements. Another thing I like about protobuf-net is that collections (the ones that are declared as 'repeat') can be mapped to dictionaries, lists (even generic ones) without any problem which is so much nicer than using arrays. Anyway I consider PB a great stuff, it's a lot faster than normal binary serialization (one can however cry about not preserving CLR type information) and it greatly improves interoperability.    
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment7</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment7</guid><pubDate>Mon, 11 May 2009 18:20:35 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Persistence Format</title><description>Marciej,
  
The problem is that then you are not compatible with other protobuf impl (unless you can generate the proto from the classes).
  
More important, you are also requiring something that we don't want, attributes.
  
There is also the issue of human readability
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment6</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment6</guid><pubDate>Mon, 11 May 2009 17:05:54 GMT</pubDate></item><item><title>Maciej Paszta commented on NH Prof: Persistence Format</title><description>proto files can be omitted - I use probobuf-net. The only thing you need to do to make ProtoBuff serializable class is decorate it with appropriate attributes :)
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment5</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment5</guid><pubDate>Mon, 11 May 2009 16:36:51 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Persistence Format</title><description>configurator,
  
cross platform, stable for versioning, small, fast to deserialize
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment4</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment4</guid><pubDate>Mon, 11 May 2009 12:17:22 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof: Persistence Format</title><description>Rafal,
  
No, that would mean a lot more pain for the developers, needing to deal with the proto files.
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment3</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment3</guid><pubDate>Mon, 11 May 2009 12:15:35 GMT</pubDate></item><item><title>configurator commented on NH Prof: Persistence Format</title><description>How is the protobuf protocol better than binary serialization, JSON, etc.?
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment2</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment2</guid><pubDate>Mon, 11 May 2009 11:31:57 GMT</pubDate></item><item><title>Rafal commented on NH Prof: Persistence Format</title><description>Ayende, maybe you should consider Protocol Buffers as message serialization format for Rhino Service Bus?
</description><link>http://ayende.com/4004/nh-prof-persistence-format#comment1</link><guid>http://ayende.com/4004/nh-prof-persistence-format#comment1</guid><pubDate>Mon, 11 May 2009 07:25:21 GMT</pubDate></item></channel></rss>