﻿<?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>Ayende Rahien commented on A case of massive stupidity</title><description>configurator,
  
But I _do_ control writer, I am the only owner of the reference
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment9</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment9</guid><pubDate>Wed, 27 May 2009 09:44:30 GMT</pubDate></item><item><title>configurator commented on A case of massive stupidity</title><description>Isn't locking on objects you can't control, such as lock (writer), discouraged? Wouldn't it be better to have a locker object?
  
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment8</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment8</guid><pubDate>Wed, 27 May 2009 00:27:09 GMT</pubDate></item><item><title>Ayende Rahien commented on A case of massive stupidity</title><description>lock(writer)
  
{
  
   writer.Write(msg);
  
}
  
  
I didn't touch the protobuf code. Protobuf isn't aware of threading, and I don't think it should.
  
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment7</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment7</guid><pubDate>Sun, 24 May 2009 09:12:47 GMT</pubDate></item><item><title>Ayende Rahien commented on A case of massive stupidity</title><description>The performance wasn't actually the major reason.
  
I wanted a cross platform format that had good versioning story.
  
It helps that it is very perfomant, because I am handling large number of messages. So far I haven't even had a reason to think about it, so I am very happy
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment6</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment6</guid><pubDate>Sun, 24 May 2009 09:08:00 GMT</pubDate></item><item><title>firefly commented on A case of massive stupidity</title><description>Oren,
  
  
I mean to ask where did you choose to do the write synchronization, in the higher up code or right in the protocolbuffers file? I am guessing the later is that right?
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment5</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment5</guid><pubDate>Sun, 24 May 2009 08:29:04 GMT</pubDate></item><item><title>CaliCoder commented on A case of massive stupidity</title><description>Ayende, 
  
  
how are the Google Protocol Buffers working out?  Is it what you thought in terms of performance?
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment4</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment4</guid><pubDate>Sun, 24 May 2009 03:11:43 GMT</pubDate></item><item><title>Ayende Rahien commented on A case of massive stupidity</title><description>Syncronized the writes
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment3</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment3</guid><pubDate>Sat, 23 May 2009 23:33:06 GMT</pubDate></item><item><title>firefly commented on A case of massive stupidity</title><description>How did you fix it?
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment2</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment2</guid><pubDate>Sat, 23 May 2009 17:21:12 GMT</pubDate></item><item><title>configurator commented on A case of massive stupidity</title><description>What happened here is not massive stupidity. Massive stupidity is not knowing why this needs the synchronization. Mistakes, though, happen even to the best of us. Everyone makes mistakes - even Jon Skeet. A mistake of omission of synchronization is damn annoying, and usually very time consuming, but it sure isn't stupidity.
</description><link>http://ayende.com/4032/a-case-of-massive-stupidity#comment1</link><guid>http://ayende.com/4032/a-case-of-massive-stupidity#comment1</guid><pubDate>Sat, 23 May 2009 16:38:23 GMT</pubDate></item></channel></rss>