<?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>JScript Blog : MIX08</title><link>http://blogs.msdn.com/jscript/archive/tags/MIX08/default.aspx</link><description>Tags: MIX08</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>JScript in Internet Explorer 8 Beta 1 for Developers</title><link>http://blogs.msdn.com/jscript/archive/2008/03/05/jscript-in-internet-explorer-8-beta-1-for-developers.aspx</link><pubDate>Wed, 05 Mar 2008 17:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8054964</guid><dc:creator>janakiram.msv</dc:creator><slash:comments>32</slash:comments><comments>http://blogs.msdn.com/jscript/comments/8054964.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jscript/commentrss.aspx?PostID=8054964</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jscript/rsscomments.aspx?PostID=8054964</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"&gt;&lt;FONT face=Calibri size=3&gt;Making developers more productive through the design, development, and debug phases of web application development is one of the key goals for Internet Explorer 8. I’d like to take this opportunity to walk you through the features that the JScript team contributed to IE8 Beta 1 for Developers. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"&gt;&lt;FONT face=Calibri size=3&gt;Let me start with the JScript language and the scripting engine optimization. Performance of the JScript engine has been our number one goal for the Beta1 release. With today’s rich AJAX web-applications, some of the most common JScript operations include String and Array operations. We received feedback from developers on the slow performance of the inbuilt string concatenation functions of JScript. This is not a new problem and quite a lot has been written about the issue (discussed in this Jscript blog &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/jscript/archive/2007/10/17/performance-issues-with-string-concatenation-in-jscript.aspx" mce_href="http://blogs.msdn.com/jscript/archive/2007/10/17/performance-issues-with-string-concatenation-in-jscript.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;). With IE8, we fixed this problem in the JScript engine. String concatenation is now many times faster when compared to the previous JScript engine.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"&gt;&lt;FONT face=Calibri size=3&gt;Prior to this optimization of string concatenation, most developers used Array join operations to achieve the same result. We were aware of this tradeoff and made sure that the Array operations are also optimized. In either scenario, developers will experience significant performance gains. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"&gt;&lt;FONT face=Calibri size=3&gt;One of the challenges for the team was to understand the language compatibility and issues that existed in our JScript implementation of the &lt;/FONT&gt;&lt;A href="http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf" mce_href="http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;ECMAScript Language Specification 3rd Edition&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. We have identified the &lt;/FONT&gt;&lt;A href="http://wiki.ecmascript.org/lib/exe/fetch.php?id=resources%3Aresources&amp;amp;cache=cache&amp;amp;media=resources:jscriptdeviationsfromes3.pdf" mce_href="http://wiki.ecmascript.org/lib/exe/fetch.php?id=resources%3Aresources&amp;amp;cache=cache&amp;amp;media=resources:jscriptdeviationsfromes3.pdf"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;JScript Deviations from ES3&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; (discussed in detail in this blog &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/jscript/archive/2007/10/29/ecmascript-3-and-beyond.aspx" mce_href="http://blogs.msdn.com/jscript/archive/2007/10/29/ecmascript-3-and-beyond.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;). &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;This document will act as a starting point for the developers targeting cross browser web applications and helps in understanding the deviations in detail. In the near future, we intend to make JScript more compatible with ES3 specifications. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"&gt;&lt;FONT face=Calibri size=3&gt;Another challenge for the JScript developers is the &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/jscript/archive/2007/05/01/legacy-ie-jscript-circular-memory-leak-problem.aspx" mce_href="http://blogs.msdn.com/jscript/archive/2007/05/01/legacy-ie-jscript-circular-memory-leak-problem.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;circular memory leak problem&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. We took a hard look at this problem and realized that this has to be fixed at the COM infrastructure. We implemented a design that bridges the gap between COM ref-counting and automatic garbage collection models. We extended the IDispatchEx interface to enable COM clients to simultaneously live in both the ref-counted and garbage collected worlds. The good news is that since this is impacting the underlying core infrastructure, many built-in COM components including IE8 DOM and custom COM components can take advantage of this.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; TEXT-ALIGN: justify"&gt;&lt;FONT face=Calibri size=3&gt;If you are a web developer, you would have certainly used Firebug or Visual Studio for debugging web applications. Web developers can get started with &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/express/vwd/Default.aspx" mce_href="http://www.microsoft.com/express/vwd/Default.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;Visual Web Developer Express&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; for basic debugging or can leverage the power of &lt;/FONT&gt;&lt;A href="http://msdn2.microsoft.com/en-us/vsts2008/default.aspx" mce_href="http://msdn2.microsoft.com/en-us/vsts2008/default.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;Visual Studio Team System&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; which is meant for complex testing and debugging scenarios. While we cover the whole spectrum through the Visual Studio family, one of the experiences lacking in Internet Explorer is a built-in JScript debugger. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;The IE8 Developer Tools now offer an integrated JScript debugger that provides the basic set of debugging features. We believe this compliments Visual Studio debugging experience and is an important step towards making JavaScript developers more productive. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;We look forward to hearing about your experiences with JScript and IE8 Beta 1 for Developers.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Shreesh Dubey, Product Unit Manager, JScript&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8054964" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jscript/archive/tags/Javascript/default.aspx">Javascript</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Jscript/default.aspx">Jscript</category><category domain="http://blogs.msdn.com/jscript/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.msdn.com/jscript/archive/tags/MIX08/default.aspx">MIX08</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Developers/default.aspx">Developers</category></item></channel></rss>