<?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/"
		>
<channel>
	<title>Comments for MeshCAM Development</title>
	<atom:link href="http://www.grzsoftware.com/news/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grzsoftware.com/news</link>
	<description></description>
	<lastBuildDate>Wed, 17 Mar 2010 19:14:47 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on March Update by Jason Dorie</title>
		<link>http://www.grzsoftware.com/news/2010/03/02/march-update/comment-page-1/#comment-7946</link>
		<dc:creator>Jason Dorie</dc:creator>
		<pubDate>Wed, 17 Mar 2010 19:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/03/02/march-update/#comment-7946</guid>
		<description>I don&#039;t use a lot of templates, so I&#039;m not sure how they&#039;ll affect the performance.  You&#039;ll still see the benefit of not having to find/parse them multiple times, which is by far the bulk of time spent compiling &quot;normal&quot; code.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use a lot of templates, so I&#8217;m not sure how they&#8217;ll affect the performance.  You&#8217;ll still see the benefit of not having to find/parse them multiple times, which is by far the bulk of time spent compiling &#8220;normal&#8221; code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on March Update by Robert</title>
		<link>http://www.grzsoftware.com/news/2010/03/02/march-update/comment-page-1/#comment-7944</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 17 Mar 2010 06:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/03/02/march-update/#comment-7944</guid>
		<description>Thanks for the outline.  I&#039;ll have to give it a try.  Is there any additional (or reduced ) benefits for header files that contain a lot of templates?

-Robert</description>
		<content:encoded><![CDATA[<p>Thanks for the outline.  I&#8217;ll have to give it a try.  Is there any additional (or reduced ) benefits for header files that contain a lot of templates?</p>
<p>-Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on March Update by Jason Dorie</title>
		<link>http://www.grzsoftware.com/news/2010/03/02/march-update/comment-page-1/#comment-7943</link>
		<dc:creator>Jason Dorie</dc:creator>
		<pubDate>Wed, 17 Mar 2010 00:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/03/02/march-update/#comment-7943</guid>
		<description>Manual PCH files are almost startingly simple to work with.

- Write a .h file that #includes the largest and most commonly used header files.  This is the header that will be precompiled.

- Write a .cpp that simply includes that master .h file.  This is used to generate the PCH file.

- Select all your .cpp files, and in the settings, set &quot;use pre-compiled header&quot;, and specify the name of your master header file.

- Select the single .cpp that just includes the master header, and in the settings, set &quot;generate pre-compiled header&quot; and specify the name of the master header.

Then you just add #include &quot;MasterHeader.h&quot; to the top of all your source files, and that&#039;s it.  If a file is small enough, you can turn off the PCH usage for that file.  Be aware that you need to put the PCH file first, as the compiler will skip everything up to the point that it finds that #include &quot;MasterFile.h&quot; line, assuming that it&#039;s all in the PCH file.

Depending on the number of source files you have, this will probably take ten minutes or so.

Don&#039;t include anything in the PCH file that changes often, if possible - Use it for things like Windows.h, library headers that you use all the time, files that include a lot of other files, and so on.

The beauty of the PCH files is that they boost full rebuild -and- incremental build times by an order of magnitude.  Well worth the effort - I use them for damn near everything.  :)

Jason</description>
		<content:encoded><![CDATA[<p>Manual PCH files are almost startingly simple to work with.</p>
<p>- Write a .h file that #includes the largest and most commonly used header files.  This is the header that will be precompiled.</p>
<p>- Write a .cpp that simply includes that master .h file.  This is used to generate the PCH file.</p>
<p>- Select all your .cpp files, and in the settings, set &#8220;use pre-compiled header&#8221;, and specify the name of your master header file.</p>
<p>- Select the single .cpp that just includes the master header, and in the settings, set &#8220;generate pre-compiled header&#8221; and specify the name of the master header.</p>
<p>Then you just add #include &#8220;MasterHeader.h&#8221; to the top of all your source files, and that&#8217;s it.  If a file is small enough, you can turn off the PCH usage for that file.  Be aware that you need to put the PCH file first, as the compiler will skip everything up to the point that it finds that #include &#8220;MasterFile.h&#8221; line, assuming that it&#8217;s all in the PCH file.</p>
<p>Depending on the number of source files you have, this will probably take ten minutes or so.</p>
<p>Don&#8217;t include anything in the PCH file that changes often, if possible &#8211; Use it for things like Windows.h, library headers that you use all the time, files that include a lot of other files, and so on.</p>
<p>The beauty of the PCH files is that they boost full rebuild -and- incremental build times by an order of magnitude.  Well worth the effort &#8211; I use them for damn near everything.  <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on March Update by Robert</title>
		<link>http://www.grzsoftware.com/news/2010/03/02/march-update/comment-page-1/#comment-7942</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 16 Mar 2010 01:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/03/02/march-update/#comment-7942</guid>
		<description>Of course I&#039;m doing it wrong :).  I tried to setup PCH up a couple years ago and I had a bunch of trouble.  At the time the project was small so it didn&#039;t matter anyway.  Now that it has grown, I think the benefit would be significant.  My goal was to get V3 done and do this in V4 when I can start with a clean branch of code and make the change.

I never thought about combining a bunch of files into one translation unit.  That might be a good alternative for some areas of the program.  

-Robert</description>
		<content:encoded><![CDATA[<p>Of course I&#8217;m doing it wrong <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  I tried to setup PCH up a couple years ago and I had a bunch of trouble.  At the time the project was small so it didn&#8217;t matter anyway.  Now that it has grown, I think the benefit would be significant.  My goal was to get V3 done and do this in V4 when I can start with a clean branch of code and make the change.</p>
<p>I never thought about combining a bunch of files into one translation unit.  That might be a good alternative for some areas of the program.  </p>
<p>-Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on March Update by Jason</title>
		<link>http://www.grzsoftware.com/news/2010/03/02/march-update/comment-page-1/#comment-7941</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 16 Mar 2010 01:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/03/02/march-update/#comment-7941</guid>
		<description>20 minutes?  Unless you have millions of lines of code, you&#039;re doing it wrong.  :)  Have you looked into using precompiled headers?  In 2004, I had a complete hockey game compiling in under 3 minutes using custom PCH files.  If you&#039;d like a hand setting it up, I can help.  It&#039;s quite easy.  Be aware that &quot;automatic&quot; mode isn&#039;t really automatic, and is typically used wrong.

Another option is renaming a bunch of related files from .cpp to .inc, and then making a single .cpp file that includes them.  Since related files use the similar includes, you only process those once, and finding/parsing them is generally the bulk of the time spent compiling.  I&#039;ve found doing this in units of 10 to 20 files can make your &quot;incremental&quot; compile time about 5% slower, but the &quot;full rebuild&quot; time about 10x faster.

Jason</description>
		<content:encoded><![CDATA[<p>20 minutes?  Unless you have millions of lines of code, you&#8217;re doing it wrong.  <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Have you looked into using precompiled headers?  In 2004, I had a complete hockey game compiling in under 3 minutes using custom PCH files.  If you&#8217;d like a hand setting it up, I can help.  It&#8217;s quite easy.  Be aware that &#8220;automatic&#8221; mode isn&#8217;t really automatic, and is typically used wrong.</p>
<p>Another option is renaming a bunch of related files from .cpp to .inc, and then making a single .cpp file that includes them.  Since related files use the similar includes, you only process those once, and finding/parsing them is generally the bulk of the time spent compiling.  I&#8217;ve found doing this in units of 10 to 20 files can make your &#8220;incremental&#8221; compile time about 5% slower, but the &#8220;full rebuild&#8221; time about 10x faster.</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on March Update by Randy</title>
		<link>http://www.grzsoftware.com/news/2010/03/02/march-update/comment-page-1/#comment-7940</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Sun, 07 Mar 2010 22:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/03/02/march-update/#comment-7940</guid>
		<description>&quot;As you can imagine, errors are frustrating when they mean I have to wait another 20 minutes to rebuild.&quot;

Ah, kids these days. :)  I learned Fortran while a senior in high school--I was alpha-tester for a self-paced book written by a friend of my calculus teacher.  I punched cards on a surplus IBM cardpunch and on Friday my teacher took the card deck for that week down to the mainframe at the state capitol to run.  Frustration is waiting a week for the printout of the program, which on bad weeks read &quot;Syntax error in line 240&quot;...

Randy</description>
		<content:encoded><![CDATA[<p>&#8220;As you can imagine, errors are frustrating when they mean I have to wait another 20 minutes to rebuild.&#8221;</p>
<p>Ah, kids these days. <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I learned Fortran while a senior in high school&#8211;I was alpha-tester for a self-paced book written by a friend of my calculus teacher.  I punched cards on a surplus IBM cardpunch and on Friday my teacher took the card deck for that week down to the mainframe at the state capitol to run.  Frustration is waiting a week for the printout of the program, which on bad weeks read &#8220;Syntax error in line 240&#8243;&#8230;</p>
<p>Randy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Build 13 by Jeff Demand</title>
		<link>http://www.grzsoftware.com/news/2010/02/15/build-13/comment-page-1/#comment-7939</link>
		<dc:creator>Jeff Demand</dc:creator>
		<pubDate>Wed, 17 Feb 2010 14:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/02/15/build-13/#comment-7939</guid>
		<description>Robert,

Randy is dead right about the current quality of MC.

It is getting damned near impossible to find bugs, little changes to the UI are about all I can suggest and most of them are just to better fit my strange work habits. Very good work.

jeffD</description>
		<content:encoded><![CDATA[<p>Robert,</p>
<p>Randy is dead right about the current quality of MC.</p>
<p>It is getting damned near impossible to find bugs, little changes to the UI are about all I can suggest and most of them are just to better fit my strange work habits. Very good work.</p>
<p>jeffD</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Build 13 by Randy</title>
		<link>http://www.grzsoftware.com/news/2010/02/15/build-13/comment-page-1/#comment-7938</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Wed, 17 Feb 2010 07:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/02/15/build-13/#comment-7938</guid>
		<description>Robert, accepted as described.  (Yeah, I know where to find the reg code...)  Would it be hard to display &quot;Registered Copy&quot; for those of us with extremely short memories? ;P  Please consider it a compliment that this is the worst current shortcoming of MC that I can think of... :D

Randy</description>
		<content:encoded><![CDATA[<p>Robert, accepted as described.  (Yeah, I know where to find the reg code&#8230;)  Would it be hard to display &#8220;Registered Copy&#8221; for those of us with extremely short memories? ;P  Please consider it a compliment that this is the worst current shortcoming of MC that I can think of&#8230; <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Randy</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Build 13 by Robert</title>
		<link>http://www.grzsoftware.com/news/2010/02/15/build-13/comment-page-1/#comment-7937</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 17 Feb 2010 06:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/02/15/build-13/#comment-7937</guid>
		<description>Jeff- You&#039;re right, I caught myself with that problem recently.  I&#039;ve been meaning to update my build system to add the build number to the filename.  I&#039;ll try to do it in the near future.  (Yes Randy, I have to program the computer to rename the file for me- engineers are too lazy for anything as mundane as manual file renaming.  That and I&#039;ll probably do it wrong if it isn&#039;t done for me.)

Randy-  The hiding of the reg code after acceptance was meant to make sure it wouldn&#039;t be trivially easy to grab a reg code from a lab or shop computer running MeshCAM and distribute it.  Admittedly it isn&#039;t impossible to find the code in the PC now- I just want to avoid handing it out with a smile. 

-Robert</description>
		<content:encoded><![CDATA[<p>Jeff- You&#8217;re right, I caught myself with that problem recently.  I&#8217;ve been meaning to update my build system to add the build number to the filename.  I&#8217;ll try to do it in the near future.  (Yes Randy, I have to program the computer to rename the file for me- engineers are too lazy for anything as mundane as manual file renaming.  That and I&#8217;ll probably do it wrong if it isn&#8217;t done for me.)</p>
<p>Randy-  The hiding of the reg code after acceptance was meant to make sure it wouldn&#8217;t be trivially easy to grab a reg code from a lab or shop computer running MeshCAM and distribute it.  Admittedly it isn&#8217;t impossible to find the code in the PC now- I just want to avoid handing it out with a smile. </p>
<p>-Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Build 13 by Randy</title>
		<link>http://www.grzsoftware.com/news/2010/02/15/build-13/comment-page-1/#comment-7936</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Wed, 17 Feb 2010 02:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.grzsoftware.com/news/2010/02/15/build-13/#comment-7936</guid>
		<description>Oh, BTW Jeff, ;) in case it wasn&#039;t obvious.

Robert, as long as we&#039;re on the subject of things you should do differently :) , after I&#039;ve already entered my reg code in the registration dialog, the next time I look at it the reg code box is still blank.  I know that I&#039;ve re-entered my reg code several times because I think &quot;uh-oh, I forgot to register it&quot;.  Of course, if I think to look up in the title bar it shows MC is licensed, but shouldn&#039;t the reg code stay in the box?

Randy</description>
		<content:encoded><![CDATA[<p>Oh, BTW Jeff, <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  in case it wasn&#8217;t obvious.</p>
<p>Robert, as long as we&#8217;re on the subject of things you should do differently <img src='http://www.grzsoftware.com/news/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , after I&#8217;ve already entered my reg code in the registration dialog, the next time I look at it the reg code box is still blank.  I know that I&#8217;ve re-entered my reg code several times because I think &#8220;uh-oh, I forgot to register it&#8221;.  Of course, if I think to look up in the title bar it shows MC is licensed, but shouldn&#8217;t the reg code stay in the box?</p>
<p>Randy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
