Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found a new vid on MarakanaTechTV that has some comparison of <strong>Dart vs JS</strong> (mostly tied to Dart's VM, not when rendered to JS from Dart). Highlights:</p> <ul> <li>More class based (as opposed to JS's prototypes, which are similar, but dart is more like Java &amp; C++ here. This helps makes Dart faster, since calls don't have to travel up Prototype chain.)</li> <li><a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=CKh7UOELpPo#t=303s" rel="nofollow">Objects sizes may be static</a> &amp; dense, helping object-arrays run faster. Though you can use "map" if if you want holely arrays.</li> <li><a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=CKh7UOELpPo#t=425s" rel="nofollow">Int maths</a> are readily available, which are faster than double-floats (which JS more or less is always).</li> <li><a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=CKh7UOELpPo#t=506s" rel="nofollow">Dart has SIMD</a> which can reduce large dataset CPU usage (eg images, audio, video, 3d, huge tables). Though unless you plan to process graphics, audio, or large tables of numbers inside the browser, this will not matter to you. (BTW, I disagree with the speaker; my own translations into SIMD for DSP shown switching to SIMD does take some "overhead", since a SIMD opcode does take 1 or more cycles over the typical double/int opcode, &amp; you have to spend opcodes to translate between SIMD &amp; the 'old' maths. That said, even using SIMD for 2-channel (like stereo audio), you can save a minimum of 20% CPU, &amp; up to 3.7x speed gains if you use all 4 channels). </li> </ul> <p>And another "<a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=rdDoc3fLaII#t=1506s" rel="nofollow">Why Dart?</a>" vid for web devs. Handy language sugar/shortcuts: named constrictors, lexical 'this.', method cascades. Built-in data binding like Angular.js.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload