<?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 Software Ramblings</title>
	<atom:link href="http://softwareramblings.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://softwareramblings.com</link>
	<description>Stephen Doyle&#039;s Ramblings on Software Engineering</description>
	<lastBuildDate>Thu, 22 Mar 2012 19:33:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on About Stephen Doyle by James A. McCombe</title>
		<link>http://softwareramblings.com/about-2/comment-page-1#comment-1299</link>
		<dc:creator>James A. McCombe</dc:creator>
		<pubDate>Thu, 22 Mar 2012 19:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?page_id=2#comment-1299</guid>
		<description>Hi Stephen,

I have been trying to figure out how to allocate memory with the pages marked as USWC (uncacheable write combined) on Mac OS X.  I am implementing a high performance DMA pipeline for a custom hardware device on the PCIe bus and am trying to avoid the DMA buffers from polluting the CPU cache hierarchy since they are written once by the CPU and then never read again by it.  In order to use the streaming load/store instruction in SSE, it appears one must mark this memory region as USWC.  I can see how to to do it on Windows and Linux, but not Mac OS X.

If you happen to know of the top of your head, that would be great.  No worries if you haven&#039;t had to deal with this before!

Kind Regards,
--James</description>
		<content:encoded><![CDATA[<p>Hi Stephen,</p>
<p>I have been trying to figure out how to allocate memory with the pages marked as USWC (uncacheable write combined) on Mac OS X.  I am implementing a high performance DMA pipeline for a custom hardware device on the PCIe bus and am trying to avoid the DMA buffers from polluting the CPU cache hierarchy since they are written once by the CPU and then never read again by it.  In order to use the streaming load/store instruction in SSE, it appears one must mark this memory region as USWC.  I can see how to to do it on Windows and Linux, but not Mac OS X.</p>
<p>If you happen to know of the top of your head, that would be great.  No worries if you haven&#8217;t had to deal with this before!</p>
<p>Kind Regards,<br />
&#8211;James</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Passing options in Ruby by Seanba</title>
		<link>http://softwareramblings.com/2010/12/passing-options-in-ruby.html/comment-page-1#comment-140</link>
		<dc:creator>Seanba</dc:creator>
		<pubDate>Thu, 30 Dec 2010 20:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=338#comment-140</guid>
		<description>Nice. The merge API on hashtables is a great feature.</description>
		<content:encoded><![CDATA[<p>Nice. The merge API on hashtables is a great feature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Passing options in Ruby by matnotfat</title>
		<link>http://softwareramblings.com/2010/12/passing-options-in-ruby.html/comment-page-1#comment-134</link>
		<dc:creator>matnotfat</dc:creator>
		<pubDate>Fri, 17 Dec 2010 23:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=338#comment-134</guid>
		<description>As frequently seen in the jQuery plugins.  It really does work nice.  It lets you offer tons of options, and keep it transparent to the user for most cases.</description>
		<content:encoded><![CDATA[<p>As frequently seen in the jQuery plugins.  It really does work nice.  It lets you offer tons of options, and keep it transparent to the user for most cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Post-Increment vs Pre-Increment by Ofek</title>
		<link>http://softwareramblings.com/2010/01/post-increment-vs-pre-increment.html/comment-page-1#comment-122</link>
		<dc:creator>Ofek</dc:creator>
		<pubDate>Sat, 30 Jan 2010 21:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=317#comment-122</guid>
		<description>Huh?? some markup mix trashed my comment. Here goes again, with explicit URLs:
Andrew Koenig probably sealed the pre/post increment argument permanently:  http://dobbscodetalk.com/index.php?option=com_myblog&amp;show=Efficiency-versus-intent.html&amp;Itemid=29  . 
 Or at least should have.   The question still arises now and then, and there&#039;s a wide consensus that in regular uses (e.g. using integers to iterate in a loop) there&#039;s no performance difference for ~3 decades now: http://stackoverflow.com/questions/24886?tab=oldest#tab-top</description>
		<content:encoded><![CDATA[<p>Huh?? some markup mix trashed my comment. Here goes again, with explicit URLs:<br />
Andrew Koenig probably sealed the pre/post increment argument permanently:  <a href="http://dobbscodetalk.com/index.php?option=com_myblog&#038;show=Efficiency-versus-intent.html&#038;Itemid=29" rel="nofollow">http://dobbscodetalk.com/index.php?option=com_myblog&#038;show=Efficiency-versus-intent.html&#038;Itemid=29</a>  .<br />
 Or at least should have.   The question still arises now and then, and there&#8217;s a wide consensus that in regular uses (e.g. using integers to iterate in a loop) there&#8217;s no performance difference for ~3 decades now: <a href="http://stackoverflow.com/questions/24886?tab=oldest#tab-top" rel="nofollow">http://stackoverflow.com/questions/24886?tab=oldest#tab-top</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Post-Increment vs Pre-Increment by Ofek</title>
		<link>http://softwareramblings.com/2010/01/post-increment-vs-pre-increment.html/comment-page-1#comment-121</link>
		<dc:creator>Ofek</dc:creator>
		<pubDate>Sat, 30 Jan 2010 21:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=317#comment-121</guid>
		<description>&lt;a href=&quot;http://dobbscodetalk.com/index.php?option=com_myblog&amp;show=Efficiency-versus-intent.html&amp;Itemid=29&quot; rel=&quot;nofollow&quot;&gt; probably sealed the pre/post increment argument permanently. Or at least should have.   The question &lt;a href=&quot;http://stackoverflow.com/questions/24886?tab=oldest#tab-top&quot; rel=&quot;nofollow&quot;&gt;now and then, and there&#039;s a wide consensus that in regular uses (e.g. using integers to iterate in a loop) there&#039;s no performance difference for ~3 decades now.</description>
		<content:encoded><![CDATA[<p><a href="http://dobbscodetalk.com/index.php?option=com_myblog&amp;show=Efficiency-versus-intent.html&amp;Itemid=29" rel="nofollow"> probably sealed the pre/post increment argument permanently. Or at least should have.   The question </a><a href="http://stackoverflow.com/questions/24886?tab=oldest#tab-top" rel="nofollow">now and then, and there&#8217;s a wide consensus that in regular uses (e.g. using integers to iterate in a loop) there&#8217;s no performance difference for ~3 decades now.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Post-Increment vs Pre-Increment by ondra</title>
		<link>http://softwareramblings.com/2010/01/post-increment-vs-pre-increment.html/comment-page-1#comment-119</link>
		<dc:creator>ondra</dc:creator>
		<pubDate>Fri, 29 Jan 2010 16:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=317#comment-119</guid>
		<description>There isn&#039;t any reason for these two to differ if you don&#039;t use the result at all.</description>
		<content:encoded><![CDATA[<p>There isn&#8217;t any reason for these two to differ if you don&#8217;t use the result at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Post-Increment vs Pre-Increment by KristofU</title>
		<link>http://softwareramblings.com/2010/01/post-increment-vs-pre-increment.html/comment-page-1#comment-118</link>
		<dc:creator>KristofU</dc:creator>
		<pubDate>Fri, 29 Jan 2010 15:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=317#comment-118</guid>
		<description>The best reason for always using pre-increment/decrement is the genericity of the code.
A certain algorithm may one day become a generic one, and the types passed into it may no longer be simple ints.</description>
		<content:encoded><![CDATA[<p>The best reason for always using pre-increment/decrement is the genericity of the code.<br />
A certain algorithm may one day become a generic one, and the types passed into it may no longer be simple ints.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Update: STL vs Gnulib Performance by Stephen Doyle</title>
		<link>http://softwareramblings.com/2009/06/update-stl-vs-gnulib-performance.html/comment-page-1#comment-59</link>
		<dc:creator>Stephen Doyle</dc:creator>
		<pubDate>Mon, 29 Jun 2009 20:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=222#comment-59</guid>
		<description>yoco - compiler is gcc v4.0.1 and -O2 optimization</description>
		<content:encoded><![CDATA[<p>yoco &#8211; compiler is gcc v4.0.1 and -O2 optimization</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Update: STL vs Gnulib Performance by yoco</title>
		<link>http://softwareramblings.com/2009/06/update-stl-vs-gnulib-performance.html/comment-page-1#comment-58</link>
		<dc:creator>yoco</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=222#comment-58</guid>
		<description>What&#039;s your compiler and compile option? Debug version or optimized release version? The result is dramatically different.</description>
		<content:encoded><![CDATA[<p>What&#8217;s your compiler and compile option? Debug version or optimized release version? The result is dramatically different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Update: STL vs Gnulib Performance by Stephen Doyle</title>
		<link>http://softwareramblings.com/2009/06/update-stl-vs-gnulib-performance.html/comment-page-1#comment-56</link>
		<dc:creator>Stephen Doyle</dc:creator>
		<pubDate>Sun, 28 Jun 2009 20:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://softwareramblings.com/?p=222#comment-56</guid>
		<description>Hi ADL - See the reference to the previous post for details on methodology and source code. Insert is more correctly named push_back. Searching is using the stl::find algorithm for STL and its an unsorted search. A sorted search is another test.</description>
		<content:encoded><![CDATA[<p>Hi ADL &#8211; See the reference to the previous post for details on methodology and source code. Insert is more correctly named push_back. Searching is using the stl::find algorithm for STL and its an unsorted search. A sorted search is another test.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

