Flutter, Dart, and WASM: Shipping a new model for Web applications by Kevin Moore @ Wasm I/O 2024

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 70

  • @philosophia5577
    @philosophia5577 9 місяців тому +15

    Great Talk Kevin! Flutter is the best Wasm UI Framework!!

  • @isaactfa
    @isaactfa 9 місяців тому +16

    Great speaker. Did not expect a Pitch Meeting reference. Tight.

    • @kevmoo
      @kevmoo 9 місяців тому +6

      Yes! 6 hours after posting. You have made my day. 🙏🤣

    • @lukewallace3877
      @lukewallace3877 8 місяців тому

      Subtle references to internet culture in a technical presentation are TIGHT!

  • @guiaflutterflow
    @guiaflutterflow 8 місяців тому +36

    The dream is getting closer and closer to being realized. #flutter #web

    • @tomjones8293
      @tomjones8293 8 місяців тому +1

      wet dream you mean ? or SEO dream ?

    • @anonymously-rex-cole
      @anonymously-rex-cole 7 місяців тому

      ​@@tomjones8293 why keep asking for SEO where that is not really the focus of the product. smh

  • @tananga_studio
    @tananga_studio 3 місяці тому +1

    Kevin you are great! Thank you flutter team for your hard work ❤

  • @DevLife717
    @DevLife717 5 місяців тому +1

    Great job Kev, really excited for the Flutter/WASM future

  • @venkatareddy6122
    @venkatareddy6122 9 місяців тому +3

    Great talk .

  • @chaitanyadamarasingu979
    @chaitanyadamarasingu979 9 місяців тому +7

    Waiting for this since an Year. He is evloved now like a Pokemon

  • @morawobolu1597
    @morawobolu1597 9 місяців тому +14

    Is it just me or is it that anytime the dotnet team speaks about WASM, people are generally angry. But when another framework discusses it, it's accepted as a revolutionary tech.

    • @hamm8934
      @hamm8934 9 місяців тому

      Because microsoft is anti consumer

    • @_____case
      @_____case 9 місяців тому +16

      I think it's because Blazor WASM ships the entire .NET runtime to the user's browser, which is why it performs so poorly.
      The Flutter team considered porting the entire Flutter Engine to WASM, but decided against it because they concluded that it wouldn't be performant.
      One team made better long-term technical decisions than the other.

    • @samgarg5228
      @samgarg5228 8 місяців тому +11

      @@_____case They are still technically shipping the Flutter Engine (Skia) + Framework with the bundle even in wasm, as you can see in the slides 15:00. The main difference is in the Dart's GC. Flutter does not ship the entire Dart GC runtime. They waited for the WASM's GC feature to stabilise and then used the WASM GC instead of shipping the entire Dart GC runtime with the app, Which saves a lot of overhead and bundle size. Blazer ships the .NET GC with the app, and it also uses the DOM instead of drawing pixels to the canvas like flutter, That's why it's very slow and heavy.

    • @randypenajimenez3893
      @randypenajimenez3893 8 місяців тому

      The hate is real.

    • @randypenajimenez3893
      @randypenajimenez3893 8 місяців тому

      ​@@_____casePoorly?

  • @dodochi79
    @dodochi79 2 місяці тому

    Very excited!

  • @JT-mr3db
    @JT-mr3db 9 місяців тому +9

    Wonder how accessibility works if everything is just canvas rendered.

    • @JT-mr3db
      @JT-mr3db 9 місяців тому +5

      Oh they use a DOM twin. Man.. The amount of engineering that has gone in to this is wild.

    • @aliqanbari2017
      @aliqanbari2017 9 місяців тому +6

      Currently yes but in the future their working with the Chrome team on a proposal for adding new accessibility APIs for non html apps

    • @saiphaneeshk.h.5482
      @saiphaneeshk.h.5482 9 місяців тому

      Everything will be translated I guess.

    • @Lis001-
      @Lis001- 8 місяців тому +1

      I do see that the team does solve some accessibility bugs. Especially there are a few contributors that tend to author most of them and I am grateful for their work. At the same time, there are wcag breaking bugs that has been open for years. So there is still further work to do on accessibility in Flutter.

  • @mehmetedex
    @mehmetedex 9 місяців тому +1

    this is a treat

  • @ypomerantsev
    @ypomerantsev 7 днів тому

    Am I the only one seeing errors with "else if" that is the same as the first "if" statement which will never be used by developers in any code?

  • @chaitanyadamarasingu979
    @chaitanyadamarasingu979 9 місяців тому +4

    WE wanted performance over WEB and over power react js

  • @AndysTV
    @AndysTV 4 місяці тому

    4:37 Are you going to use a matrix for the logic in the next verision 🤣

  • @amorenew
    @amorenew 9 місяців тому +1

    Do it will support SEO?

    • @_____case
      @_____case 9 місяців тому +4

      Prediction: In the not-too-distant future, SEO will also involve AI that consume the rendered pixels, rather than parsing the HTML alone.

    • @jhonyhndoea
      @jhonyhndoea 8 місяців тому +3

      dont think so. think of it like an app and not like a website

    • @zzzyyyxxx
      @zzzyyyxxx 8 місяців тому +1

      There's a proposal to add an accessibility tree to non HTML apps, basically like a cloned HTML tree of the canvas app, which would then be indexed for search engines

    • @kyleaustin2728
      @kyleaustin2728 6 місяців тому

      @@jhonyhndoea thumbs down.

    • @nandoflorestan
      @nandoflorestan 6 місяців тому

      @@kyleaustin2728 ​ Someone did not watch the video... Click this: 12:42

  • @msSinceEpoch-se2ty
    @msSinceEpoch-se2ty 8 місяців тому

    Awesome

  • @oleh6836
    @oleh6836 9 місяців тому

    Question to speaker. Can we expect dart isolates in web after migration to Wasm? I can compile multithreading C++ code to Wasm, why I can't compile multithreading dart code?

    • @mraleph
      @mraleph 9 місяців тому +6

      Currently Wasm is limited to sharing linear memory between workers - there is no way to share Wasm GC structs. We could add some support for isolates but all communication would require copying. There is a proposal under discussion to add shared memory to Wasm GC - but it would take some time before that's ready and available in browsers.

  • @chaitanyadamarasingu979
    @chaitanyadamarasingu979 9 місяців тому

    there is no WEB APP for Superlist i guess

    • @kevmoo
      @kevmoo 8 місяців тому +2

      There absolutely is!

  • @krtirtho
    @krtirtho 8 місяців тому

    "Super easy, barely an incovenience" ~ Ryan Goerge
    I see what u did there.
    Btw, the speech was tight.

    • @kevmoo
      @kevmoo 8 місяців тому

      🫵🫵🫵😂

  • @ajitsinghyadav1725
    @ajitsinghyadav1725 8 місяців тому +1

    Google is that hard to have SEO friendly web/website app in Flutter 😢

    • @nandoflorestan
      @nandoflorestan 6 місяців тому +3

      Someone did not watch the video... Click this: 12:42

  • @chaitanyadamarsingu9925
    @chaitanyadamarsingu9925 9 місяців тому +2

    Wanted a real-time comparison of the renderers rather than just slides team... Flutter

    • @kevmoo
      @kevmoo 9 місяців тому +5

      Real time is tricky running both samples at the same time. We'll have a better demo...in my next talk!

    • @chaitanyadamarasingu979
      @chaitanyadamarasingu979 9 місяців тому +1

      @@kevmoo OMG i got a response. 🥰🥰🥰🥰🥰
      probaly using two laptops of same config running same project with different renderers
      Thanks Man🤗🤗🤗🤗
      I'm a flutter Developer from India

    • @chaitanyadamarasingu979
      @chaitanyadamarasingu979 9 місяців тому

      @@kevmoo Actual we can run two different renderers within VS CODE two instance of chrome
      Big Fan pf your work and FLUTTER💌

    • @zzzyyyxxx
      @zzzyyyxxx 8 місяців тому

      ​@@kevmoowhere/when is your next talk, Google IO?

    • @kevmoo
      @kevmoo 8 місяців тому

      @@zzzyyyxxx that's the plan!

  • @yakkalabour
    @yakkalabour 7 місяців тому

    Flutter to go to the moon

  • @rolf8064
    @rolf8064 9 місяців тому +3

    Oh yeah, that's going to be great for ads, unblockable as hell and event more intruse.

    • @zzzyyyxxx
      @zzzyyyxxx 8 місяців тому

      Ads in web apps? This is for web apps not websites, no one expects to use WASM for apps.

  • @leonardorignanese5902
    @leonardorignanese5902 8 місяців тому +1

    is SEO gonna be totally ignored now?

    • @hamm8934
      @hamm8934 8 місяців тому +2

      Why would you need seo for a web app? Web app =/= website

    • @ajitsinghyadav1725
      @ajitsinghyadav1725 8 місяців тому

      People want one solution so that one app is created in Flutter and can be used as a Website SEO, mobile app etc..

    • @kyleaustin2728
      @kyleaustin2728 6 місяців тому

      @@hamm8934 Thumbs down.

    • @hamm8934
      @hamm8934 6 місяців тому

      @@kyleaustin2728 have an seo landing page and redirect to the web app dashboard. People really over optimize for this problem imo. But youre welcome to have a different perspective :)

    • @hamm8934
      @hamm8934 6 місяців тому

      @@kyleaustin2728 just add a landing page with SEO and then put redirect to the webapp. Google Drive doesn't have SEO indexing for their apps. Why would any other webapp need SEO indexing?

  • @chaitanyadamarsingu9925
    @chaitanyadamarsingu9925 9 місяців тому

    If not html renderer forget about mid-range mobile devices from opening flutter web app

    • @_____case
      @_____case 9 місяців тому +2

      Wouldn't the CanvasKit implementations consume fewer resources? 🤔

    • @anonymously-rex-cole
      @anonymously-rex-cole 7 місяців тому

      ​@@_____casetrue i tried it for the first time and was shock from the performance

  • @AMar4enko
    @AMar4enko 8 місяців тому +1

    Every single time I hear Flutter pitch speech stuffed with benchmarks putting Flutter in a spotlight, I swear, every single time I immediately follow one of the example app links and end up with a janky app with terrible UX. Oh, let me try this text input field - keyboard appears and app yeets you to another dimension and text input is nowhere to be seen. I'm talking about Material 3 app mentioned on the slides. I love Dart lang, I'd really love using it for web development, but this whole "Flutter for web" narrative is just one big lie.