Category: Technology



As we build sites that are more heavily reliant on JavaScript, we sometimes pay for what we send down in ways that we can’t always easily see. In this talk, Addy explains how and why JavaScript is the most expensive resource your site uses today—especially on mobile and lower-end desktops. Web developers should focus on optimizing JavaScript bundles by keeping them small to improve download speeds, especially on mobile devices. Small JavaScript bundles improve network transfer speeds, lower memory usage, and reduce CPU costs.This can be achieved by splitting bundles larger than 50-100 kB. Additionally, it's crucial to enhance execution time by avoiding tasks that overly engage the main thread and by not using large inline scripts over 1 kB. Avoid creating Long Tasks that can keep the main UI thread busy and can push out how soon pages are interactive by users. These steps are vital as parse and compile costs have become faster than before. He will also share tips for fixing JavaScript performance issues so everything loads quicker. A little discipline can help if you want your site to load and be interactive as soon as possible on mobile. A few things that will be covered:
– What the dominant costs of heavy JavaScript are
– How median hardware plus heavy JavaScript can impact user-experience
– Tips and tricks for reducing the cost of JavaScript, reducing long-tasks and improving the Core Web Vitals metrics
– Things frameworks and browsers are doing to try reducing the cost of JavaScript by default.
– How new performance metrics can help you reason about where to optimize JavaScript to improve user interactions PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link: https://www.youtube.com/watch?v=ZKH3DLT4BKw https://www.youtube.com/watch?v=tctIYQSN7qc



00:00:00.000 Introduction
00:30.680 TIS-100
00:44.960 WebAssembly
01:08.040 Basic stack operations
02:07.640 Numeric commands
02:44.680 Boolean operations
03:21.400 Port operations
04:00.240 Control flow
05:15.720 Modules
06:14.480 Puzzle
08:33.040 The game loop
09:35.200 Tic-tac-toe
11:25.880 Text properties
12:07.800 Code cells
14:00.920 Undo
14:37.560 Parentheses
14:52.360 Assembly text to executable code PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link: https://www.youtube.com/watch?v=M-WEUbGSPUo https://www.youtube.com/watch?v=vQ_o3AFi7Jc



We created a prototype that runs Kubernetes operators in WebAssembly (wasm) and suspends them to disk when they are not used. This greatly reduces the memory overhead of the Kubernetes control plane. It also works towards a serverless k8s control plane where controllers scale to zero when not needed. PUBLICATION PERMISSIONS: Original video was published with the Creative Commons Attribution license (reuse allowed). Link: https://www.youtube.com/watch?v=E5o81Wldshk https://www.youtube.com/watch?v=cdTEeNQQnKg