Uint8List (Technique of the Week)

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 41

  • @flutterdev
    @flutterdev  Месяц назад +9

    Watch more Technique of the Week → goo.gle/FlutterTechnique

  • @CM-pn4mf
    @CM-pn4mf Месяц назад +54

    Please add primitive types (u)int8-16-32! Working in industry requiring high throughput byte manipulation and using `[index]` on lists is slow.

    • @reidosreis4k
      @reidosreis4k Месяц назад +5

      Having unsigned integers as a type would be one of the best improvements to the dart language they could add

    • @CM-pn4mf
      @CM-pn4mf Месяц назад

      @@reidosreis4k Absolutely, it would open up optimizations around the entire Flutter/Dart ecosystem.

    • @Dogeek
      @Dogeek Месяц назад +22

      It exists already in the `dart:typed_data` core package. You even have stuff like Int32x4List (which is a primitive for a 32 bit 4 lane list, useful for working with RGBA truecolor images for instance). There are Uint8List, Uint16List, Uint32List, Int8List, Int16List, Int32List, Uint8ClampedList (same as Uint8List, except that it clamps negatives to 0 and greater than 255 to 255)

    • @CM-pn4mf
      @CM-pn4mf Месяц назад +4

      @@Dogeek Dart does not have primitive unsigned integers. It has typed data buffers that are objects which map to arrays natively. I frequently need to work with one value at a time and using the `[index]` returns unmasked values. It slows down high throughput operations as you have to mask the value at each point.

    • @reidosreis4k
      @reidosreis4k Месяц назад

      @@Dogeek I'm talking about a dedicated unsigned integer type. I know that we have an Uint8List (that's what the video is about), but there is zero way to signify that an integer can't be negative in Dart without creating a wrapper type

  • @andrewzuo86
    @andrewzuo86 Месяц назад +31

    Oh, so that's what Uint8List does. I always wondered.

  • @7mada89
    @7mada89 Месяц назад +7

    One of the best series

  • @minseokjeong1881
    @minseokjeong1881 Месяц назад +1

    The media illustrate is so good. GOOD JOB GOOGLE TEAM APPRECOATED IT❤

  • @omzer97
    @omzer97 Месяц назад +27

    Am I the only one who feels the energy in these videos is getting down?

    • @AliKhatib100
      @AliKhatib100 Месяц назад +4

      It's like they're posting to save their job rather than trying to educate/explain to us

  • @hanibachi5228
    @hanibachi5228 Месяц назад +1

    We need more videos like this

  • @MyInspireSphere
    @MyInspireSphere Месяц назад +1

    Focused and to the point! ❤❤

  • @ajaykotiyal427
    @ajaykotiyal427 Месяц назад

    So... 300 and 44 are same ?
    your way of explaination is tooo good.

  • @dreamx82
    @dreamx82 Месяц назад +2

    Thank you, Flutter team.

  • @AbhishekKumar-bx8gp
    @AbhishekKumar-bx8gp Месяц назад +6

    Flutter is great 🎉

  • @tracertrailparnamirim
    @tracertrailparnamirim Месяц назад +2

    Amazing content, really amazing, beautiful and wonderful. Thank you for sharing the video. Enjoy watching. I will give you a thumbs up and hope you have much success. Greetings from Brazil BR

  • @AzamKhan-bb7xg
    @AzamKhan-bb7xg Месяц назад

    It’s the best for QRCode Generator when fetching from an API

  • @metra-2020
    @metra-2020 Месяц назад

    Good we are using from long time

  • @vlad1slove1
    @vlad1slove1 Месяц назад

    awesome explanation!!!

  • @devfordevs
    @devfordevs Месяц назад +2

    will it cause data loss?

  • @joeydoesnotsharefood
    @joeydoesnotsharefood Месяц назад

    Could you filter the "Flutter Widget of the Week" playlist to contain only videos about widgets? I watch this playlist to learn about widgets not a techniques. Some videos, including this one, are in both "Flutter Widget of the Week" and "Flutter Technique of the Week". It's confusing.

  • @sumitpanwar9695
    @sumitpanwar9695 Месяц назад

    i had to learn all of this, the hard way.

  • @cncm-official
    @cncm-official Месяц назад

    Any Updates For Flutter Production Ready Desktop Application Development?

  • @eldadario7339
    @eldadario7339 Месяц назад

    Isso é fantástico

  • @ex_script7091
    @ex_script7091 Месяц назад

    Então basicamente serve para compactar ao converter listas e arquivos para uma sequência numérica menor que a anterior?

  • @junveld4830
    @junveld4830 Месяц назад +2

    please, return previous dictor

  • @azimjondev
    @azimjondev Месяц назад

    I have a question. Has Flutter been discontinued by Google? How promising is the future of Flutter? Will Flutter not be as discredited as PHP in the next 10 years? I'm an iOS developer and interested in learning flutter and these questions are bothering me.

    • @Ainigma
      @Ainigma Месяц назад

      flutter will not die for at least 10 years because big companies use flutter for their flagship products.

  • @karuppasamykaruppasamy4686
    @karuppasamykaruppasamy4686 Месяц назад

    How to use REST API and integrated

  • @aouadicharaf1038
    @aouadicharaf1038 Месяц назад +1

    ❤❤❤

  • @DL-gg3sb
    @DL-gg3sb Месяц назад

    Like this!

  • @juniordev4190
    @juniordev4190 Месяц назад

    🎉🎉

  • @AshleyLewis95
    @AshleyLewis95 Месяц назад

    ochen kruto raskazivaesh

  • @hazemelwazery3830
    @hazemelwazery3830 Месяц назад

    ❤🎉

  • @HermisLasty
    @HermisLasty Месяц назад

    يا لبيين شن يدير الدبيبة هني 😂😂😂😂😂

  • @VictorOnFlutter
    @VictorOnFlutter Месяц назад

    up

  • @yauhenko
    @yauhenko Месяц назад

    соу сэпилявых