<?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: Microsoft MacBU developers blogging about the transition to Xcode</title>
	<atom:link href="http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/</link>
	<description>Notes from an unfinished world…</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:29:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: henryn</title>
		<link>http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/comment-page-1/#comment-6185</link>
		<dc:creator>henryn</dc:creator>
		<pubDate>Thu, 08 Jun 2006 22:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/#comment-6185</guid>
		<description>The process is called &quot;porting&quot; as in &quot;They are the porting the code from Visual Studio to Xcode&quot;.  That&#039;s not exactly accurate, as Visual Studio can&#039;t be the previous development environment used on the Mac, but illustrative.

They will have to get rid of all the errors, end-of-story. Compilers emit error messages when they simply cannot find a way to process the source code.    Warnings?   Some of the warnings will be important, but they may be able to ignore a good number of them, especially if they can say, &quot;Oh, I know what _that_ is being flagged.&quot;    

Eliminating errors and warnings isn&#039;t a linear process. Some essentially unique issues will create a gazillion messages; eliminate the cause, and  all go away.   That assumes that they _can_ eliminate the cause. As we&#039;ve discussed before here, we suspect that Word is currently largely composed of spaghetti code, which we may also have discussed the likelihood of modules of vastly different ages.  (Someone mentioned code dating from Word-for-DOS as a possibility.)    Compilers, especially advanced ons, can detect poorly-constructed code to some degree, not at a conceptual level, but by finding the kludges necessary to make bad code compile in the first place.

 I also suspect that there&#039;s an absolute standing order from the very top &quot;whatever you do, don&#039;t touch the code&quot;.     In the process of porting, that would be restated slightly to &quot;Whatever you do, don&#039;t make any changes to the code except the minimum required to get it to buld in the new development environment&quot;.   I would guess that much of the work will be done by people who don&#039;t understand Word at all.  I suppose there may be some cases that someone of broader skills will be called in to sort out what&#039;s actually going on -- if they have anyone with that capability.  

In sum, porting a well-constructed code base from one environment to another could be fairly easy to do.   Porting poor code could be a nightmare.

What boggles my mind is that there apparently are two code bases, one for Mac and one for PC.   The core of Word --the bulk of the code-- should be identical for both, especially after all these years.     It&#039;s long since been routine among vendors to maintain multiple-platform applications this way.     Yes, of course, the UI and the system interface  code will vary,  but there are quite standard ways of dealing with this variation.    

We&#039;ve previously discussed some of the potential problems of legacy code.  Who knows, the &quot;sort-of multitasking&quot; built into the idle loop in Word for DOS or Word for Early Windows may still be present in the current code base -- we&#039;ve seen some evidence that may indicate that.    Such measures were justifiable kludges in their time, but are long since completely archaic and increasingly difficult.

If Xcode is a good compiler, it will produce efficient code -- if the underlying design is, in fact, efficient.  If it is not...</description>
		<content:encoded><![CDATA[<p>The process is called &#8220;porting&#8221; as in &#8220;They are the porting the code from Visual Studio to Xcode&#8221;.  That&#8217;s not exactly accurate, as Visual Studio can&#8217;t be the previous development environment used on the Mac, but illustrative.</p>
<p>They will have to get rid of all the errors, end-of-story. Compilers emit error messages when they simply cannot find a way to process the source code.    Warnings?   Some of the warnings will be important, but they may be able to ignore a good number of them, especially if they can say, &#8220;Oh, I know what _that_ is being flagged.&#8221;    </p>
<p>Eliminating errors and warnings isn&#8217;t a linear process. Some essentially unique issues will create a gazillion messages; eliminate the cause, and  all go away.   That assumes that they _can_ eliminate the cause. As we&#8217;ve discussed before here, we suspect that Word is currently largely composed of spaghetti code, which we may also have discussed the likelihood of modules of vastly different ages.  (Someone mentioned code dating from Word-for-DOS as a possibility.)    Compilers, especially advanced ons, can detect poorly-constructed code to some degree, not at a conceptual level, but by finding the kludges necessary to make bad code compile in the first place.</p>
<p> I also suspect that there&#8217;s an absolute standing order from the very top &#8220;whatever you do, don&#8217;t touch the code&#8221;.     In the process of porting, that would be restated slightly to &#8220;Whatever you do, don&#8217;t make any changes to the code except the minimum required to get it to buld in the new development environment&#8221;.   I would guess that much of the work will be done by people who don&#8217;t understand Word at all.  I suppose there may be some cases that someone of broader skills will be called in to sort out what&#8217;s actually going on &#8212; if they have anyone with that capability.  </p>
<p>In sum, porting a well-constructed code base from one environment to another could be fairly easy to do.   Porting poor code could be a nightmare.</p>
<p>What boggles my mind is that there apparently are two code bases, one for Mac and one for PC.   The core of Word &#8211;the bulk of the code&#8211; should be identical for both, especially after all these years.     It&#8217;s long since been routine among vendors to maintain multiple-platform applications this way.     Yes, of course, the UI and the system interface  code will vary,  but there are quite standard ways of dealing with this variation.    </p>
<p>We&#8217;ve previously discussed some of the potential problems of legacy code.  Who knows, the &#8220;sort-of multitasking&#8221; built into the idle loop in Word for DOS or Word for Early Windows may still be present in the current code base &#8212; we&#8217;ve seen some evidence that may indicate that.    Such measures were justifiable kludges in their time, but are long since completely archaic and increasingly difficult.</p>
<p>If Xcode is a good compiler, it will produce efficient code &#8212; if the underlying design is, in fact, efficient.  If it is not&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre Igot</title>
		<link>http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/comment-page-1/#comment-6149</link>
		<dc:creator>Pierre Igot</dc:creator>
		<pubDate>Fri, 02 Jun 2006 20:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/#comment-6149</guid>
		<description>I wouldn&#039;t be surprised if Microsoft ended up &quot;ignoring&quot; some of these warnings when the shipping deadline approaches... After all, a warning is just a warning, right?

Seriously, though, my concern is that they might end up &quot;fixing&quot; the errors in ways that significantly affect the performance of the applications. Even with my limited programming experience, I know that there is often more than one way to fix a problem, and that not all fixes are equally efficient and effective. 

In other words, the realist in me just doesn&#039;t see Microsoft magically erasing 20 years of patchwork coding in one big software revision cycle. Yes, the next version of Office will run natively on Intel Macs. But I don&#039;t really expect it to be much faster than the current version (which is atrociously slow considering the power of the underlying hardware).</description>
		<content:encoded><![CDATA[<p>I wouldn&#8217;t be surprised if Microsoft ended up &#8220;ignoring&#8221; some of these warnings when the shipping deadline approaches&#8230; After all, a warning is just a warning, right?</p>
<p>Seriously, though, my concern is that they might end up &#8220;fixing&#8221; the errors in ways that significantly affect the performance of the applications. Even with my limited programming experience, I know that there is often more than one way to fix a problem, and that not all fixes are equally efficient and effective. </p>
<p>In other words, the realist in me just doesn&#8217;t see Microsoft magically erasing 20 years of patchwork coding in one big software revision cycle. Yes, the next version of Office will run natively on Intel Macs. But I don&#8217;t really expect it to be much faster than the current version (which is atrociously slow considering the power of the underlying hardware).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mricart</title>
		<link>http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/comment-page-1/#comment-6148</link>
		<dc:creator>mricart</dc:creator>
		<pubDate>Fri, 02 Jun 2006 19:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.betalogue.com/2006/06/02/microsoft-macbu-developers-blogging-about-the-transition-to-xcode/#comment-6148</guid>
		<description>I love this on David Weiss&#039; blog:

&lt;i&gt;Ellen Weber asks, &quot;What do you see as the main way to clean up code?&quot;
I&#039;d start with getting rid of all compile errors and warnings.&lt;/i&gt;

Assuming 1 minute per error/warning, 1 million of them would require more than 2000 man.days. Not sure we can expect anything anytime soon...</description>
		<content:encoded><![CDATA[<p>I love this on David Weiss&#8217; blog:</p>
<p><i>Ellen Weber asks, &#8220;What do you see as the main way to clean up code?&#8221;<br />
I&#8217;d start with getting rid of all compile errors and warnings.</i></p>
<p>Assuming 1 minute per error/warning, 1 million of them would require more than 2000 man.days. Not sure we can expect anything anytime soon&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

