Talks to Watch

Bringing SIMD to the Web via Dart

11K views · Mar 12, 2013 · 27:43 · 1 HN recommender · 3 mentions · discussed 2013–2014

John McCutchan of Google explains how Dart and the Dart VM expose SIMD instructions to speed up web software. He covers what SIMD is and how it applies to graphics and games.

Why Hacker News points people here: Pointed to as the original talk by the author of the SIMD-in-JavaScript proposal, whenever SIMD on the web comes up.

“Check "Bringing SIMD to the Web via Dart" by John McCutchan”HN comment, 2014

What Hacker News said 3

RecommendsahogeJun 2014

“Check "Bringing SIMD to the Web via Dart" by John McCutchan”

Talk by the author of the ECMAScript SIMD proposal

Full comment

Check "Bringing SIMD to the Web via Dart" by John McCutchan: this video He's also the guy wrote the proposal for ECMAScript: link Also, using SIMD is way easier than using shaders. You just write something like this: double average (Float32x4List list) { var n = list.length; var sum = new Float32x4.zero(); for (int i = 0; i < n; i++) { sum += list[i]; } var total = sum.x + sum.y + sum.z + sum.w; return total / (n * 4); } Instead of: double average (Float32List list) { var n = list.length; var sum = 0.0; for (int i = 0; i < n; i++) { sum += list[i]; } return sum / n; }

in “Intel Bringing SIMD to JavaScript” · view on HN
Cites itmichaelwwwMar 2013

“SIMD - Single Instruction Multiple Data - Speeds up things like WebGL, added to Dart VM”

Dart VM SIMD support speeds up things like WebGL

Full comment

Why Dart? SIMD - Single Instruction Multiple Data - Speeds up things like WebGL, added to Dart VM, not available in JavaScript except through an experimental technique in FireFox this video

Cites itmythzApr 2013

“being able to use native SIMD instructions inside the Dart VM should help with gaming and other graphics intensive apps”

Native SIMD in Dart VM for gaming and graphics

Full comment

They've also published a new RayTracer OO benchmark showing the Dart VM far out performing V8: link Guessing being able to use native SIMD instructions inside the Dart VM should help with gaming and other graphics intensive apps: this video

in “Core libraries stabilize with Dart's new M4 release” · view on HN