Bringing SIMD to the Web via Dart
Channel:InfoQ · Length:27:43 · Published:2013-03-12 · Views:11195
Summary
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 HN recommends it
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, 2014
Python, Ruby & scripting languages · Web development · Software performance & optimization
Subtitles (excerpt)
[Music] all right everyone can hear me great I'm John McCutchen my talk is going to be pretty lowlevel so I hope you enjoyed Seth's talk which was nice and high level gooey stuff I'm going to go right into the VM so let's have some fun to give you an idea of my background uh it's a little bit different to be at a like a web development uh talk uh when I was in university I wrote something called I notify which is a module for the Linux kernel that does file system notifications so if something changes on your dis an event will be delivered to an application it's it's used everywhere every Android phone uses it every Linux desktop every Linux server is using I notify after doing that I started working at PlayStation where I helped Port bullet physics which is a 3D physics library to the PlayStation 3 which is a lot of fun because the PS3 has a very interesting CPU architecture with these uh CPUs called spus which are they're they're interesting in that they can't access main memory directly um so it takes a lot of juggling to get data and code in and out so when that project kind of ramped down I started to just be a go-to optimization guy so if uh a game company that was developing for the Playstation 3
On Hacker News
Check "Bringing SIMD to the Web via Dart" by John McCutchan: [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; r… — ahoge, 2014-06
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: [VIDEO] — mythz, 2013-04
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 [VIDEO] — michaelwww, 2013-03
Related videos
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- Preventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc) · DevGAMM · 1:02:41
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- The Thirty Million Line Problem · Molly Rocket · 1:48:55
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step” · CppCon · 59:33
- Brian Goetz - Stewardship: the Sobering Parts · ClojureTV · 1:03:30