<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Why do you use C instead of C++?</title>
	<atom:link href="http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/</link>
	<description>What You Need to Know</description>
	<lastBuildDate>Thu, 26 Jan 2012 19:15:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Wolf</title>
		<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/comment-page-1/#comment-1989</link>
		<dc:creator>Wolf</dc:creator>
		<pubDate>Mon, 23 May 2011 10:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://wolfhalton.info/?p=179#comment-1989</guid>
		<description>Thanks for the link, Sorin.  I didn&#039;t realize the depth of the problem.  It seems like most beginners I meet are interested in getting to programming GUIs as fast as possible.  Javascript may be the easiest path to their ends.</description>
		<content:encoded><![CDATA[<p>Thanks for the link, Sorin.  I didn&#8217;t realize the depth of the problem.  It seems like most beginners I meet are interested in getting to programming GUIs as fast as possible.  Javascript may be the easiest path to their ends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sorin</title>
		<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/comment-page-1/#comment-1981</link>
		<dc:creator>Sorin</dc:creator>
		<pubDate>Sat, 21 May 2011 03:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://wolfhalton.info/?p=179#comment-1981</guid>
		<description>You know, I got to this page after searching the web for the EXACT OPPOSITE: &quot;why use c++ instead of c?&quot;
My question was &quot;what are the advantages of c++ that cannot be just more easily written in c?&quot;
So I was surprised that most articles were actually discussing about &quot;why would someone use c instead of c++ ?&quot;

So before any more harm is done, and before any more casualties among the ranks of newbie/freshmeat programmers, and among the armies of programmers in general, I suggest you to have a good look at this article:
http://yosefk.com/c++fqa/defective.html

Hopefully this will convince new software &quot;recruits&quot; to stay away from C++, and either stick to C, or better yet to learn some useful high-level programming language like java, ruby, scala, or even javascript (which is a really great dynamic language, and can be viewed as superset of LISP - &quot;LISP with named slots&quot;)</description>
		<content:encoded><![CDATA[<p>You know, I got to this page after searching the web for the EXACT OPPOSITE: &#8220;why use c++ instead of c?&#8221;<br />
My question was &#8220;what are the advantages of c++ that cannot be just more easily written in c?&#8221;<br />
So I was surprised that most articles were actually discussing about &#8220;why would someone use c instead of c++ ?&#8221;</p>
<p>So before any more harm is done, and before any more casualties among the ranks of newbie/freshmeat programmers, and among the armies of programmers in general, I suggest you to have a good look at this article:<br />
<a href="http://yosefk.com/c++fqa/defective.html" rel="nofollow">http://yosefk.com/c++fqa/defective.html</a></p>
<p>Hopefully this will convince new software &#8220;recruits&#8221; to stay away from C++, and either stick to C, or better yet to learn some useful high-level programming language like java, ruby, scala, or even javascript (which is a really great dynamic language, and can be viewed as superset of LISP &#8211; &#8220;LISP with named slots&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Network infrastructures</title>
		<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/comment-page-1/#comment-1640</link>
		<dc:creator>Network infrastructures</dc:creator>
		<pubDate>Wed, 12 Jan 2011 08:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://wolfhalton.info/?p=179#comment-1640</guid>
		<description>Interesting article.I see no reason to use C instead of C++. Whatever you can do in C, you can do it also in C++. If you want to avoid overheads of VMT, don&#039;t use virtual methods and polymorphism. However, C++ can provide some very useful idioms with no overhead. One of my favorites is RAII.Classes are not necessary expensive in terms of memory or performance.</description>
		<content:encoded><![CDATA[<p>Interesting article.I see no reason to use C instead of C++. Whatever you can do in C, you can do it also in C++. If you want to avoid overheads of VMT, don&#8217;t use virtual methods and polymorphism. However, C++ can provide some very useful idioms with no overhead. One of my favorites is RAII.Classes are not necessary expensive in terms of memory or performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolf</title>
		<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/comment-page-1/#comment-1639</link>
		<dc:creator>Wolf</dc:creator>
		<pubDate>Wed, 12 Jan 2011 06:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://wolfhalton.info/?p=179#comment-1639</guid>
		<description>You can definitely write windows programs in C.  The Windows OS was itself written in &quot;...C, C++, and C# for Windows. Some areas of code are hand tuned/hand written assembly...&quot; - Ryan Waite - Product Unit Manager - Windows HPC (&lt;a href=&quot;http://social.microsoft.com/Forums/en/windowshpcacademic/thread/65a1fe05-9c1d-48bf-bd40-148e6b3da9f1&quot; rel=&quot;nofollow&quot;&gt;  social.microsoft.com/Forums/...&lt;/a&gt;)
You can (probably) compile a C program with a C++ Compiler, but not the reverse (&lt;a href=&quot;http://www.geekinterview.com/question_details/16528&quot; rel=&quot;nofollow&quot;&gt;Geekinterview.com&lt;/a&gt;)
Visual C, Visual C++, Visual C# are offshoots built on the C platform.  Visual Basic is built on the BASIC language.  All are Microsoft products, I believe, and all are supported by Microsoft&#039;s Visual Studio IDE.  If you want to try out Visual Studio, check out &lt;a href=&quot;https://www.dreamspark.com/default.aspx&quot; rel=&quot;nofollow&quot;&gt;Dreamspark.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>You can definitely write windows programs in C.  The Windows OS was itself written in &#8220;&#8230;C, C++, and C# for Windows. Some areas of code are hand tuned/hand written assembly&#8230;&#8221; &#8211; Ryan Waite &#8211; Product Unit Manager &#8211; Windows HPC (<a href="http://social.microsoft.com/Forums/en/windowshpcacademic/thread/65a1fe05-9c1d-48bf-bd40-148e6b3da9f1" rel="nofollow">  social.microsoft.com/Forums/&#8230;</a>)<br />
You can (probably) compile a C program with a C++ Compiler, but not the reverse (<a href="http://www.geekinterview.com/question_details/16528" rel="nofollow">Geekinterview.com</a>)<br />
Visual C, Visual C++, Visual C# are offshoots built on the C platform.  Visual Basic is built on the BASIC language.  All are Microsoft products, I believe, and all are supported by Microsoft&#8217;s Visual Studio IDE.  If you want to try out Visual Studio, check out <a href="https://www.dreamspark.com/default.aspx" rel="nofollow">Dreamspark.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KK</title>
		<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/comment-page-1/#comment-1638</link>
		<dc:creator>KK</dc:creator>
		<pubDate>Tue, 11 Jan 2011 23:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://wolfhalton.info/?p=179#comment-1638</guid>
		<description>Wow, you are so smart guys!
So C is basically the same thing as c++ but it does not have classes?
So if you compile a C program in a c++ compiler will it work? Will you have to change some things or you will have to change it completely?
And also is there Visual C, like Visual C++, Visual C# or Visual Basic? Can you write Windows programs with C?</description>
		<content:encoded><![CDATA[<p>Wow, you are so smart guys!<br />
So C is basically the same thing as c++ but it does not have classes?<br />
So if you compile a C program in a c++ compiler will it work? Will you have to change some things or you will have to change it completely?<br />
And also is there Visual C, like Visual C++, Visual C# or Visual Basic? Can you write Windows programs with C?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ?ukasz Krawczyk</title>
		<link>http://wolfhalton.info/2009/09/20/why-do-you-use-c-instead-of-c/comment-page-1/#comment-1024</link>
		<dc:creator>?ukasz Krawczyk</dc:creator>
		<pubDate>Tue, 16 Mar 2010 23:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://wolfhalton.info/?p=179#comment-1024</guid>
		<description>C is not a functional language, it&#039;s imperative one. Functional is not a synonym for procedural.

http://en.wikipedia.org/wiki/Functional_programming
http://en.wikipedia.org/wiki/Imperative_programming

Object oriented and procedural paradigms are orthogonal in context of C language family, you can write object oriented code in C(you just won&#039;t have syntax for it) as well as purely procedural code in C++.

Finally, the difference in speed between those two languages is caused primarily because C++ code tends to be more abstract, which leads to situations when it cannot be effectively optimized by compiler(memory aliasing trough pointers), so it is not only matter of using dynamic binding(polymorphism).</description>
		<content:encoded><![CDATA[<p>C is not a functional language, it&#8217;s imperative one. Functional is not a synonym for procedural.</p>
<p><a href="http://en.wikipedia.org/wiki/Functional_programming" rel="nofollow">http://en.wikipedia.org/wiki/Functional_programming</a><br />
<a href="http://en.wikipedia.org/wiki/Imperative_programming" rel="nofollow">http://en.wikipedia.org/wiki/Imperative_programming</a></p>
<p>Object oriented and procedural paradigms are orthogonal in context of C language family, you can write object oriented code in C(you just won&#8217;t have syntax for it) as well as purely procedural code in C++.</p>
<p>Finally, the difference in speed between those two languages is caused primarily because C++ code tends to be more abstract, which leads to situations when it cannot be effectively optimized by compiler(memory aliasing trough pointers), so it is not only matter of using dynamic binding(polymorphism).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

