<?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: Object-based programming in C</title>
	<atom:link href="http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/</link>
	<description>A Blog by Miro Samek</description>
	<lastBuildDate>Tue, 08 May 2012 09:20:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Edward Day</title>
		<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/comment-page-1/#comment-11115</link>
		<dc:creator>Edward Day</dc:creator>
		<pubDate>Thu, 01 Sep 2011 15:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/state-space/2008/01/21/object-based-programming-in-c/#comment-11115</guid>
		<description>Hi your web page url: &lt;a href=&quot;http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c&quot; rel=&quot;nofollow&quot;&gt;http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c&lt;/a&gt; appears to be redirecting to a completely different web-site when I click the home-page button. You may want to have this checked.</description>
		<content:encoded><![CDATA[<p>Hi your web page url: <a href="http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c" rel="nofollow">http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c</a> appears to be redirecting to a completely different web-site when I click the home-page button. You may want to have this checked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Holiday In Spain</title>
		<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/comment-page-1/#comment-9953</link>
		<dc:creator>Holiday In Spain</dc:creator>
		<pubDate>Wed, 03 Aug 2011 13:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/state-space/2008/01/21/object-based-programming-in-c/#comment-9953</guid>
		<description>Hi friend, 

Thanks for a interesting article.

Keep more coming as the quality is awesome

Thanks

Julie</description>
		<content:encoded><![CDATA[<p>Hi friend, </p>
<p>Thanks for a interesting article.</p>
<p>Keep more coming as the quality is awesome</p>
<p>Thanks</p>
<p>Julie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creative Web Design</title>
		<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/comment-page-1/#comment-9898</link>
		<dc:creator>Creative Web Design</dc:creator>
		<pubDate>Tue, 02 Aug 2011 00:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/state-space/2008/01/21/object-based-programming-in-c/#comment-9898</guid>
		<description>Hey %author.

Thanks for the information you&#039;ve put here, really useful advice.

Cheers

Phil</description>
		<content:encoded><![CDATA[<p>Hey %author.</p>
<p>Thanks for the information you&#8217;ve put here, really useful advice.</p>
<p>Cheers</p>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Theile</title>
		<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/comment-page-1/#comment-4429</link>
		<dc:creator>Frank Theile</dc:creator>
		<pubDate>Thu, 03 Mar 2011 10:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/state-space/2008/01/21/object-based-programming-in-c/#comment-4429</guid>
		<description>Hello Miro,

this is a very good paper! This is also the way Rhapsody generates C-code from UML models.

Although I didn&#039;t use Rhapsody myself, I successfully used these ideas in an embedded system (a dosing pump). E.g. classes for the different operation modes are inherited from a base operation mode class. This helps to re-use code and improves decoupling of components.</description>
		<content:encoded><![CDATA[<p>Hello Miro,</p>
<p>this is a very good paper! This is also the way Rhapsody generates C-code from UML models.</p>
<p>Although I didn&#8217;t use Rhapsody myself, I successfully used these ideas in an embedded system (a dosing pump). E.g. classes for the different operation modes are inherited from a base operation mode class. This helps to re-use code and improves decoupling of components.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miro Samek</title>
		<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/comment-page-1/#comment-11</link>
		<dc:creator>Miro Samek</dc:creator>
		<pubDate>Wed, 30 Jan 2008 00:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/state-space/2008/01/21/object-based-programming-in-c/#comment-11</guid>
		<description>Mike,Thanks for your comment!I agree with you that all survey results must be taken with a grain of salt. And certainly, shifts in the respondents&#039; base to more hardware-oriented firmware developers could explain a lot of the seeming decline of C++.Even so, however, I believe that the genreal trend away from objects in embedded is real. And I claim it mostly because I see that tool vendors, such as I-Logix/Telelogic, pursue &quot;C&quot; programmers more aggresively than ever, expending significant resources in the process.As to the irrelevancy of objects in embedded software development, I obviously disagree. Object technology is the biggest advancement in software development since structured programming, as attested by thousands of books, countless articles, special OO conferences, and explosion of OO programming languages. Granted, embedded software development is different than programming for the desktop, but it’s not &lt;b&gt;that&lt;/b&gt; different to completely render irrelevant the most valuable lessons people learned about software structure and code reuse.And sure, objects are everywhere in embedded designs. Tasks, events, state machines, timers, queues, data packets, are all objects. There is of course a lot of inheritance going on as well Take for example the popular Micro-C/OS RTOS that you’ve been teaching in Florida last week. One of the central elements of this RTOS’ design is the OS_EVENT data type, which represents an operating system event. OS_EVENT is a &lt;b&gt;class&lt;/b&gt; with a constructor (OSEvent WaitListInit()), and member functions (OSEventTaskRdy(), OSEventTaskWait(), and OSEventTaskTO()). However, OS_EVENT is actually an &lt;b&gt;abstract class&lt;/b&gt; that is only intended for inheritance and cannot be instantiated directly. OS_EVENT class is inherited by semaphores, message mailboxes, message queues, event flags, and so on, which all are classes with constructors, destructors, and member functions. All subclasses of OS_EVENT reuse the member functions from the superclass, which leads to substantial code reuse and better code structure.My point here is that good embedded designs use objects, whether they realize it or not. But of course, it’s easier if you do realize that you’re using objects because it spares you re-inventing the wheel, so that you can immediately benefit from all the body of knowledge about design principles, idioms, and patterns.</description>
		<content:encoded><![CDATA[<p>Mike,Thanks for your comment!I agree with you that all survey results must be taken with a grain of salt. And certainly, shifts in the respondents&#8217; base to more hardware-oriented firmware developers could explain a lot of the seeming decline of C++.Even so, however, I believe that the genreal trend away from objects in embedded is real. And I claim it mostly because I see that tool vendors, such as I-Logix/Telelogic, pursue &#8220;C&#8221; programmers more aggresively than ever, expending significant resources in the process.As to the irrelevancy of objects in embedded software development, I obviously disagree. Object technology is the biggest advancement in software development since structured programming, as attested by thousands of books, countless articles, special OO conferences, and explosion of OO programming languages. Granted, embedded software development is different than programming for the desktop, but it’s not <b>that</b> different to completely render irrelevant the most valuable lessons people learned about software structure and code reuse.And sure, objects are everywhere in embedded designs. Tasks, events, state machines, timers, queues, data packets, are all objects. There is of course a lot of inheritance going on as well Take for example the popular Micro-C/OS RTOS that you’ve been teaching in Florida last week. One of the central elements of this RTOS’ design is the OS_EVENT data type, which represents an operating system event. OS_EVENT is a <b>class</b> with a constructor (OSEvent WaitListInit()), and member functions (OSEventTaskRdy(), OSEventTaskWait(), and OSEventTaskTO()). However, OS_EVENT is actually an <b>abstract class</b> that is only intended for inheritance and cannot be instantiated directly. OS_EVENT class is inherited by semaphores, message mailboxes, message queues, event flags, and so on, which all are classes with constructors, destructors, and member functions. All subclasses of OS_EVENT reuse the member functions from the superclass, which leads to substantial code reuse and better code structure.My point here is that good embedded designs use objects, whether they realize it or not. But of course, it’s easier if you do realize that you’re using objects because it spares you re-inventing the wheel, so that you can immediately benefit from all the body of knowledge about design principles, idioms, and patterns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Barr</title>
		<link>http://embeddedgurus.com/state-space/2008/01/object-based-programming-in-c/comment-page-1/#comment-10</link>
		<dc:creator>Michael Barr</dc:creator>
		<pubDate>Thu, 24 Jan 2008 14:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/state-space/2008/01/21/object-based-programming-in-c/#comment-10</guid>
		<description>There are a couple of things here I feel worthy of comment.  First, beware taking survey results and especially their year-over-year changes at face value.  As a former editor of that very magazine I can tell you that there is a selection bias.  Sure, they ask the same questions every year and via the same sampling process.  But at each opportunity to add, replace, or pare readership, the folks who sell the ads in these free magazines typically select only those readers they think are most coveted by advertisers.  This favors 32-bit over 8-bit, big teams over small, and even certain regions of the country.To be specific, as print circulation of &lt;a HREF=&quot;http://www.embedded.com/mag.htm&quot; rel=&quot;nofollow&quot;&gt;ESD&lt;/a&gt; has declined in recent years these surveys have been distributed to a sample of readers of sister pub &lt;a HREF=&quot;http://www.eetimes.com&quot; rel=&quot;nofollow&quot;&gt;EETimes&lt;/a&gt;, which is much more likely to be read by EEs inclined toward electronics design.The second comment I have is that objects are not relevant to much of what embedded software developers do.  (State machines are very relevant, of course.)  But the only &quot;objects&quot; to be found are typically single instance peripherals.  Lacking the need for class inheritance or dynamic allocation of object instances, embedded systems stand primarily to benefit from encapsulation.</description>
		<content:encoded><![CDATA[<p>There are a couple of things here I feel worthy of comment.  First, beware taking survey results and especially their year-over-year changes at face value.  As a former editor of that very magazine I can tell you that there is a selection bias.  Sure, they ask the same questions every year and via the same sampling process.  But at each opportunity to add, replace, or pare readership, the folks who sell the ads in these free magazines typically select only those readers they think are most coveted by advertisers.  This favors 32-bit over 8-bit, big teams over small, and even certain regions of the country.To be specific, as print circulation of <a HREF="http://www.embedded.com/mag.htm" rel="nofollow">ESD</a> has declined in recent years these surveys have been distributed to a sample of readers of sister pub <a HREF="http://www.eetimes.com" rel="nofollow">EETimes</a>, which is much more likely to be read by EEs inclined toward electronics design.The second comment I have is that objects are not relevant to much of what embedded software developers do.  (State machines are very relevant, of course.)  But the only &#8220;objects&#8221; to be found are typically single instance peripherals.  Lacking the need for class inheritance or dynamic allocation of object instances, embedded systems stand primarily to benefit from encapsulation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

