<?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 on: Torn over the C++ question</title>
	<atom:link href="http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/</link>
	<description>parsing, performance, minimalism with C99</description>
	<lastBuildDate>Mon, 06 Feb 2012 23:44:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rodrigo Moraes</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1719</link>
		<dc:creator>Rodrigo Moraes</dc:creator>
		<pubDate>Thu, 28 Jul 2011 11:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1719</guid>
		<description>If you&#039;d be starting today, do you think it could benefit from using go? Also, could you please drop some general considerations about golang? :)</description>
		<content:encoded><![CDATA[<p>If you&#8217;d be starting today, do you think it could benefit from using go? Also, could you please drop some general considerations about golang? <img src='http://blog.reverberate.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1533</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sat, 03 Apr 2010 14:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1533</guid>
		<description>Sounds as though the C++ compiler is doing it&#039;s job. It is duplicating code under the same function name (to you it seems like it is storing the same function multiple times).

What its doing is inlining some of your function for speed. You can change that, and it will be as tight as the C code.</description>
		<content:encoded><![CDATA[<p>Sounds as though the C++ compiler is doing it&#8217;s job. It is duplicating code under the same function name (to you it seems like it is storing the same function multiple times).</p>
<p>What its doing is inlining some of your function for speed. You can change that, and it will be as tight as the C code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1529</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 19 Feb 2010 23:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1529</guid>
		<description>It&#039;s trivial to wrap your C implementation so that it can be called directly from C++.  So translating your implementation from C to C++ provides no real benefit, it&#039;s more like busy work.  Plus C++ is such an ugly language that its hard to imagine that it won&#039;t die out over the next decade, replaced by C#/Objective C/Java etc.  C, on the other hand, has virtues of simplicity, clarity, portability, and performance that other programming languages have yet to supplant.</description>
		<content:encoded><![CDATA[<p>It&#8217;s trivial to wrap your C implementation so that it can be called directly from C++.  So translating your implementation from C to C++ provides no real benefit, it&#8217;s more like busy work.  Plus C++ is such an ugly language that its hard to imagine that it won&#8217;t die out over the next decade, replaced by C#/Objective C/Java etc.  C, on the other hand, has virtues of simplicity, clarity, portability, and performance that other programming languages have yet to supplant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kate</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1525</link>
		<dc:creator>Kate</dc:creator>
		<pubDate>Wed, 06 Jan 2010 19:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1525</guid>
		<description>Hi. Don&#039;t forget to check the return value of malloc(). You might also enjoy this:
http://iq0.com/notes/deep.nesting.html</description>
		<content:encoded><![CDATA[<p>Hi. Don&#8217;t forget to check the return value of malloc(). You might also enjoy this:<br />
<a href="http://iq0.com/notes/deep.nesting.html" rel="nofollow">http://iq0.com/notes/deep.nesting.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blankthemuffin</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1518</link>
		<dc:creator>blankthemuffin</dc:creator>
		<pubDate>Sun, 27 Dec 2009 23:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1518</guid>
		<description>I vote to stick with C for another reason, integration with other languages. If your project is a nice C library, it&#039;s vastly easier for people using other languages, C, Python, whatever, to interface with your library rather than having to re-implement it. 

C++ is imo an awful choice for a library because it ends up restricting this to other things written in C++ (unless of course you wrap it up in a C abi but that is messy). 

I&#039;d prefer a base in C with a C++ wrapper as required.</description>
		<content:encoded><![CDATA[<p>I vote to stick with C for another reason, integration with other languages. If your project is a nice C library, it&#8217;s vastly easier for people using other languages, C, Python, whatever, to interface with your library rather than having to re-implement it. </p>
<p>C++ is imo an awful choice for a library because it ends up restricting this to other things written in C++ (unless of course you wrap it up in a C abi but that is messy). </p>
<p>I&#8217;d prefer a base in C with a C++ wrapper as required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nobody</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1500</link>
		<dc:creator>nobody</dc:creator>
		<pubDate>Mon, 14 Dec 2009 23:09:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1500</guid>
		<description>GCC 4.5 should get link-time optimization which will hopefully help binary size a lot. ultimately though, i still find myself reaching for C, for the ease of binding to other languages and the smaller size. i still like to keep my code C++ compatible and run it through the C++ compiler occasionally though, just because it&#039;s much stricter on typing.</description>
		<content:encoded><![CDATA[<p>GCC 4.5 should get link-time optimization which will hopefully help binary size a lot. ultimately though, i still find myself reaching for C, for the ease of binding to other languages and the smaller size. i still like to keep my code C++ compatible and run it through the C++ compiler occasionally though, just because it&#8217;s much stricter on typing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George P.</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1496</link>
		<dc:creator>George P.</dc:creator>
		<pubDate>Wed, 09 Dec 2009 02:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1496</guid>
		<description>I have a hard time accepting the comment that C++ compilers aren&#039;t very good at keeping things small. Which compiler have you used? I would agree that C++ nuances are complicated and that you need to read volumes of books to better grasp the details of optimization.</description>
		<content:encoded><![CDATA[<p>I have a hard time accepting the comment that C++ compilers aren&#8217;t very good at keeping things small. Which compiler have you used? I would agree that C++ nuances are complicated and that you need to read volumes of books to better grasp the details of optimization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alejandro M.</title>
		<link>http://blog.reverberate.org/2009/12/02/torn-over-the-c-question/comment-page-1/#comment-1490</link>
		<dc:creator>Alejandro M.</dc:creator>
		<pubDate>Thu, 03 Dec 2009 14:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/?p=301#comment-1490</guid>
		<description>great choice! :-)</description>
		<content:encoded><![CDATA[<p>great choice! <img src='http://blog.reverberate.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

