Top 10 web updates from Google I/O ‘24

Chrome for Developers
16 Aug 202406:56

Summary

TLDRIn the latest Chrome and web announcements from Google I/O, Sparkle Meadows unveils innovative updates including Gemini Nano, an AI model for on-device tasks, enhancing web development with high-level APIs like Translate and Transcribe. WebGPU and Wasm improvements promise faster AI at scale, while Chrome DevTools gets Gemini integration for easier debugging. New APIs like Speculation Rules and View Transitions aim to improve navigation and visual transitions, with tools like the Web Platform Dashboard and Baseline updates ensuring cross-browser feature support. Angular advancements in partial hydration and Reactive APIs with Signals are highlighted, along with the introduction of photorealistic 3D maps in the Maps JavaScript API.

Takeaways

  • 🌟 Sparkle Meadows introduces the latest Chrome and web updates from Google I/O, focusing on innovative capabilities for powerful web experiences.
  • 🧠 The introduction of Gemini Nano, Google's efficient on-device AI model, into Chrome desktop allows developers to deliver advanced features without worrying about prompt engineering or cost.
  • 🔧 The Prompt API, an experimental feature, enables developers to send natural language instructions to Gemini Nano, simplifying AI integration.
  • 🚀 WebGPU and Wasm are enhanced with new improvements like 16-bit floating point values and JavaScript Promise Integration to speed up AI at scale.
  • 🛠️ Chrome DevTools is updated with Gemini to provide insights and assist with debugging, making it easier for developers to understand and fix issues.
  • 🔄 The Speculation Rules API allows for near-instant navigation by prefetching and pre-rendering pages, significantly improving load times as demonstrated by Tokopedia.
  • 🎨 The View Transitions API facilitates smooth animations between page states, enhancing the user experience in both multi-page and single-page applications.
  • 📈 Updates to Baseline include the Web Platform Dashboard, providing a comprehensive view of web platform features, their development, and interop status.
  • 🌐 Akamai's Rum Archive introduces a new tool for developers to see the global user share of Baseline versions and features, aiding in decision-making for feature adoption.
  • 🌐 Angular is working on partial hydration to improve core web vitals by loading and hydrating only parts of the app when needed.
  • 📡 Angular introduces new Reactive APIs with Signals for fine-grained change detection, reducing the need for manual UI optimization.
  • 🗺️ Google Maps platform brings photorealistic 3D maps to the Maps JavaScript API, allowing developers to create immersive web experiences with just a single line of code.

Q & A

  • What is the main focus of the latest Chrome and web announcements from Google I/O?

    -The main focus is on innovative capabilities and tools aimed at building web experiences that are more powerful than ever, with a significant emphasis on AI and its integration into the web development process.

  • What is Gemini Nano and how does it benefit developers?

    -Gemini Nano is Google's most efficient model for on-device tasks. It allows developers to harness the power of on-device AI without worrying about prompt engineering, fine-tuning, capacity, or cost, by simply calling high-level APIs like Translate, Transcribe, or Caption.

  • What is the Prompt API and how does it work?

    -The Prompt API is an experimental API that enables developers to send natural language instructions to an instance of Gemini Nano in Chrome, allowing for further exploration of use cases and AI capabilities on the web.

  • How does the introduction of WebGPU and Wasm improvements contribute to AI efficiency on the web?

    -WebGPU and Wasm serve as the backbone for on-device AI on the web. Improvements such as 16-bit floating point values in WebGPU and memory 64 and JavaScript Promise Integration in Wasm make AI run faster at scale on a vast majority of devices.

  • What is the Speculation Rules API and its impact on web page navigation?

    -The Speculation Rules API enables near-instant navigation by allowing pages to be prefetched and pre-rendered in the background, resulting in significantly faster load times.

  • How did Tokopedia benefit from testing the Speculation Rules API?

    -As an early tester, Tokopedia experienced a 4.8-time improvement in loading time to the Largest Contentful Paint (LCP) of their product description pages.

  • What is the View Transitions API and its purpose?

    -The View Transitions API allows for easy animation between page states, enabling developers to create a fluid navigation experience in both multi-page applications and single-page apps.

  • How did Airbnb utilize the View Transitions API in their platform?

    -Airbnb used the View Transitions API to create smooth and seamless navigations from the listing editor sidebar to editing photos and adding amenities within a fluid user flow.

  • What is the Web Platform Dashboard and its purpose?

    -The Web Platform Dashboard is a tool that maps out the entire web platform as a set of features, allowing developers to follow their development and check their interop status.

  • What is the significance of the new tool for developers on Akamai's Rum Archive Insights?

    -The new tool allows developers to see the global user share of Baseline versions and features, helping them understand which features are unlocked with a specific version of Baseline and integrate them into their workflow.

  • How is Angular improving web app development with its new features?

    -Angular is introducing partial hydration to load and hydrate parts of an app only when needed, improving core web vitals for performance-sensitive apps. Additionally, it offers new Reactive APIs with Signals for fine-grained change detection, enhancing the developer experience.

  • What new capability is being added to the Maps JavaScript API from Google Maps platform?

    -The Maps JavaScript API is being enhanced to include photorealistic 3D maps, leveraging Google's rendering technology to deliver rich 3D maps quickly and efficiently.

Outlines

00:00

🌟 Chrome and Web Innovations at Google I/O

Sparkle Meadows introduces the latest Chrome and web updates from Google I/O, focusing on AI advancements for web development. Gemini Nano, Google's efficient on-device AI model, is now integrated into Chrome desktop, allowing developers to deliver powerful features without worrying about prompt engineering or costs. The Prompt API enables natural language instructions to Gemini Nano, and the Early Preview Program invites developers to shape the future of web development. WebGPU and Wasm improvements, such as 16-bit floating point values and JavaScript Promise Integration, aim to make AI run faster on a wide range of devices. Developers can choose between built-in AI, server-side AI, or a hybrid approach. Chrome DevTools is enhanced with Gemini to generate insights and assist with debugging. The Speculation Rules API is introduced for near-instant page navigation by prefetching and pre-rendering pages. Tokopedia benefits from this with a significant improvement in Largest Contentful Paint. The View Transitions API allows for smooth animations between page states, as demonstrated by Airbnb's seamless navigations. Updates to Baseline and the introduction of the Web Platform Dashboard provide a comprehensive tool for developers to track web platform feature support and development.

05:01

🚀 Angular Enhancements and 3D Maps Integration

The script discusses Angular's advancements in web app development. Partial hydration is being developed to load and hydrate only parts of an app when needed, improving core web vitals for performance-sensitive applications, with a Developer Preview expected later in the year. Angular also introduces Reactive APIs with Signals for fine-grained change detection, allowing for more granular control over state changes in components without manual UI optimization. The new APIs are available out of the box. Additionally, Google Maps platform's Maps JavaScript API now includes photorealistic 3D maps, leveraging Google's rendering technology to provide rich 3D maps with information on over 250 million places and businesses worldwide. Developers can integrate this feature with just a single line of code during the experimental phase at no cost. The script concludes with excitement for the potential of these updates in building immersive web experiences.

Mindmap

Keywords

💡Chrome and web announcements

The term refers to the latest updates and features being introduced by Google for the Chrome browser and web development ecosystem. It is central to the video's theme as it sets the stage for the various innovations and improvements discussed, such as on-device AI capabilities and new APIs for web developers.

💡Gemini Nano

Gemini Nano is Google's efficient AI model designed for on-device tasks. It is a key concept in the video, illustrating the integration of AI into the Chrome desktop experience. The script mentions that developers can harness its power without worrying about prompt engineering or cost, highlighting its role in simplifying AI deployment for web applications.

💡On-device AI

On-device AI refers to the execution of AI processes directly on the user's device, rather than relying on cloud-based services. In the context of the video, it is a significant advancement that allows for more powerful and responsive web experiences. The script emphasizes the benefits of using Gemini Nano for on-device AI, such as reduced reliance on network connectivity and enhanced privacy.

💡High-level APIs

High-level APIs are application programming interfaces that abstract complex operations, allowing developers to perform tasks with simpler code. In the video, it is mentioned that developers can utilize high-level APIs like Translate, Transcribe, or Caption to deliver AI features to users, demonstrating the ease of integrating AI into web applications.

💡Prompt API

The Prompt API is an experimental feature that allows developers to send natural language instructions to AI models within Chrome. It is highlighted in the script as a way to explore further use cases for on-device AI, showcasing the potential for more intuitive and flexible interactions with AI in web development.

💡WebGPU and Wasm

WebGPU and WebAssembly (Wasm) are technologies that enable high-performance graphics and computation on the web. The video discusses improvements to these technologies, such as 16-bit floating point values in WebGPU and memory enhancements in Wasm, to make AI run faster on a wide range of devices. These are foundational for the efficient execution of AI models on the web.

💡Speculation Rules API

The Speculation Rules API is a feature that allows for prefetching and pre-rendering of web pages in the background, resulting in near-instant navigation. The video uses the example of Tokopedia, which saw a significant improvement in loading times, to illustrate the potential impact of this API on user experience.

💡View Transitions API

The View Transitions API is introduced to facilitate smooth animations between page states, enhancing the visual continuity of web applications. The script mentions Airbnb as an early adopter, creating seamless navigation experiences, which underscores the API's role in improving user interaction and visual transitions in web apps.

💡Baseline

Baseline is a tool for understanding browser support for web platform features. The video discusses updates to Baseline, including the introduction of the Web Platform Dashboard, which provides a comprehensive view of web platform features and their development status. This is crucial for developers to ensure cross-browser compatibility.

💡Angular

Angular is a popular platform for building and deploying web applications. The video mentions that Google is working on partial hydration for Angular, which will improve performance by loading and hydrating parts of an app only when needed. This reflects the ongoing efforts to enhance the performance and efficiency of web app development frameworks.

💡Reactive APIs

Reactive APIs, introduced by Angular in the video, provide a new set of tools for developers to manage changes in their applications more granularly. The script explains that these APIs enable fine-grained change detection, which can lead to more efficient UI updates and better performance, illustrating the ongoing evolution of development tools to meet modern web development needs.

💡Maps JavaScript API

The Maps JavaScript API from the Google Maps platform is highlighted in the video for its new capability to bring photorealistic 3D maps to web applications. This feature allows developers to integrate rich 3D mapping experiences with minimal code, showcasing the potential for more immersive and visually appealing web applications.

Highlights

Introduction of Sparkle Meadows and the latest Chrome and web announcements from Google I/O.

AI's evolving role in web development and the introduction of on-device AI with Gemini Nano in Chrome desktop.

Gemini Nano as Google's most efficient model for on-device tasks, simplifying AI feature delivery.

The Prompt API, an experimental feature allowing natural language instructions for Gemini Nano in Chrome.

Invitation to join the Early Preview Program to shape the future of web development.

Efficiency improvements in WebGPU and Wasm for on-device AI, including 16-bit floating point values and JavaScript Promise Integration.

The option to choose between built-in AI, server-side AI, or a hybrid approach for web experiences.

AI's potential to enhance developer workflows with the integration of Gemini into Chrome DevTools.

Chrome DevTools Console Insights, providing insights and aiding in understanding and fixing issues.

Introduction of the Speculation Rules API for near-instant navigation by prefetching and pre-rendering pages.

Tokopedia's success story with a 4.8-time improvement in Largest Contentful Paint (LCP) using the Speculation Rules API.

The View Transitions API for animating between page states, enhancing multi-page and single-page applications.

Airbnb's implementation of the View Transition API for smooth and seamless navigation.

Updates to Baseline with the introduction of the Web Platform Dashboard for tracking feature development and interop status.

Akamai's Rum Archive Insights tool for developers to see global user share of Baseline versions and features.

Angular's new features including partial hydration and Reactive APIs with Signals for fine-grained change detection.

Introduction of photorealistic 3D maps to the Maps JavaScript API from Google Maps platform.

The ability to start using photorealistic 3D maps with a single line of code during the experimental phase.

Closing remarks expressing excitement for the future of web development with the new updates and features.

Transcripts

play00:00

[MUSIC PLAYING]

play00:04

SPARKLE MEADOWS: Hi, my name is Sparkle Meadows,

play00:06

and today, I'm going to be taking you through the latest

play00:09

Chrome and web announcements from Google I/O. We

play00:12

have some exciting new updates and releases,

play00:14

all aimed to bring you innovative capabilities

play00:16

and tools to build web experiences that

play00:19

are more powerful than ever.

play00:21

Let's get right into it.

play00:23

AI continues to evolve how developers build and create,

play00:27

and it's no different for the web.

play00:28

And now you can harness the power of on-device AI

play00:31

with Gemini Nano built right into the Chrome desktop.

play00:34

Gemini Nano is Google's most efficient model

play00:37

for on-device tasks.

play00:38

With built-in AI, soon you'll be able to deliver

play00:41

powerful features to Chrome's billions of users

play00:44

without having to worry about prompt engineering, fine-tuning,

play00:47

capacity, or cost.

play00:49

All you'll have to do is call a few high-level APIs

play00:53

like Translate, Transcribe, or Caption.

play00:56

And now, you can explore further use cases with the Prompt API.

play01:01

This experimental API lets you send natural language

play01:04

instructions to an instance of Gemini Nano in Chrome.

play01:08

Join our Early Preview Program and help us shape

play01:10

the future of web development.

play01:13

We know that AI models can be costly and cumbersome to run,

play01:16

so we're committed to ensuring AI models can

play01:19

run quickly and efficiently.

play01:21

With WebGPU and Wasm as the backbone for on-device AI

play01:25

on the web, we introduce new improvements,

play01:27

like 16-bit floating point values in WebGPU and memory 64

play01:31

and JavaScript Promise Integration in Wasm to make AI

play01:35

run even faster at scale on a vast majority of devices.

play01:38

Depending on your web experience,

play01:40

you can now select among built-in AI, server-side AI,

play01:44

or even a hybrid approach.

play01:45

With WebGPU, Wasm, and Gemini built into Chrome,

play01:49

the web is AI-ready.

play01:52

AI can also vastly improve developer workflows.

play01:55

Chrome DevTools is one of the most popular ways

play01:57

to debug and troubleshoot your app,

play01:59

so we are bringing Gemini to make Chrome DevTools easier

play02:02

than ever.

play02:04

Gemini will now generate insights

play02:06

right in your Chrome DevTools.

play02:07

It will help you understand messages, errors,

play02:10

what the problem is, and even how to fix it.

play02:13

Chrome DevTools Console Insights is available now.

play02:16

Make sure to try it out.

play02:17

With all the exciting AI news, let's turn the page

play02:21

to continue and see how we're improving web page navigation.

play02:24

With the new Speculation Rules API,

play02:26

we're enabling near-instant navigation

play02:29

by prefetching and pre-rendering pages in the background.

play02:32

This allows pages to load in milliseconds.

play02:35

As an early tester of the Speculation Rules API,

play02:38

Tokopedia was able to see a 4.8-time loading time

play02:42

improvement to the Largest Contentful Paint, LCP,

play02:45

of their product description pages.

play02:47

Get started with only a few lines of code

play02:49

and see how Speculation Rules can enable near-instant seamless

play02:53

browsing experiences.

play02:55

Seamless visual transitions are important, both for this video

play02:58

and for your website.

play03:00

So we introduce a View Transitions API,

play03:02

letting you animate easily between page states.

play03:05

Whether you build a multi-page application

play03:07

or a single-page app, you'll be able to create

play03:09

a fluid navigation experience regardless

play03:12

of your site's architecture.

play03:14

As an early adopter of the View Transition API,

play03:16

Airbnb created smooth and seamless navigations

play03:20

from the listing editor sidebar right into editing photos

play03:23

and adding amenities all within a fluid user flow.

play03:26

Combine the Speculation Rules and View Transitions APIs

play03:30

to see how we're truly improving the web navigation experience

play03:33

for developers and users alike.

play03:36

Now you might be wondering, when will I

play03:38

know if these amazing features are available across browsers?

play03:42

Not to worry.

play03:43

We've got that covered, too, with updates to Baseline,

play03:46

the tool to understand browser support for web platform

play03:50

features.

play03:51

We're taking all the information from Baseline

play03:53

and introducing the new Web Platform Dashboard.

play03:56

With this, you'll be able to see the entire web platform mapped

play04:01

out as a set of features, follow their development,

play04:04

and check their interop status.

play04:06

We'd love to hear your suggestions for the dashboard.

play04:09

If you have an idea or want to report a bug, find us on GitHub

play04:13

and let us know.

play04:14

We've heard from developers that Baseline

play04:16

works best when integrated into your workflow and the tools

play04:19

you use every day.

play04:21

That's why Akamai's Rum Archive has a new tool for developers

play04:25

on Rum Archive Insights.

play04:27

For the first time, you can see the global user share

play04:31

of Baseline versions and features

play04:33

that are unlocked with that version of Baseline side

play04:36

by side.

play04:37

For example, if you adopt Baseline 2022, and therefore,

play04:41

want to use no features newer than that,

play04:43

your IDE should let if you use a newer feature.

play04:47

We'll continue to release improvements, including

play04:50

RUMVision, which will soon include

play04:52

Baseline data in the information it provides about your audience.

play04:55

With the web features data becoming more complete

play04:58

every day, this is a great time to think about how

play05:00

you could integrate it.

play05:01

We believe one of the best platforms

play05:04

for building and deploying web apps is Angular.

play05:07

We are now working on partial hydration

play05:09

so JavaScript will load and hydrate part of your app

play05:12

only when needed, significantly improving core web vitals

play05:16

for performance-sensitive apps.

play05:18

It's coming in Developer Preview later this year.

play05:21

We also want to give you more granular control

play05:24

over the detection and management of changes

play05:26

in your apps.

play05:27

So this year, Angular also introduced a new set

play05:31

of Reactive APIs that empower a first-class developer

play05:34

experience with Signals.

play05:36

Signals enable fine-grained change detection

play05:39

that will only check your individual components

play05:41

in your component tree to propagate

play05:43

state changes so you no longer have to manually optimize

play05:46

the UI.

play05:48

Signal-based Reactive APIs are available

play05:51

today right out of the box.

play05:53

Lastly, we're unlocking more ways of building immersive web

play05:57

experiences by bringing photorealistic 3D maps

play06:00

to the familiar Maps JavaScript API from Google Maps platform.

play06:04

Now, you can take advantage of Google's rendering technology

play06:08

to deliver rich 3D maps at the speed your users expect with

play06:12

our rich base map and information of more than 250

play06:15

million places and businesses around the world.

play06:18

The best part?

play06:19

You can get started with a single line of code.

play06:23

Try out photorealistic 3D maps and Maps JavaScript at no cost

play06:27

during the experimental phase.

play06:28

We can't wait to see the stunning immersive experiences

play06:32

you'll build.

play06:33

And that's it for all the major launches and updates

play06:36

from web and Chrome.

play06:37

Hope you are as excited as we are,

play06:39

and we can't wait to see you build for the powerful web made

play06:43

easier.

play06:43

[MUSIC PLAYING]

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
Google I/OAI IntegrationChrome UpdatesWeb DevelopmentGemini NanoWebGPUDevToolsSpeculation RulesWeb NavigationAngular
¿Necesitas un resumen en inglés?