<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Three Languages - C++ - tribe.net</title>
    <link>http://cpp.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3?format=rss</link>
    <description>Tribe.net. Local Connections</description>
    <item>
      <title>Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#14bc3d48-3575-4b4b-aedf-1c24e82c453a</link>
      <description>Surprisingly, I like the new programming model proposed by Microsoft for Longhorn. &#xD;
&#xD;
The way I normally program interactive applications is by dividing my code into the trio: model, view, and controller. The view is responsible for displaying stuff; the controller, for processing user input; and the model, for the hard work. &#xD;
&#xD;
In Longhorn (codename for next version of Windows), you'll be able to use three different languages for the three components. &#xD;
&#xD;
The view in Longhorn is programmed a lot like a web page, using XAML (Extensible Application Markup Language) which is a lot like HTML. The simplest applications could be written entirely in XAML, just like most web pages are written in HTML. That's the view part.&#xD;
&#xD;
If you want to add more interaction with the user, you have to add a controller. You do it, for instance, in C#. The interactive elements in your view will have C# handlers. This is again very similar to how interactive web pages are made--using some kind of scripting language, like JavaScript or VB. &#xD;
&#xD;
Finally, if you want your application to do some heavy work, you'd write the model--and here you may choose yet another language, for instance C++ -- for robustness and performance.&#xD;
&#xD;
I think it's a cool idea.</description>
      <pubDate>Wed, 21 Jan 2004 22:27:20 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#14bc3d48-3575-4b4b-aedf-1c24e82c453a</guid>
      <dc:creator>Bartosz</dc:creator>
      <dc:date>2004-01-21T22:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#0345b10a-7b73-4ec2-8846-4925830bcdca</link>
      <description>So do I. I hate Microsoft is doing it. Why? Because I don't want to be pulled into their universe. They are like the Borg and I fear assimilation. I favor the rebellion against the empire. It is healthier that way.  Move over Bill Gates?!&#xD;
&#xD;
Can't another "brother" make a billion?</description>
      <pubDate>Thu, 22 Jan 2004 15:15:46 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#0345b10a-7b73-4ec2-8846-4925830bcdca</guid>
      <dc:creator>Gilton</dc:creator>
      <dc:date>2004-01-22T15:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#ac0dd62b-0695-49f3-893d-c11d5bd1be3a</link>
      <description>Would that mean you can use C++ as long as it compiles to CLR, managed code? If so, are you getting any performance gain?</description>
      <pubDate>Thu, 22 Jan 2004 22:06:50 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#ac0dd62b-0695-49f3-893d-c11d5bd1be3a</guid>
      <dc:creator>Pool</dc:creator>
      <dc:date>2004-01-22T22:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#d7475180-8d41-4f55-8c86-61aef3ab4dc1</link>
      <description>But you do like Java, don't you? Well, the difference between Java and C# is that Java is Sun's proprietary language and they don't want to relinquish their control over it, whereas C#, although invented at Microsoft, is undergoing public standarization, just like C++ did. What's more, the .NET runtime is also undergoing standarization, so if anybody wants to port it to Linux, they are free to do so. All Bill Gates is saying is that Microsoft believes that the .NET implementation on top of Windows is better than the competition. (I understand your sentiments, but what can you do? Microsoft is there to stay. And you can always turn to Linux.)</description>
      <pubDate>Sat, 24 Jan 2004 00:37:15 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#d7475180-8d41-4f55-8c86-61aef3ab4dc1</guid>
      <dc:creator>Bartosz</dc:creator>
      <dc:date>2004-01-24T00:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#848803d4-8282-47bc-bc77-f11d221ee1b1</link>
      <description>I'm not 100% sure, but I believe you can combine compiled C++ with managed (C# or C++) code. .NET has this built-in multilingualism. &#xD;
By the way, managed C++ is supposed to be a reasonably good language--a fair competition to C#. Microsoft hired Herb Sutter (author of Exceptional C++, CUJ editor, C++ Standards Committee member) and gave him free hand with it.</description>
      <pubDate>Sat, 24 Jan 2004 00:49:02 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#848803d4-8282-47bc-bc77-f11d221ee1b1</guid>
      <dc:creator>Bartosz</dc:creator>
      <dc:date>2004-01-24T00:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#df63ed97-816d-4f73-9ee4-6f7940bb2f23</link>
      <description>MS itself released the "Rotor" CLR implementation for FreeBSD, but I haven't heard anything more of it. Unless the situation changes it sounds unlikely .NET will get a toehold on the Unix platforms, and therefore likely it will continue to be excluded from multiplatform applications.</description>
      <pubDate>Sat, 24 Jan 2004 04:23:05 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#df63ed97-816d-4f73-9ee4-6f7940bb2f23</guid>
      <dc:creator>Pool</dc:creator>
      <dc:date>2004-01-24T04:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#3f43562f-d7a4-4e41-82df-9cab6211f2de</link>
      <description>It might also be the other way around: Linux will exclude itself from the consumer side of the Internet, which is what Microsoft is attacking using .NET.</description>
      <pubDate>Sat, 24 Jan 2004 20:40:26 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#3f43562f-d7a4-4e41-82df-9cab6211f2de</guid>
      <dc:creator>Bartosz</dc:creator>
      <dc:date>2004-01-24T20:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Three Languages</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#fcdc081a-e433-4997-a76d-68c68c02c88b</link>
      <description>I was assuming server applications, of course Unix (especially commercial Unix) has no presence on the desktop.&#xD;
&#xD;
But discussing the desktop, I don't see the consumer market generating any strong reasons to use .NET.</description>
      <pubDate>Sat, 24 Jan 2004 23:05:25 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#fcdc081a-e433-4997-a76d-68c68c02c88b</guid>
      <dc:creator>Pool</dc:creator>
      <dc:date>2004-01-24T23:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: The hidden C++ (managed)</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#9b29c325-d2a8-4a4f-b790-1f9a59f49f53</link>
      <description>So is managed C++ just as good as C#, or is it only about half way between raw C++ and C#.NET?  Would C# die on the vine if everyone realized they could just do MC++ ?  What's the dividing line?</description>
      <pubDate>Sun, 08 Feb 2004 21:45:40 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#9b29c325-d2a8-4a4f-b790-1f9a59f49f53</guid>
      <dc:creator>John</dc:creator>
      <dc:date>2004-02-08T21:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: The hidden C++ (managed)</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#d7b68fe3-886e-4018-b8e2-4077ef41cbe0</link>
      <description>If you are a diehard C++ programmer, you'd probably stick to managed C++. I believe that anything you can do in C#.NET you can do in managed C++. On the other hand, C# might be simpler to learn, expecially for people who like garbage collection. &#xD;
&#xD;
The biggest problem right now with .NET is that virtually nobody has the runtime installed on their machine. So you'd have to distribute your .NET product with the huge runtime. That pretty much eliminates internet downloads, except for the most dedicated clients.</description>
      <pubDate>Mon, 09 Feb 2004 19:09:02 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#d7b68fe3-886e-4018-b8e2-4077ef41cbe0</guid>
      <dc:creator>Bartosz</dc:creator>
      <dc:date>2004-02-09T19:09:02Z</dc:date>
    </item>
    <item>
      <title>Plauger on managed C++</title>
      <link>http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#64d375bc-3cdc-439d-acc7-cdecb417d867</link>
      <description>I just read an editorial in February issue of C/C++ Journal by P.J.Plauger, in which he essentially confirms what I posted here about managed C++. In particular he says: "Now the C++ folks are getting more ambitious. They don't want to just stay in the game; they want C++ to be the language of choice for writing all sorts of code, managed and otherwise." He thinks Herb Sutter does a very good job at that.</description>
      <pubDate>Thu, 12 Feb 2004 22:29:25 GMT</pubDate>
      <guid isPermaLink="false">http://CPP.tribe.net/thread/065fbf4f-a544-4ba5-b7f9-4c23909a59e3#64d375bc-3cdc-439d-acc7-cdecb417d867</guid>
      <dc:creator>Bartosz</dc:creator>
      <dc:date>2004-02-12T22:29:25Z</dc:date>
    </item>
  </channel>
</rss>



