Revision 422: Web Worker, ComLink und WASM episode artwork

EPISODE · Apr 28, 2020 · 1H 13M

Revision 422: Web Worker, ComLink und WASM

from Working Draft · host Vanessa Otto, Peter Kröner, Hans Christian Reinl, Stefan Baumgartner, Christian »Schepp« Schaefer

Nachdem es schon wieder unglaubliche zwei Jahre her ist, dass wir mit ihm über das „Actor Model“ reden durften, war es nun höchste Eisenbahn, Surma wieder einzuladen und über aktuelle Entwicklungen im…

Episode metadata supplied by the publisher feed · Published Apr 28, 2020

Nachdem es schon wieder unglaubliche zwei Jahre her ist, dass wir mit ihm über das „Actor Model“ reden durften, war es nun höchste Eisenbahn, Surma wieder einzuladen und über aktuelle Entwicklungen im (multigethreadedten) Web zu plaudern. [00:00:29] SCHAUNOTIZEN WEB WORKER Eines von Surmas Steckenpferden ist es, alles was nicht bei „Drei!“ auf dem Baum ist in separate Threads auszulagern. Wir sprechen über Sinn und Zweck dieser Heranangehensweise am Beispiel der Projekte Squoosh und Proxx des Chrome Developer Relations Teams (siehe auch die Google Chrome Labs auf Github). Wir erfahren, dass das Ziel dabei weniger ist, mehr Geschwindigkeit auf ohnehin schnellen Plattformen herauszuholen, sondern vielmehr dem UI-Thread auf Einsteiger-Hardware den Rücken frei zu halten. COMLINK Einer der Nachteile von Web Worker ist die Tatsache, dass sie anstrengend im Umgang sind. Moderne Programmierparadigmen und Surmas Open-Source-Projekt ComLink schaffen hier allerdings Abhilfe. Und auch wenn das Motto „Comlink makes WebWorkers enjoyable“ lautet, so lässt sich diese Bibliothek auch ganz prima für eine angenehme Kommunikation mit Service Workern oder über Frame-Grenzen hinweg einsetzen (also im Prinzip alles, was auf das Message-Interface setzt). WASM, WASI UND INTERFACE TYPES Surma kennt sich aber nicht nur mit elegant programmierbarem Multithreading aus, sondern auch mit WebAssembly, kurz: Wasm. So nutzt unter anderem das eingangs erwähnte Squoosh unter der Haube von C++ nach Wasm portierte, gebräuchliche Bildkompressoren wie MozJPEG oder OptiPNG. Wir unterhielten uns außerdem über kommende Neuerungen wie Interface Types, sowie nochmal über WASI (höre dazu auch Revision 394). Und wir sinnierten über den Grund, weswegen es so aussieht, als ob Wasm schaffen wird, was Java und Silverlight nicht gelungen ist, nämlich das langersehnte, universelle Runtime-Environment zu werden. > If WASM+WASI existed in 2008, we wouldn’t have needed to created Docker. > That’s how important it is. Webassembly on the server is the future of > computing. A standardized system interface was the missing link. Let’s hope > WASI is up to the task! https://t.co/wnXQg4kwa4 > > — Solomon Hykes (@solomonstre) March 27, 2019 KEINE SCHAUNOTIZEN ROLLUP-PLUGIN-OFF-MAIN-THREAD Dieses Plugin für den Bundler Rollup macht es möglich ES Modules innerhalb von Workern zu nutzen. IMPORTFROMWORKER() Dieses andere Projekt von Surma in Zusammenarbeit mit Jason Miller ermöglicht es, analog zu ES Modulen, Funktionen aus Web Workern transparent in den UI-Thread „zu importieren“ und sie dort wie gewohnt zu nutzen. WEBASSEMBLY SUMMIT 2020 Kurz vor Corona-Ladenschluss fand der von Surma organisierte WebAssembly Summit statt, dessen Videos online zum Binge-Watchen bereit stehen. HTTP 203 In ihrer Videoserie diskutieren Surma und Jake Archibald regelmäßig neue Web Features und Konzepte, garniert mit einer guten Portion Humor :) HTTP 203 PODCAST Nachdem dank Coronavirus auch die Google Developer Relations Menschen von zu Hause arbeiten müssen, setzen Jake und Surma ihre Serie nun einfach in Form eines Podcasts fort (we approve!).

PodParley-generated summary based on available episode metadata and transcript content.

NOW PLAYING

Revision 422: Web Worker, ComLink und WASM

0:00 1:13:58

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

CISO Perspectives (public) N2K Networks This season on CISO Perspectives, host Kim Jones explores some of the challenges of leading through uncertainty. We explore the complexity of the changing nature of regulation and working with the federal government, the evolution of privacy and fraud, and how emerging technologies like AI and quantum computing are changing cyber. When you don’t know what questions to ask, you’re afraid to ask, or don’t know who to ask, CISO Perspectives provides the foundation for learning in this brave new world. Carnivores Don't Get Sunburn - Carnivore Diet Talks Carnivores Don't Get Sunburn - Carnivore Diet Talks Welcome to “Carnivores Don’t Get Sunburn,” where we have fun and explore the carnivore diet and its transformative power. Join us as we uncover real stories from individuals who have thrived on this diet, defying convention and embracing optimal health. Plus, stay tuned for our upcoming documentary featuring diverse carnivores overcoming health challenges. Learn more at www.carnivoredietdocumentary.com.Excitingly, we’re working on an upcoming documentary where we’ll feature carnivores from various walks of life, conquering diverse health challenges. Join us on this journey and learn more at www.carnivoredietdocumentary.com.Join us in uncovering the power of the carnivore diet. Prepare to be inspired, informed, and empowered to embrace optimal health and well-being.Welcome to “Carnivores Don’t Get Sunburn: Unveiling Real Stories of the Carnivore Diet.” Stay tuned for our upcoming documentary. Discover how this lifestyle can transform lives. Learn more at www.carnivoredietdocumentary.com Canine Fitness Fanatics Podcast Hannah Johnson Do you think your dog might benefit from a little extra fitness? Maybe you want to tighten those left turns in agility or tighten their box turn in flyball? Or maybe they are a bit clumsy and just need a little more body awareness? Welcome to the Canine Fitness Fanatics podcast! With your host Hannah Johnson join us as we talk dog fitness and other areas of canine health too! Our mission is to help condition dogs to reduce the risk of injury and increase longevity, whether that’s in sporting dogs, working dogs or pet dogs. All dogs can benefit from a little extra fitness! The Ultraspeaking Podcast Tristan de Montebello, Michael Gendler The Ultraspeaking Podcast explores modern-day solutions to greater confidence, skill, and ease when speaking at work. Each episode features the founders, Tristan and Michael, as they detail unconventional strategies to thrive under pressure and speak with less preparation. Working on hand-gestures and eye contact is OUTDATED advice. Writing a script or creating a structure is a TRAP.It’s time for a better way. Join the Ultraspeaking movement and you’ll never look back.

Frequently Asked Questions

How long is this episode of Working Draft?

This episode is 1 hour and 13 minutes long.

When was this Working Draft episode published?

This episode was published on April 28, 2020.

What is this episode about?

Nachdem es schon wieder unglaubliche zwei Jahre her ist, dass wir mit ihm über das „Actor Model“ reden durften, war es nun höchste Eisenbahn, Surma wieder einzuladen und über aktuelle Entwicklungen im…

Can I download this Working Draft episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!