Skip to content
0:00 / 0:00

#dart#simd#webgl

Bringing SIMD to the Web via Dart

InfoQ

234K subscribers • 64 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by John McCutchan, Developer Programs Engineer at Google
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

11K views13 years ago1 recommendation

Web developmentSystems programmingWeb performancePerformance and optimizationHow browsers work

John McCutchan explains how Dart and the Dart VM expose SIMD instructions to accelerate web applications like graphics and games.

John McCutchan wants the web to work faster. In this talk, he describes how Google's Dart, the Dart VM, and the Single Instruction Multiple Data processor can make this possible. By utilizing SIMD (already incorporated into every tablet, smartphone, and PC), John explains that you can improve the speed of your web software. Currently a Developer Programs Engineer at Google, John comes to the SFHTML5 User Group from an impressive background in programming that includes the creation of inotify as well as extensive work developing for the Playstation. **Want more videos on HTML5? Check out our site: marakana.com/s/tags/html5

Why it's here

1 person recommends this

What people say. Recommended as an interesting look at how Dart attempted to bring native SIMD performance to web applications.

ahogeon Hacker News • Recommends

On “Intel Bringing SIMD to JavaScript”

Check "Bringing SIMD to the Web via Dart" by John McCutchan: link to 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 += listi; } 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 += listi; } return sum / n; }

michaelwwwon Hacker News • Mentions

On “Why or why not Dart?”

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 link to this video

mythzon Hacker News • Mentions

On “Core libraries stabilize with Dart's new M4 release”

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: link to this video