<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arthur Hsu&#039;s Blogz &#187; C++/C#</title>
	<atom:link href="http://www.cchsu.com/arthur/category/tech/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cchsu.com/arthur</link>
	<description>隨便寫寫大家隨便看看的不出名小格子</description>
	<lastBuildDate>Tue, 03 Jan 2012 21:13:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>讀書筆記: Inside the C++ Object Model (3)</title>
		<link>http://www.cchsu.com/arthur/2011/03/03/439/</link>
		<comments>http://www.cchsu.com/arthur/2011/03/03/439/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 23:14:31 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=439</guid>
		<description><![CDATA[證明若 class 宣告或繼承 virtual function 時，編譯器會自動生成 constructor]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2011/03/03/439/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>讀書筆記: Inside the C++ Object Model (2)</title>
		<link>http://www.cchsu.com/arthur/2011/03/02/432/</link>
		<comments>http://www.cchsu.com/arthur/2011/03/02/432/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 02:48:26 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[技術文章]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=432</guid>
		<description><![CDATA[關於 default constructor 的實驗一]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2011/03/02/432/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>讀書筆記: Inside the C++ Object Model (1)</title>
		<link>http://www.cchsu.com/arthur/2011/02/09/411/</link>
		<comments>http://www.cchsu.com/arthur/2011/02/09/411/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 09:16:06 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[技術文章]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=411</guid>
		<description><![CDATA[火星人的讀書心得，地球的小朋友，火星很危險的，趕快回家吧 ...]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2011/02/09/411/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>面試五四三</title>
		<link>http://www.cchsu.com/arthur/2011/01/14/405/</link>
		<comments>http://www.cchsu.com/arthur/2011/01/14/405/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 09:20:24 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[技術文章]]></category>
		<category><![CDATA[美國生活]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=405</guid>
		<description><![CDATA[神奇的面試五四三]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2011/01/14/405/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VC 2008 下安裝 WTL</title>
		<link>http://www.cchsu.com/arthur/2009/09/29/339/</link>
		<comments>http://www.cchsu.com/arthur/2009/09/29/339/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 06:59:23 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=339</guid>
		<description><![CDATA[VC 2008 下安裝 WTL 的攻略]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2009/09/29/339/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何取樣 memory dump (1)</title>
		<link>http://www.cchsu.com/arthur/2009/08/28/274/</link>
		<comments>http://www.cchsu.com/arthur/2009/08/28/274/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 06:49:03 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[技術文章]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=274</guid>
		<description><![CDATA[使用 ADPlus 取樣時，若是目標程序有用到 secure CRT 的話，需要留意一些小技巧 ...]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2009/08/28/274/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>談組態管理 (Configuration Management)</title>
		<link>http://www.cchsu.com/arthur/2009/08/26/270/</link>
		<comments>http://www.cchsu.com/arthur/2009/08/26/270/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 06:39:27 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[技術文章]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=270</guid>
		<description><![CDATA[組態管理就是灌一套 source control system 就搞定了嗎? 事實上，有點小小的修正 ...]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2009/08/26/270/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 除錯的第一步</title>
		<link>http://www.cchsu.com/arthur/2009/08/26/266/</link>
		<comments>http://www.cchsu.com/arthur/2009/08/26/266/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 08:09:14 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[技術文章]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=266</guid>
		<description><![CDATA[如何使用 map 與組合語言列表來找出問題點]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2009/08/26/266/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDC 2008: Day 3</title>
		<link>http://www.cchsu.com/arthur/2008/10/29/196/</link>
		<comments>http://www.cchsu.com/arthur/2008/10/29/196/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 03:56:55 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[技術文章]]></category>
		<category><![CDATA[會議相關]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=196</guid>
		<description><![CDATA[今天跑的 session 多半屬於展示型的，可寫的東西不多，反而是看 recorded session 有心得。我看的是C# 語言的未來，講師當然是 Anders Hejlsberg。我想在這裡聊一些我覺得很重要的東西 Hejlsberg 提到程式語言的趨勢將會是 declarative、dynamic 以及 concurrent，除了 concurrent 之外，其他都是為了因應 web 應用而來的。以 C# 作為 .Net 旗艦語言的身份來講，這樣的演化是非常合理的，但這並不代表這是通則。我個人認為在學校中仍應教授 procedural 語言，但可加入 functional、declarative 與 dynamic 語言的訓練，像我們以前只學 procedural 會變得太過狹隘。 因為硬體在 single core performance 已然遇到瓶頸，所以 concurrent programming 將會是 multi-core 大潮下不得不然的趨勢。但是以目前的技術來看，無法很有效率地處理 heap object concurrency，這對 Java 或 C# 這種有 automatic memory management 的語言是不利的。因此在選用工具的時候，要特別注意這個陷阱，C# 在這方面的開發成本未必低於 C++。 微軟自己應該也嘗到 version [...]]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2008/10/29/196/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDC 2008: Day 1, Parallel Computing</title>
		<link>http://www.cchsu.com/arthur/2008/10/28/179/</link>
		<comments>http://www.cchsu.com/arthur/2008/10/28/179/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 06:52:45 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
				<category><![CDATA[C++/C#]]></category>
		<category><![CDATA[技術文章]]></category>
		<category><![CDATA[會議相關]]></category>

		<guid isPermaLink="false">http://www.cchsu.com/arthur/?p=179</guid>
		<description><![CDATA[現今的主流市場裡，CPU 單一核心的處理速度增加有限，而硬體大廠則致力於多核處理器的開發。多核處理器的強項在於平行處理，但它必須靠軟體的配合才能有效發揮效能。微軟在 Visual Studio 2010 中推出了不少東西來協助師程工們寫作多緒的程式，在 PDC 中自然要拿出來秀一下啦。 微軟建議的 best practice 非常值得借鏡。若要改進程式的執行效率，應該依循以下的步驟： 建立效能調校的目標，找出量測的方法。儘量使用真實的資料和直實的環境，平行處理並不是萬靈丹，真實世界中許多其他的因素才是效能的殺手 (如 I/O、memory latency) 量測現有的效能，找出執行熱點 想辦法調校現有的程式 若調校無效，找看看是否有平行處理的機會: CPU intensive，或是可以讓 UI 反應變快增加 perceptual performance 若可平行處理，則利用程式技巧去最佳化熱點 Visual Studio 的目標是想辦法讓寫作平行處理的程式變得容易一些，它提供許多基礎設施和函式庫 (如 Concurrent runtime, Parallel Pattern Library, PLINQ 等等)，也提供許多 profiling 和 debugging 的工具 (我個人的偏見是這些工具和 VTune 好像!)。因此，師程工就可以集中精力在設計 synchronization 上，而不必到處尋尋覓覓好用的程式庫，或是花許多資源開發自己的程式庫。 微軟的 concurrent runtime 和 PPL 在某種程度上和 OpenMP 有重疊性，不過微軟上從 VP [...]]]></description>
		<wfw:commentRss>http://www.cchsu.com/arthur/2008/10/28/179/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

