<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blog of Jitu</title><link>http://blogs.msdn.com/jitu/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Generics</title><link>http://blogs.msdn.com/jitu/archive/2007/12/05/generics.aspx</link><pubDate>Thu, 06 Dec 2007 09:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6675554</guid><dc:creator>jitu</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jitu/comments/6675554.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=6675554</wfw:commentRss><description>&lt;P&gt;Also, few blog enteries on generics and variance in generics. Find them to be really useful.&lt;BR&gt;&lt;BR&gt;&lt;A class="" href="http://blogs.msdn.com/rmbyers/archive/2005/02/16/375079.aspx" mce_href="http://blogs.msdn.com/rmbyers/archive/2005/02/16/375079.aspx"&gt;First one&lt;/A&gt; and &lt;A class="" href="http://blogs.msdn.com/rmbyers/archive/2006/06/01/613690.aspx" mce_href="http://blogs.msdn.com/rmbyers/archive/2006/06/01/613690.aspx"&gt;another one&lt;/A&gt; by &lt;A class="" href="http://blogs.msdn.com/rmbyers/default.aspx" mce_href="http://blogs.msdn.com/rmbyers/default.aspx"&gt;Rick Byers&lt;/A&gt;.&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Also, we should have a good generics support in the Managed JScript soon.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6675554" width="1" height="1"&gt;</description></item><item><title>Object Lifetime and Dispose Pattern</title><link>http://blogs.msdn.com/jitu/archive/2007/12/05/object-lifetime-and-dispose-pattern.aspx</link><pubDate>Thu, 06 Dec 2007 09:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6675498</guid><dc:creator>jitu</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jitu/comments/6675498.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=6675498</wfw:commentRss><description>Found a good article on &lt;A class="" href="http://blogs.msdn.com/bclteam/archive/2007/10/30/dispose-pattern-and-object-lifetime-brian-grunkemeyer.aspx" mce_href="http://blogs.msdn.com/bclteam/archive/2007/10/30/dispose-pattern-and-object-lifetime-brian-grunkemeyer.aspx"&gt;Object Lifetime and Dispose Pattern&lt;/A&gt;.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6675498" width="1" height="1"&gt;</description></item><item><title>IronRuby</title><link>http://blogs.msdn.com/jitu/archive/2007/07/27/ironruby.aspx</link><pubDate>Fri, 27 Jul 2007 13:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4078445</guid><dc:creator>jitu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jitu/comments/4078445.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=4078445</wfw:commentRss><description>&lt;P&gt;This week &lt;A class="" href="http://iunknown.typepad.com/IronRuby-Pre-Alpha1.zip" mce_href="http://iunknown.typepad.com/IronRuby-Pre-Alpha1.zip"&gt;IronRuby&lt;/A&gt; got released. First look on it can be found at &lt;A class="" href="http://www.iunknown.com/2007/07/a-first-look-at.html" mce_href="http://www.iunknown.com/2007/07/a-first-look-at.html"&gt;John's blog&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;This was a incredile work by the Ruby team and&amp;nbsp;this came out really fast. I tried out and the result was very good. Found many reference to it on the web.&lt;BR&gt;Scott followed up with a post on &lt;A class="" href="http://weblogs.asp.net/scottgu/archive/2007/07/23/first-look-at-ironruby.aspx" mce_href="http://weblogs.asp.net/scottgu/archive/2007/07/23/first-look-at-ironruby.aspx"&gt;his blog&lt;/A&gt;, with a good WPF sample as well. On the roadmap for open source, &lt;A class="" href="http://blogs.msdn.com/jasonz/default.aspx" mce_href="http://blogs.msdn.com/jasonz/default.aspx"&gt;Jason&lt;/A&gt; gives insite into that on his &lt;A class="" href="http://blogs.msdn.com/jasonz/archive/2007/07/23/ironruby-source-available-for-download.aspx" mce_href="http://blogs.msdn.com/jasonz/archive/2007/07/23/ironruby-source-available-for-download.aspx"&gt;blog&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;People have really started using it and there has been&amp;nbsp;good feedback to it so far. There were some complains also and then some fast responses to them.&lt;BR&gt;For of one of such by &lt;A class="" href="http://antoniocangiano.com/2007/07/26/is-ironruby-mathematically-challenged/" mce_href="http://antoniocangiano.com/2007/07/26/is-ironruby-mathematically-challenged/"&gt;Antonio&lt;/A&gt;, the patch also was released given by &lt;A class="" href="http://fepy.blogspot.com/2007/07/teaching-ironruby-math-tricks.html" mce_href="http://fepy.blogspot.com/2007/07/teaching-ironruby-math-tricks.html"&gt;Fepy&lt;/A&gt;. Open source really would go a long way here.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4078445" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jitu/archive/tags/IronRuby/default.aspx">IronRuby</category></item><item><title>Managed JScript Limitations...</title><link>http://blogs.msdn.com/jitu/archive/2007/05/07/managed-jscript-limitations.aspx</link><pubDate>Mon, 07 May 2007 12:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2460844</guid><dc:creator>jitu</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jitu/comments/2460844.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=2460844</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="COLOR: rgb(51,51,51)"&gt;Managed &lt;A class="" href="http://blogs.msdn.com/jscript" mce_href="http://blogs.msdn.com/jscript"&gt;JScript&lt;/A&gt; implementation, on Silverlight is a full implementation of Javascript Ecmascript 3.0 version. This supports interop with all other .NET languages and also other dynamic languages.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: rgb(51,51,51)"&gt;But other day, someone asked me about what doesn't work yet there. So could get the following from the silverlight site, where it talks about &lt;A class="" href="http://silverlight.net/quickstarts/Other/ProgramDlr.aspx" mce_href="http://silverlight.net/quickstarts/Other/ProgramDlr.aspx"&gt;How to: Program Silverlight with Dynamic Languages&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: rgb(51,51,51)"&gt;In the Silverlight 1.1 Alpha release, Managed JScript has the following limitations:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: rgb(51,51,51)"&gt;- The mapping between .NET Framework objects and Managed JScript objects is currently limited. For example, the Managed JScript String object cannot be used in places where System.String is expected, but the string primitive can be used. Managed JScript arrays cannot be used where .NET Framework arrays are expected.&lt;BR&gt;&lt;BR&gt;- There is limited support for Javascript-style enumeration (that is, listing names instead of values); it is supported only for objects that implement IList and IDictionary. Enumeration on other .NET Framework objects lists values instead of names.&lt;BR&gt;&lt;BR&gt;- Generics are not yet supported.&lt;BR&gt;&lt;BR&gt;- Method overload resolution for candidate methods with numeric types other than double is not yet supported.&lt;BR&gt;&lt;BR&gt;- Exceptions thrown in event handlers that are hooked up from Managed JScript code are not logged at the top of the HTML. Exceptions that are hooked up in markup are logged.&lt;BR&gt;&lt;BR&gt;- The Eval function does not produce a correct value unless its input is a sequence of statements ending in a simple expression statement.&lt;BR&gt;&lt;BR&gt;- The arguments.callee property is not supported.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: rgb(51,51,51)"&gt;&amp;nbsp;Will try to keep this list up to date , as and when things gets added or removed from here.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2460844" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jitu/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/jitu/archive/tags/Managed+JScript/default.aspx">Managed JScript</category><category domain="http://blogs.msdn.com/jitu/archive/tags/JScript/default.aspx">JScript</category></item><item><title>For-in in JScript</title><link>http://blogs.msdn.com/jitu/archive/2007/05/07/for-in-in-jscript.aspx</link><pubDate>Mon, 07 May 2007 11:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2460199</guid><dc:creator>jitu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jitu/comments/2460199.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=2460199</wfw:commentRss><description>&lt;p&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;For-in the JScript is unique to other languages, in a way that it &lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;iterates over the keys,
where as in most other languages ( C#, Python.. ), it iterates over the values.&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="border: medium none ; padding: 0in; background: rgb(245, 237, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&amp;nbsp;&lt;br&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;var location = { x : 100, y : 200 }&lt;/span&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br&gt;for (var i in location) { print(i); }&lt;/span&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;/span&gt;&lt;div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(235, 235, 235); border-width: medium medium medium 2.25pt; padding: 0in 0in 0in 5pt; background: rgb(245, 237, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;











&lt;p class="MsoNormal" style="border: medium none ; padding: 0in; background: rgb(245, 237, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;would give the following output&lt;/span&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br&gt;x&lt;/span&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br&gt;y&lt;/span&gt;&lt;span style="font-size: 8.5pt; font-family: 'Arial','sans-serif'; color: rgb(102, 51, 204);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class="MsoNormal" style="background: white none repeat scroll 0% 50%; line-height: 19.2pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;br&gt;Now, suppose the location was not a Jscript object, but a .NET
object. ( from C#). This gives a interesting issue. What should be printed in
the above case?&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt; Should it be 100, 200 or x, y ?&lt;br&gt;
In the Managed Jscript, it iterates ove&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;r the keys, because that&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;’&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;s what
a Jscript programmer would expect, irrespective of, from where the object came
from.&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2460199" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jitu/archive/tags/Managed+JScript/default.aspx">Managed JScript</category><category domain="http://blogs.msdn.com/jitu/archive/tags/JScript/default.aspx">JScript</category></item><item><title>Introducing Managed JScript</title><link>http://blogs.msdn.com/jitu/archive/2007/05/04/introducing-managed-jscript.aspx</link><pubDate>Fri, 04 May 2007 12:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2409026</guid><dc:creator>jitu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jitu/comments/2409026.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=2409026</wfw:commentRss><description>&lt;SPAN style="FONT-SIZE: 12pt; COLOR: teal; FONT-FAMILY: 'Arial','sans-serif'; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;
&lt;P&gt;&lt;SPAN style="COLOR: teal; FONT-FAMILY: 'Arial','sans-serif'"&gt;It's finally released and I can blog about it. Have been waiting to write about it for some time now and now that it’s out, can talk about it. &lt;BR&gt;&lt;A href="http://weblogs.asp.net/scottgu/"&gt;Scott Guthrie&lt;/A&gt; in his keynote at &lt;A href="http://www.visitmix.com/"&gt;&lt;FONT color=#800080&gt;MIX&lt;/FONT&gt;&lt;/A&gt; this week, announced that we are implementing a new version of JSscript implementation to run on top of the .NET platform. This would be called Managed Jscript. Managed Jscript will run on the new DLR, which also got announced at &lt;A href="http://www.visitmix.com/"&gt;&lt;FONT color=#800080&gt;MIX&lt;/FONT&gt;&lt;/A&gt;, and interops well with other languages on DLR. So now the Jscript code, works well with not only C#, but also with&lt;A href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython"&gt; IronPython&lt;/A&gt; , IronRuby, VB among other languages.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: teal; FONT-FAMILY: 'Arial','sans-serif'"&gt;And this with the &lt;A href="http://www.silverlight.net/"&gt;Silverlight&lt;/A&gt; platform, running cross browser, cross platform, would mean that the AJAX and other applications that were written with Jscript, would become more easier to write.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: teal; FONT-FAMILY: 'Arial','sans-serif'"&gt;Checkout the &lt;A href="http://sessions.visitmix.com/default.asp?event=1011&amp;amp;session=2012&amp;amp;pid=DEV02&amp;amp;disc=&amp;amp;id=1511&amp;amp;year=2007&amp;amp;search=DEV02"&gt;&lt;FONT color=#800080&gt;cool talk&lt;/FONT&gt;&lt;/A&gt; about DLR and how various languages interop from &lt;A href="http://blogs.msdn.com/hugunin/"&gt;&lt;FONT color=#800080&gt;Jim Hugunin&lt;/FONT&gt;&lt;/A&gt; and &lt;A href="http://www.iunknown.com/"&gt;John Lam&lt;/A&gt;. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://silverlight.net/Samples/1.1/DLR-Console/python/index.htm"&gt;DLRConsole&lt;/A&gt; sample is a cool sample to try the new Managed Jscript and also it’s interop with other languages.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2409026" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jitu/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/jitu/archive/tags/javascript/default.aspx">javascript</category><category domain="http://blogs.msdn.com/jitu/archive/tags/ironpython/default.aspx">ironpython</category><category domain="http://blogs.msdn.com/jitu/archive/tags/Managed+JScript/default.aspx">Managed JScript</category><category domain="http://blogs.msdn.com/jitu/archive/tags/JScript/default.aspx">JScript</category></item><item><title>introducing Silverlight</title><link>http://blogs.msdn.com/jitu/archive/2007/04/23/introducing-silverlight.aspx</link><pubDate>Mon, 23 Apr 2007 09:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2242275</guid><dc:creator>jitu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jitu/comments/2242275.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=2242275</wfw:commentRss><description>&lt;STRONG&gt;&lt;A class="" href="http://blogs.msdn.com/tims/" mce_href="http://blogs.msdn.com/tims/"&gt;Tim Sneath&lt;/A&gt;&lt;/STRONG&gt; (Musings of a Windows Vista Technical Evangelist), nice entry &lt;A class="" href="http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx" mce_href="http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx"&gt;introducing Silverlight&lt;/A&gt;.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2242275" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jitu/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/jitu/archive/tags/Tim+sneath/default.aspx">Tim sneath</category></item><item><title>Silverlight sees the light!!</title><link>http://blogs.msdn.com/jitu/archive/2007/04/18/silverlight-sees-the-light.aspx</link><pubDate>Wed, 18 Apr 2007 13:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2172559</guid><dc:creator>jitu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jitu/comments/2172559.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jitu/commentrss.aspx?PostID=2172559</wfw:commentRss><description>&lt;P&gt;Finally Silverlight is out to the public.&lt;/P&gt;
&lt;P&gt;&lt;A class="" title=Silverlight href="http://www.microsoft.com/silverlight" target=_blank mce_href="http://www.microsoft.com/silverlight"&gt;&lt;IMG title=Silverlight style="WIDTH: 143px; HEIGHT: 159px" height=159 alt=Silverlight src="http://www.microsoft.com/silverlight/images/logo_main_sl.gif" width=143 align=left mce_src="http://www.microsoft.com/silverlight/images/logo_main_sl.gif"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More details to follow @ &lt;A href="http://www.visitmix.com/"&gt;http://www.visitmix.com/&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2172559" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/jitu/attachment/2172559.ashx" length="9663" type="image/gif" /><category domain="http://blogs.msdn.com/jitu/archive/tags/Silverlight/default.aspx">Silverlight</category></item></channel></rss>