<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Swaroop C H - India, Technology, Life Skills &#187; .NET</title>
	<atom:link href="http://www.swaroopch.com/blog/category/tech/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swaroopch.com</link>
	<description>Conning people into thinking I&#039;m intelligent. Since 1982.</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:52:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SQL and XML are not that different</title>
		<link>http://www.swaroopch.com/blog/sql-and-xml-are-not-that-different/</link>
		<comments>http://www.swaroopch.com/blog/sql-and-xml-are-not-that-different/#comments</comments>
		<pubDate>Mon, 09 May 2005 17:38:35 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.swaroopch.info/archives/2005/05/09/sql-and-xml-are-not-that-different/</guid>
		<description><![CDATA[About a year ago, I had presented my 8th semester presentation on Xen, now called C Omega. It is a language that combines SQL, XML and OOP into one tight language. The paper that proposed this language was named Programming with Circles, Triangles and Rectangles. The circle represents the encapsulation behavior of objects and OOP, [...]]]></description>
			<content:encoded><![CDATA[<p>About a year ago, I had presented my 8th semester presentation on Xen, now called <a href="http://research.microsoft.com/Comega/">C Omega</a>. It is a language that combines SQL, XML and OOP into one tight language. The paper that proposed this language was named <a href="http://research.microsoft.com/~emeijer/Papers/XML2003/xml2003.html">Programming with Circles, Triangles and Rectangles</a>. The circle represents the encapsulation behavior of objects and OOP, the triangle represents the tree structure of the XML and the rectangle represents the tabular structure of databases.</p>

<div style="text-align:center;">

<a href="http://channel9.msdn.com/ShowPost.aspx?PostID=10276"><img src="http://photos9.flickr.com/13141500_dfb6628ea3_m.jpg" width="240" height="173" alt="Video of Anders Hejlsberg talking about C# 3.0"  title="Video of Anders Hejlsberg talking about C# 3.0" border="0"/></a>

</div>


<p>I recently came across <a href="http://channel9.msdn.com/ShowPost.aspx?PostID=10276">Anders Hejlsberg&#8217;s interview on Channel 9 regarding programming data in C# 3.0</a> and it looks like C-Omega is going to be &#8216;merged&#8217; into 3.0. Its amazing that MS has taken this concept (which seemed totally radical to me when I first read about it) to production quality and is actually going to make this a core part of their platform.</p>

<p>Let us consider an example of using C-Omega. Suppose you want to handle books in a program used to manage libraries. Then you could write a book class using C-Omega as</p>

<p>[code]
public class book {
  sequence {</p>

<pre><code>string title;
choice {
  sequence{ editor editor; }+;
  sequence{ author author; }+;
}
string publisher;
int price;
</code></pre>

<p>  }
  attribute int year;
}
[/code]</p>

<p>The cool part is that the above same class can be used to store the data either as XML or in a relational database. You can also instantiate an object using XML syntax:</p>

<p>[code]
book b = <book year="2005">
  
  <author></p>

<pre><code>&lt;first&gt;Swaroop&lt;/first&gt;&lt;last&gt;C H&lt;/last&gt;
</code></pre>

<p>  </author>
  <publisher>www.byteofpython.info</publisher>
  <price>250</price>
</book>;
[/code]</p>

<p>Note that this syntax is still static typing. Needless to say, the C-Omega compiler must be one heck of a monster.</p>

<p>The Python connection is that the C-Omega-ish method of access will probably be included into IronPython at some stage. Even if that doesn&#8217;t happen, we already have Pythonic ways of doing XML as pointed out <a href="http://www.advogato.org/article/810.html">long ago by wspace</a>.</p>

<p>If you have ever written a program that uses databases, I highly recommend reading the <a href="http://research.microsoft.com/~emeijer/Papers/XML2003/xml2003.html">Circles, Triangles and Rectangles paper</a>. It just might change the way you think about databases and SQL, or even XML for that matter.</p>

<p>You can also <a href="http://www.swaroopch.com/files/200402/g2xen.ppt">download that old presentation of mine on Xen</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/sql-and-xml-are-not-that-different/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to kill an open source project&#8230;</title>
		<link>http://www.swaroopch.com/blog/how-to-kill-an-open-source-project/</link>
		<comments>http://www.swaroopch.com/blog/how-to-kill-an-open-source-project/#comments</comments>
		<pubDate>Sun, 27 Mar 2005 09:27:59 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2005/03/27/how-to-kill-an-open-source-project/</guid>
		<description><![CDATA[&#8230; by hiring the top guy into your company and then cut off all incentives for the community to get interested. Yes, I&#8217;m talking about IronPython and in this case, the company happens to be MS. Read what Edd Dumbill has to say about it, especially this part: Third-party patches won&#8217;t be considered until after [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; by hiring the top guy into your company and then cut off all incentives for the community to get interested.</p>

<p>Yes, I&#8217;m talking about IronPython and in this case, the company happens to be MS.</p>

<p>Read what <a href="http://usefulinc.com/edd/blog/contents/2005/03/26-ironpython/read">Edd Dumbill has to say about it</a>, especially this part:</p>

<blockquote><p>Third-party patches won&#8217;t be considered until after the 1.0 release. Hugunin encourages
people to be involved, but only in filing good bug reports and feature requests. And when doing
this involves a .NET passport, and using the GotDotNet web forums rather than good old
mailing lists, it&#8217;s a bit of a disincentive.
Added to that, there&#8217;s some uncertainty about the freeness of IronPython&#8217;s license. While it
looks free, it&#8217;s got the same name, &#8220;Shared Source&#8221;, as several Microsoft licenses that
definitely are not free.</p></blockquote>

<p> I have nothing more to say except that such an awesome &#8216;open source&#8217; project has been effectively killed off &#8211; IronPython may go on to become 1.0 but it is now reduced to a one-man show when so many people could have contributed to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/how-to-kill-an-open-source-project/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Dynamic Java</title>
		<link>http://www.swaroopch.com/blog/dynamic-java/</link>
		<comments>http://www.swaroopch.com/blog/dynamic-java/#comments</comments>
		<pubDate>Thu, 09 Dec 2004 12:34:03 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/12/09/dynamic-java/</guid>
		<description><![CDATA[Good to hear that Sun is finally serious about dynamic languages on Java. It&#8217;s no secret that I don&#8217;t like Java. I don&#8217;t want to start a holy war here &#8211; it&#8217;s just simply my personal preference, I don&#8217;t like the &#8216;smell&#8217; and &#8216;feel&#8217; of it. But it would be great to write stuff in [...]]]></description>
			<content:encoded><![CDATA[<p>Good to hear that <a href="http://www.tbray.org/ongoing/When/200x/2004/12/08/DynamicJava">Sun is finally serious about dynamic languages on Java</a>. It&#8217;s no secret that I don&#8217;t like Java. I don&#8217;t want to start a holy war here &#8211; it&#8217;s just simply my personal preference, I don&#8217;t like the &#8216;smell&#8217; and &#8216;feel&#8217; of it. But it would be great to write stuff in Python and get it running on top of the Java platform. That would surely be good for everybody. It would make more sense if all the big corporates also tried using <a href="http://www.jython.org">Jython</a> or <a href="http://groovy.codehaus.org/">Groovy</a> &#8211; it would lead to much happier and saner programmers and better products as well. Oh, and it&#8217;ll run on the Java platform.</p>

<p>Then again, I agree with <a href="http://usefulinc.com/edd/blog/contents/2004/12/09-jvm/read">Dumbill</a> that the lack of activity on <a href="http://www.ironpython.com">IronPython</a> is discomforting.</p>

<p>Btw, don&#8217;t forget to read that first link &#8211; It must&#8217;ve been awesome to have Larry Wall (creator of Perl), Guido van Rossum (creator of Python), Dan Sugalski (Parrot) and Samuele Pedroni (Jython), James Strachan (Groovy) all in the same room and discussing dynamic languages! <img src='http://www.swaroopch.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/dynamic-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IronPython is open source!!</title>
		<link>http://www.swaroopch.com/blog/ironpython-is-open-source/</link>
		<comments>http://www.swaroopch.com/blog/ironpython-is-open-source/#comments</comments>
		<pubDate>Thu, 29 Jul 2004 00:53:33 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/07/29/ironpython-is-open-source/</guid>
		<description><![CDATA[IronPython has been released as open source!! Get it while it&#8217;s hot at IronPython.com !]]></description>
			<content:encoded><![CDATA[<p>

IronPython has been released as open source!! Get it while it&#8217;s hot at <a href="http://www.ironpython.com/">IronPython.com</a> !

</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/ironpython-is-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Idea 2 Language</title>
		<link>http://www.swaroopch.com/blog/idea-2-language/</link>
		<comments>http://www.swaroopch.com/blog/idea-2-language/#comments</comments>
		<pubDate>Wed, 09 Jun 2004 03:00:07 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/06/09/idea-2-language/</guid>
		<description><![CDATA[Eric Gunnerson explains how an idea becomes a C# language feature&#8230;. The C# 2.0 Specification has been been updated on generics, iterators, anonymous methods, partial classes and other miscellaneous features .]]></description>
			<content:encoded><![CDATA[<p>

Eric Gunnerson explains <a href="http://weblogs.asp.net/ericgu/archive/2004/06/08/151053.aspx" >how an idea becomes a C# language feature</a>&#8230;.

</p>


<p>

The C# 2.0 Specification has been <a href="http://weblogs.asp.net/ericgu/archive/2004/05/24/140402.aspx">been updated on generics, iterators, anonymous methods, partial classes and other miscellaneous features</a> .

</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/idea-2-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All about Longhorn</title>
		<link>http://www.swaroopch.com/blog/all-about-longhorn/</link>
		<comments>http://www.swaroopch.com/blog/all-about-longhorn/#comments</comments>
		<pubDate>Mon, 17 May 2004 19:07:15 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/05/18/all-about-longhorn/</guid>
		<description><![CDATA[Here&#8217;s the one stop shop for all your Longhorn news and information &#8211; Paul Thurrott&#8217;s SuperSite for Windows: Longhorn Activity Center I love the screenshots put up here.]]></description>
			<content:encoded><![CDATA[<p>

Here&#8217;s the one stop shop for all your Longhorn news and information &#8211; <a href="http://www.winsupersite.com/longhorn/">Paul Thurrott&#8217;s SuperSite for Windows: Longhorn Activity Center</a>

</p>


<p>

I love the <a href="http://www.winsupersite.com/reviews/winhec_2004.asp#gallery">screenshots</a> put up here.

</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/all-about-longhorn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Innovations in C#</title>
		<link>http://www.swaroopch.com/blog/innovations-in-c/</link>
		<comments>http://www.swaroopch.com/blog/innovations-in-c/#comments</comments>
		<pubDate>Tue, 20 Apr 2004 13:28:52 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/04/20/innovations-in-c/</guid>
		<description><![CDATA[I&#8217;m reading a very interesting article on the next version of C#. It&#8217;s fascinating. I seriously wonder why Java does not make strides like this, especially with supposedly much more widespread support than C# and .NET?? What does the open community lack in making such huge innovations? Don&#8217;t get me wrong, I&#8217;m not saying the [...]]]></description>
			<content:encoded><![CDATA[<p>

I&#8217;m reading a very interesting <a href="http://msdn.microsoft.com/msdnmag/issues/04/05/C20/default.aspx">article on the next version of C#</a>. It&#8217;s fascinating. I seriously wonder why Java does not make strides like this, especially with supposedly much more widespread support than C# and .NET??

</p>


<p>

What does the open community lack in making such huge innovations? Don&#8217;t get me wrong, I&#8217;m not saying the open source community lacks innovation &#8211; it doesn&#8217;t, see the <a href="http://www.nat.org/dashboard/">Dashboard</a> to understand what I mean. What I am trying to say is that I feel there are no major initiatives such as new platforms like .NET by this community.

</p>


<p>

Is the widespread nature of this community the very reason for this? Or is it just that  Microsoft is really good at integrating good ideas and packaging it into a neat manner like <a href="http://www.pcmag.com/article2/0,1759,1357906,00.asp">Longhorn</a>? Why isn&#8217;t there anything to match Visual Studio .NET yet?

</p>


<p>

I am at a loss to understand the answer to this question.

</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/innovations-in-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Original and the Next-generation Clone: Java and C#</title>
		<link>http://www.swaroopch.com/blog/the-original-and-the-next-generation-clone-java-and-c/</link>
		<comments>http://www.swaroopch.com/blog/the-original-and-the-next-generation-clone-java-and-c/#comments</comments>
		<pubDate>Mon, 05 Apr 2004 13:53:54 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/04/05/the-original-and-the-next-generation-clone-java-and-c/</guid>
		<description><![CDATA[I always wanted to put down what I felt were the improvements in C# over Java. Looks like I don&#8217;t have to do it &#8211; Gary Cornell has done a good job of it already.]]></description>
			<content:encoded><![CDATA[<p>

I always wanted to put down what I felt were the improvements in C# over Java. Looks like I don&#8217;t have to do it &#8211; <a href="http://blogs.apress.com/archives/000035.html">Gary Cornell</a> has done a good job of it already.

</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/the-original-and-the-next-generation-clone-java-and-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing The Future Of Open Source Software</title>
		<link>http://www.swaroopch.com/blog/managing-the-future-of-open-source-software/</link>
		<comments>http://www.swaroopch.com/blog/managing-the-future-of-open-source-software/#comments</comments>
		<pubDate>Mon, 22 Mar 2004 15:40:51 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/03/22/managing-the-future-of-open-source-software/</guid>
		<description><![CDATA[There is an open discussion going on about the future of open source software. It all started when Havoc Pennington started a discussion on Java, Mono or C++ &#8211; Thoughts on the future of open source desktop development. This was followed by replies from Lupus and by Miguel de Icaza and further discussion from Havoc [...]]]></description>
			<content:encoded><![CDATA[<p>

There is an open discussion going on about the future of open source software. It all started when Havoc Pennington started a discussion on <a href="http://ometer.com/desktop-language.html">Java, Mono or C++ &#8211; Thoughts on the future of open source desktop development</a>. This was followed by replies from <a href="http://www.advogato.org/person/lupus/diary.html">Lupus</a> and by <a href="http://primates.ximian.com/~miguel/activity-log.php">Miguel de Icaza</a> and further
discussion from Havoc on his <a href="http://log.ometer.com/">log</a>. This is a very intriguing and interesting discussion.

</p>


<p>

My thoughts on the discussion&#8230; well, see my writing on <a href="http://www.g2swaroop.net/writings/why-mono/">Why Mono?</a>

</p>


<p>

For me, the only thing stopping Mono from taking over the world <img src='http://www.swaroopch.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  is the legal situation, especially, vis-a-vis Microsoft. It&#8217;s sad that creating software has got more to do with lawyers than programmers now-a-days. I am keeping my fingers crossed for the results of the Novell Legal Review of Mono!

</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/managing-the-future-of-open-source-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nemerle</title>
		<link>http://www.swaroopch.com/blog/nemerle/</link>
		<comments>http://www.swaroopch.com/blog/nemerle/#comments</comments>
		<pubDate>Wed, 25 Feb 2004 13:53:16 +0000</pubDate>
		<dc:creator>Swaroop</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://swaroop.textdriven.com/archives/2004/02/25/nemerle/</guid>
		<description><![CDATA[There is a new kid (language) on the block called Nemerle . It is an interesting hybrid language and at first impression, it looks like a mix of Perl and C#. It has some interesting things such as the when loop instead of the if loop as well as dynamic typing which makes it an [...]]]></description>
			<content:encoded><![CDATA[<p>
There is a new kid (language) on the block called <a href="http://www.nemerle.org/">Nemerle</a> . It is an interesting hybrid language and at first impression, it looks like a mix of Perl and C#. It has some interesting things such as the <span style="color:green;">when</span> loop instead of the <span style="color:green;">if</span> loop as well as dynamic typing which makes it an interpreter-kind of language. I liked the <span style="color:green;">def</span> syntax but not the <span style="color:green;">mutable</span> syntax. Just first impressions&#8230;
</p>


<p>
The tutorial gets right down to business and there is a separate page which neatly lists the differences between Nemerle and C# in a table. There has already been a 0.10 release as well and works on  <a href="http://www.go-mono.org/">Mono 0.30</a> as well as Microsoft .NET.
</p>


<p>
An interesting aspect is that Nemerle is yet another open source technology, and language in this case that is taking advantage of the .Net and Mono frameworks (as compared to the Java framework). The fact that these frameworks are fuelling such innovation is very compelling. Also, the multi-language capability of .Net/Mono is highlighted here.
</p>

]]></content:encoded>
			<wfw:commentRss>http://www.swaroopch.com/blog/nemerle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 2/49 queries in 0.070 seconds using memcached
Object Caching 685/785 objects using memcached

Served from: www.swaroopch.com @ 2012-02-09 12:07:27 -->
