<story><title>Dart Programming Language Specification [pdf]</title><url>http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-408.pdf</url><text></text></story><parent_chain></parent_chain><comment><author>azakai</author><text>Here&amp;#x27;s the part about numerics differing between the VM and dart2js:&lt;p&gt;&amp;gt; A numeric literal is either a decimal or hexadecimal integer of arbitrary size, or a decimal double [..] In principle, the range of integers supported by a Dart implementations is unlimited. In practice, it is limited by available memory. Implementations may
also be limited by other considerations. For example, implementations may choose to limit the range to facilitate efficient compilation to Javascript. These limitations should be relaxed as soon as technologically feasible.&lt;p&gt;So in principle Dart has bignums and doubles, but does not specify anything about how &amp;quot;big&amp;quot; the bignums are supposed to be, so a conformant implementation can simply not implement bignums (i.e. they are the size of the integers that fit in doubles).&lt;p&gt;This technically makes dart2js conformant, even though it in practice has different numeric types than the VM. That&amp;#x27;s fairly clever from a spec perspective, but worrying from a practical point of view.&lt;p&gt;Anyone know what the status of bignums in JS is? The spec says this will be fixed when &amp;quot;technologically feasible&amp;quot;, but I can&amp;#x27;t find information about (1) what overhead dart2js currently suffers when it does implement bignums, and (2) when this is expected to become feasible, and how. I know some dart VM people are active in the comments here - is there any public info on those two issues?</text></comment>
<story><title>Dart Programming Language Specification [pdf]</title><url>http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-408.pdf</url><text></text></story><parent_chain></parent_chain><comment><author>mythz</author><text>Also announced today: Dart to get async&amp;#x2F;await syntax sugar to simplify async programming:&lt;p&gt;&lt;pre&gt;&lt;code&gt;    foo async =&amp;gt; 42;
&lt;/code&gt;&lt;/pre&gt;
&lt;a href=&quot;https://groups.google.com/a/dartlang.org/forum/#!msg/misc/xFj2kuiC0fs/qqt_kD2ZSIQJ&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;groups.google.com&amp;#x2F;a&amp;#x2F;dartlang.org&amp;#x2F;forum&amp;#x2F;#!msg&amp;#x2F;misc&amp;#x2F;xF...&lt;/a&gt;</text></comment>