<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Development at Guidewire</title>
	<atom:link href="http://guidewiredevelopment.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://guidewiredevelopment.wordpress.com</link>
	<description>A group blog from the Developers at Guidewire Software (www.guidewire.com)</description>
	<lastBuildDate>Fri, 20 Nov 2009 13:47:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Taras</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-660</link>
		<dc:creator>Taras</dc:creator>
		<pubDate>Fri, 20 Nov 2009 13:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-660</guid>
		<description>interesting
i guess it&#039;s all subject for another topic

would you mind doing a blog on Studio performance and plans to improve it? :)</description>
		<content:encoded><![CDATA[<p>interesting<br />
i guess it&#8217;s all subject for another topic</p>
<p>would you mind doing a blog on Studio performance and plans to improve it? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Alan Keefer</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-658</link>
		<dc:creator>Alan Keefer</dc:creator>
		<pubDate>Thu, 19 Nov 2009 17:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-658</guid>
		<description>It&#039;s almost certainly not worth fixing just for speed improvements; it&#039;s really just a small drop in the bucket compared to everything else going on.  Maybe 1 or 2%, depending on how many issues there are on a given page and how frequently that code is hit?  Maybe not even that?  The main incentive to fix those will be, as you say, that some day you&#039;ll have to fix them if you want to upgrade to some later version that&#039;s fully case-sensitive (probably CC 7/PC 5/BC 4 will have a case-sensitive version of the language, though that&#039;s not set in stone by any means).</description>
		<content:encoded><![CDATA[<p>It&#8217;s almost certainly not worth fixing just for speed improvements; it&#8217;s really just a small drop in the bucket compared to everything else going on.  Maybe 1 or 2%, depending on how many issues there are on a given page and how frequently that code is hit?  Maybe not even that?  The main incentive to fix those will be, as you say, that some day you&#8217;ll have to fix them if you want to upgrade to some later version that&#8217;s fully case-sensitive (probably CC 7/PC 5/BC 4 will have a case-sensitive version of the language, though that&#8217;s not set in stone by any means).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Taking Responsibility by Minh Vu</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/06/25/taking-responsibility/#comment-657</link>
		<dc:creator>Minh Vu</dc:creator>
		<pubDate>Thu, 19 Nov 2009 08:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=265#comment-657</guid>
		<description>This is the right philosophy because the man behind it live up to it. Because people are led by example, so whatever philosophy a leader pursuit, it will works if and only if the leader himself is an example. This is true for Alan, Adolf Hitler and Dr. King :) even their philosophy are different. 

In my own little world and narrow view, I think that leader should be tough with his followers, demand nothing but the best from them, but taking the least when things go right and the most when things go wrong. The great leader should take himself out of the equation of what best for the company. Actively prepare his successors to take his place in case he&#039;s out. He himself is nothing but the catalyst for a great company and transform himself into the cooperate culture. Alan is great, the and what better is we&#039;re not done with him yet, we can get more from him.</description>
		<content:encoded><![CDATA[<p>This is the right philosophy because the man behind it live up to it. Because people are led by example, so whatever philosophy a leader pursuit, it will works if and only if the leader himself is an example. This is true for Alan, Adolf Hitler and Dr. King <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  even their philosophy are different. </p>
<p>In my own little world and narrow view, I think that leader should be tough with his followers, demand nothing but the best from them, but taking the least when things go right and the most when things go wrong. The great leader should take himself out of the equation of what best for the company. Actively prepare his successors to take his place in case he&#8217;s out. He himself is nothing but the catalyst for a great company and transform himself into the cooperate culture. Alan is great, the and what better is we&#8217;re not done with him yet, we can get more from him.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How Much Do You Sweat The Details? by Minh Vu</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/09/04/how-much-do-you-sweat-the-details/#comment-656</link>
		<dc:creator>Minh Vu</dc:creator>
		<pubDate>Thu, 19 Nov 2009 08:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=267#comment-656</guid>
		<description>:) If I get into Alan&#039;s head, I probably won&#039;t find my way out. This is an interesting thought which holds many implications. I doubt that complex decision like this should be made at any regular basis. This is  like socialist government trying to set price for thousand of products on the market, no ways they gonna know how much a product will cost until someone pay for it. Upfront, you cannot tell how much time you can save, nor can you predict the possibility of such saving. We need a simple idea like capitalism, let supply and demand decide the price and in turn allocate scared resources efficiently.

My personal take on this is to go with your first instinct, if you think there is a chance that your first instinct may be different from others, double check with them. If it&#039;s clear in your mind and that of your collages, go with it, if it would not works, everyone will understand why and will fix it. If you don&#039;t even have the first instinct, go ask Alan K. :)</description>
		<content:encoded><![CDATA[<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If I get into Alan&#8217;s head, I probably won&#8217;t find my way out. This is an interesting thought which holds many implications. I doubt that complex decision like this should be made at any regular basis. This is  like socialist government trying to set price for thousand of products on the market, no ways they gonna know how much a product will cost until someone pay for it. Upfront, you cannot tell how much time you can save, nor can you predict the possibility of such saving. We need a simple idea like capitalism, let supply and demand decide the price and in turn allocate scared resources efficiently.</p>
<p>My personal take on this is to go with your first instinct, if you think there is a chance that your first instinct may be different from others, double check with them. If it&#8217;s clear in your mind and that of your collages, go with it, if it would not works, everyone will understand why and will fix it. If you don&#8217;t even have the first instinct, go ask Alan K. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Taras</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-655</link>
		<dc:creator>Taras</dc:creator>
		<pubDate>Sat, 14 Nov 2009 06:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-655</guid>
		<description>Yeah we&#039;ve noticed those 300 odd warnings when the server starts up :)

So how much slower is it going to be? Is it 2-3 times slower? 
What I&#039;m trying to establish, is whether it&#039;s worth going through the legacy code and fix all those case sensitivity issues, or leave it for the distant future when the management decides to upgrade to a version with full case sensitivity.</description>
		<content:encoded><![CDATA[<p>Yeah we&#8217;ve noticed those 300 odd warnings when the server starts up <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So how much slower is it going to be? Is it 2-3 times slower?<br />
What I&#8217;m trying to establish, is whether it&#8217;s worth going through the legacy code and fix all those case sensitivity issues, or leave it for the distant future when the management decides to upgrade to a version with full case sensitivity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Alan Keefer</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-654</link>
		<dc:creator>Alan Keefer</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-654</guid>
		<description>Yeaaahhhhhh . . . that one&#039;s kind of an odd story.  I believe (though I could be wrong . . . it was more than seven years ago) that GScript ended up case-insensitive because a very early customer requested that for our rules engine (which was all GScript was, at first).  Unfortunately, in addition to being annoying due to namespace collisions, it&#039;s a bit of a performance drag.  In previous versions of our platform, we implemented case-insensitivity via a CaseInsensitiveHashMap and a CaseInsensitiveCharSequence; basically, doing something like toUpperCase or toLowerCase all the time was too expensive, so we had to wrap Strings in our own object that could do a case-insensitive hash, and have a special Map class that knew how to make use of that.  Even that, however, turned out to be a major performance drag.

So for the version of the platform used in CC5, we killed off as many of the CaseInsensitiveHashMaps as we could, and instead replaced it with a fallback mechanism:  we assume that the name typed into the source is the correct one, so we look the property up by that name in a normal HashMap.  If that fails, then we fall back to looking through the property names to find the one that matches without regard to case.  That lookup process is relatively slow, though, and happens every time that expression is executed.

The upshot is that we were able to improve performance in the case where everything is in the right case at the expense of slowing down accesses where the case is incorrect.  You&#039;ll notice that case mismatches also now generate a parse warning, so you can at least identify and fix those issues.  I believe the current plan is to make the language fully case-sensitive in some not-too-distant future release.</description>
		<content:encoded><![CDATA[<p>Yeaaahhhhhh . . . that one&#8217;s kind of an odd story.  I believe (though I could be wrong . . . it was more than seven years ago) that GScript ended up case-insensitive because a very early customer requested that for our rules engine (which was all GScript was, at first).  Unfortunately, in addition to being annoying due to namespace collisions, it&#8217;s a bit of a performance drag.  In previous versions of our platform, we implemented case-insensitivity via a CaseInsensitiveHashMap and a CaseInsensitiveCharSequence; basically, doing something like toUpperCase or toLowerCase all the time was too expensive, so we had to wrap Strings in our own object that could do a case-insensitive hash, and have a special Map class that knew how to make use of that.  Even that, however, turned out to be a major performance drag.</p>
<p>So for the version of the platform used in CC5, we killed off as many of the CaseInsensitiveHashMaps as we could, and instead replaced it with a fallback mechanism:  we assume that the name typed into the source is the correct one, so we look the property up by that name in a normal HashMap.  If that fails, then we fall back to looking through the property names to find the one that matches without regard to case.  That lookup process is relatively slow, though, and happens every time that expression is executed.</p>
<p>The upshot is that we were able to improve performance in the case where everything is in the right case at the expense of slowing down accesses where the case is incorrect.  You&#8217;ll notice that case mismatches also now generate a parse warning, so you can at least identify and fix those issues.  I believe the current plan is to make the language fully case-sensitive in some not-too-distant future release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Taras</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-653</link>
		<dc:creator>Taras</dc:creator>
		<pubDate>Thu, 05 Nov 2009 13:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-653</guid>
		<description>give us more :)

btw, on an unrelated topic
what&#039;s the go with GScript in V5.0 of CC being not case sensitive, but if you use proper casing the manual says you achieve better performance? how does that work?</description>
		<content:encoded><![CDATA[<p>give us more <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>btw, on an unrelated topic<br />
what&#8217;s the go with GScript in V5.0 of CC being not case sensitive, but if you use proper casing the manual says you achieve better performance? how does that work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by David Linde</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-652</link>
		<dc:creator>David Linde</dc:creator>
		<pubDate>Wed, 28 Oct 2009 18:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-652</guid>
		<description>I enjoyed the post, I am definately interested in more jvm details or new languages in general.</description>
		<content:encoded><![CDATA[<p>I enjoyed the post, I am definately interested in more jvm details or new languages in general.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Alan Keefer</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-651</link>
		<dc:creator>Alan Keefer</dc:creator>
		<pubDate>Mon, 26 Oct 2009 07:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-651</guid>
		<description>My vague understanding (according to my co-worker who did the first pass at the implementation) is that Java used to use a subroutine call for finally blocks, calling the subroutine at all the necessary places, rather than directly inlining the finally blocks as is done now (apparently the subroutine instruction isn&#039;t allowed in 1.6 bytecode).  Apparently they ditched it because it made verification too difficult and too slow, though I can imagine that, as you say, it&#039;s still a serious pain despite that change.</description>
		<content:encoded><![CDATA[<p>My vague understanding (according to my co-worker who did the first pass at the implementation) is that Java used to use a subroutine call for finally blocks, calling the subroutine at all the necessary places, rather than directly inlining the finally blocks as is done now (apparently the subroutine instruction isn&#8217;t allowed in 1.6 bytecode).  Apparently they ditched it because it made verification too difficult and too slow, though I can imagine that, as you say, it&#8217;s still a serious pain despite that change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Compiling Try/Catch/Finally on the JVM by Alan Keefer</title>
		<link>http://guidewiredevelopment.wordpress.com/2009/10/22/compiling-trycatchfinally-on-the-jvm/#comment-650</link>
		<dc:creator>Alan Keefer</dc:creator>
		<pubDate>Mon, 26 Oct 2009 06:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://guidewiredevelopment.wordpress.com/?p=281#comment-650</guid>
		<description>Yeah, that one&#039;s definitely a bit nasty.  Currently we model the Java behavior there, such that the exception thrown from within the finally blocks causes any previous exception to be lost.

Since we&#039;re compiling our language ourselves, theoretically we could do something different there, like wrap the version of the finally block that&#039;s used to handle exceptions inside a try/catch(Throwable), such that if the finally block code is executing because of an exception and itself throws an exception, we could do something.  I&#039;m not entirely sure what that something should be, though.</description>
		<content:encoded><![CDATA[<p>Yeah, that one&#8217;s definitely a bit nasty.  Currently we model the Java behavior there, such that the exception thrown from within the finally blocks causes any previous exception to be lost.</p>
<p>Since we&#8217;re compiling our language ourselves, theoretically we could do something different there, like wrap the version of the finally block that&#8217;s used to handle exceptions inside a try/catch(Throwable), such that if the finally block code is executing because of an exception and itself throws an exception, we could do something.  I&#8217;m not entirely sure what that something should be, though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
