ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Isolates and multithreading in Flutter (The Boring Flutter Development Show, Ep. 30)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ส.ค. 2024
  • In this episode of the Boring Show, Filip is joined by Andrew. Follow along as they dive into isolates and multithreading in Dart.
    Helpful Resources:
    The Isolate class → goo.gle/2lWxULg
    Andrew's video & Kathy's article about Isolates → goo.gle/2lqoGXa
    Hacker News App on GitHub→ goo.gle/2MXeNeR
    Watch more episodes of the Boring Show here → goo.gle/Boring...
    Get started with Flutter → flutter.dev
    Learn more about the Dart Language → goo.gle/2YF9OCi
    Try a Flutter codelab → goo.gl/d3fHPo
    Join the conversation → goo.gl/68oUnb
    Subscribe to the Flutter channel → goo.gle/Flutter
    #Flutter #BoringShow #AppDevelopment

ความคิดเห็น • 128

  • @zoulock
    @zoulock 4 ปีที่แล้ว +73

    I can understand why you'd speed it up, but given that TH-cam already provided that option, it seems a bit unnecessary since there may be people that like to watch it at normal speed

  • @IbrahimRasel
    @IbrahimRasel 4 ปีที่แล้ว +79

    Please do an episode with Background Services.

    • @LSambo02
      @LSambo02 4 ปีที่แล้ว +5

      I'd really like that!!!

    • @truonghoang812
      @truonghoang812 3 ปีที่แล้ว

      yes. It is definitely necessary.

    • @saurabhlahoti821
      @saurabhlahoti821 3 ปีที่แล้ว +1

      Yeah.. A video on communication between flutter and android foreground services.

  • @scifarer
    @scifarer 4 ปีที่แล้ว +86

    I prefer it the way it was. There are speed controls in the TH-cam player, so speeding it up for us is not really necessary.

    • @khurramrizvi153
      @khurramrizvi153 4 ปีที่แล้ว

      Haha, Yes!

    • @G4MR1
      @G4MR1 4 ปีที่แล้ว

      i say before they give up the idea, try it at 10% instead of 20%. 20% is very obvious. if 10% doesn't feel natural just go back to what it was imho

    • @rasyidcode3142
      @rasyidcode3142 4 ปีที่แล้ว

      make it x0.75 and you get the same speed as it was

    • @oatscurry
      @oatscurry 4 ปีที่แล้ว

      @@rasyidcode3142 Well almost. Because .75*1.2 = .9, not 1.0...

    • @sbrugby1
      @sbrugby1 4 ปีที่แล้ว

      if you're going to do anything cut out silent segments with jump cuts or something. Check out something like python pip package autoscrub if you need it automated. Artificially increasing the speed when u have already speed controls built into youtube simply punishes anyone who wanted to watch it at normal speed. In this video, for instance, the audio/framerate are mangled if I want to approximate normal playback speed by setting the control to 75% playback to counteract your +20%.

  • @kaivalpatel3990
    @kaivalpatel3990 3 ปีที่แล้ว +2

    We love those un cuts and it is good to see the reality when doing and learning some new stuff, how debugging and everything revolves

  • @nucleartux
    @nucleartux 4 ปีที่แล้ว +4

    I'm already waiting for next episode! Thank you, guys!

  • @0dyss3us51
    @0dyss3us51 4 ปีที่แล้ว +3

    8:00 to 10:00 is exactly one of the reasons why programming is fun! Good video guys!

  • @dimayurchenko4859
    @dimayurchenko4859 2 ปีที่แล้ว +1

    Very relaxing to watch and learn. Thank you for the format! :) "Boring" is great :)

  • @sthex4640
    @sthex4640 9 หลายเดือนก่อน

    So much fun with dart forced formatting in most IDEs - he types the compute() how he likes it (and what is most readable) and then saving at 9:25 the IDE force-reformats to garbage (but hey, it saved 2 LOC, that's almost like a win).
    Also gotta say solving the problem of "thread" shared memory access by not allowing any shared memory is like solving the problem of your door squeaking by burning down your house. Pure genius.

  • @sofaGiraffe
    @sofaGiraffe 4 ปีที่แล้ว +1

    Definitely put out a part two where you continue implementing! The process is the best part of this show, keep making awesome, boring content :)

  • @jessegoplen
    @jessegoplen 4 ปีที่แล้ว +2

    This is really great, speed is good. Thanks for everything you do, it is an exciting time to make apps thanks to Flutter.

  • @superslayerguy
    @superslayerguy 4 ปีที่แล้ว +1

    Very very boring. Thank you for the useful information. I love Flutter 💙💜💙💜

  • @allansrc
    @allansrc 4 ปีที่แล้ว +1

    Guys, I have working on a FuchsiaOS, I'm lovin' !
    I'm so excited to see its official release.

  • @AntonAverin
    @AntonAverin 4 ปีที่แล้ว +5

    It's a lot of fumbling around for such a fundamentals thing as off main thread worker. Is there already a video where you are more certain on how this should be implemented?

  • @_AnikSaha
    @_AnikSaha 5 วันที่ผ่านมา

    Super informative. Thank you

  • @TusharOjha
    @TusharOjha 4 ปีที่แล้ว +2

    This series is super awesome!
    I learned a lot, thanks!

  • @davidanderson6448
    @davidanderson6448 4 ปีที่แล้ว +1

    I like the fact that you sped up the episode. I think it allows for more info in a shorter amount of time. But, aren't you also sort of duplicating youtube's built in ability? Not sure that it's super needed.
    And I also really like this topic! I think it's conceptually complex enough that it's really helpful to have a video of it opposed to a article walk-through. Looking forward to part 2.

  • @geared_rider
    @geared_rider 4 ปีที่แล้ว +1

    I am n sure how to tell you, but I needed this really bad. Other sources were kind of hard to understand. You did a great job explaining. Also, the speed is good!

  • @colourhairskullyrics
    @colourhairskullyrics 4 ปีที่แล้ว

    Haha, just put the video on 1.5x before you guys announced the sped up state! Can't wait to finish watching and put this to use :)

  • @Roms8313
    @Roms8313 4 ปีที่แล้ว +1

    definitely needs a part 2 😉👍

    • @filiphracek
      @filiphracek 4 ปีที่แล้ว

      Great to hear! We actually already shot part 2, it's in the works to be released next. :)

  • @KaranChecker
    @KaranChecker 4 ปีที่แล้ว

    Thanks for hearing my feedback. Appreciate you trying to do a faster "Boring Show". :D

  • @jrmoore05
    @jrmoore05 4 ปีที่แล้ว

    Love the addition of the speed!

  • @Nom4d3
    @Nom4d3 4 ปีที่แล้ว

    I've been watching Boring Show at 1.5x speed since the first episode. Now I have to watch at 1.25x :P

  • @harry356
    @harry356 ปีที่แล้ว

    A lot of the time I am programming I feel so inadequate because I don't know stuff or need to look it up. It is a relieve to see two of my teachers discussing coding and code quality and struggling with unfamiliar code. I do not feel so bad anymore lol. I whish I could see more live programming (and not tutorials where everything was tried out before).

  • @hassansharara4378
    @hassansharara4378 2 ปีที่แล้ว

    very good episode we are looking for more development Information about Flutter so please keep going up

  • @Valerianagit
    @Valerianagit 4 ปีที่แล้ว

    Nice!! Exactly what I was wondering about Wednesday. Thanks guys!!

  • @Akshatgiri
    @Akshatgiri 4 ปีที่แล้ว

    I play all episodes at 3x anyways. It would probably be best to not speed up the videos on your end, for the people who want to watch it at the original speed. Thanks for the great tutorial guys :)

  • @Alex-fs6kz
    @Alex-fs6kz 4 ปีที่แล้ว

    20% faster is 20% better than before. Thanks!

  • @josecoverlessons
    @josecoverlessons 4 ปีที่แล้ว

    How I watch the show: I watch at 1.9x speed, using video speed controller extension for chrome. And I use the right key to skip over moments which don't seem very important. I like having the choice to control the speed.

  • @PrabaseKC
    @PrabaseKC 4 ปีที่แล้ว

    Hi guys, thanks for all the helpful information. I have a quick suggestion though. Can you please include more stuff in video description like definition or summary of what you will be talking about and specially the application of these information in real world development cases.

  • @vivekkumardhakad3410
    @vivekkumardhakad3410 4 ปีที่แล้ว

    Am I the only to notice that fuchsia os logo??
    flutter is gonna be huge 😍

    • @gabrielmoreyra3365
      @gabrielmoreyra3365 4 ปีที่แล้ว

      @@aadarshpatel3274 look at Filip's MacBook..

  • @TimRijckaert
    @TimRijckaert 4 ปีที่แล้ว

    I like the 20% extra speed. However I do agree with the other comments, you have this feature build into TH-cam.
    I have a request for a future episode: How to deal with a horizontal list of items that snap into place like with Android's SnapHelper. Even with items that do not have equal widths?

  • @davincifpv3983
    @davincifpv3983 4 ปีที่แล้ว +3

    We can already speed it in the settings

  • @snoofer1055
    @snoofer1055 4 ปีที่แล้ว

    Well ... 100% are perfect. And I have no problem when the length is longer then one hour. If it too slow or longer people can use the yt controls to speed up. 😀

  • @petroczizoltan6524
    @petroczizoltan6524 4 ปีที่แล้ว +18

    It was good at 100% speed. The 20% faster made it worse in my opinion

    • @kenchang3456
      @kenchang3456 4 ปีที่แล้ว +1

      I usually listen at 1.5 but think you should record at 1 and let the viewer control the speed. Thanks for the videos 👍

  • @makeiteasy6255
    @makeiteasy6255 2 ปีที่แล้ว

    Love Flutter

  • @DakshGargas
    @DakshGargas 2 ปีที่แล้ว

    Creating Isolates -> @26:14 onwards

  • @pedromiranda3148
    @pedromiranda3148 2 ปีที่แล้ว +1

    Is there a link to the example code you guys are doing? Would be great to understand better all the app

    • @flutterdev
      @flutterdev  2 ปีที่แล้ว

      Hi, Pedro! Flutter has several samples to help with your coding journey. The links I have provided below will direct you to our Flutter samples, including JSON code which was featured in this video 😄
      Flutter Samples: flutter.github.io/samples/#
      JSON Example: flutter.github.io/samples/jsonexample.html

  • @axrorxojayodgorov3416
    @axrorxojayodgorov3416 2 ปีที่แล้ว

    Hey have a question, which instead of every time create new isolate when we call computer method maybe use some isolate pool ? in dart/flutter we have like so api ?

  • @akshaybengani
    @akshaybengani 2 ปีที่แล้ว

    I have to make multiple network calls in flutter and none of them will bring some data back to me, they are just for sending some data continuously somewhere and don't require async/await, they are also not a priority task even if they fail or comes error I don't care.
    I need to know if I don't use async await before a network call, how does it work in the flutter event loop does it wait and reduce UI performance
    Should I run them in separate Isolate threads or the event loop will process these events without dropping performance,

  • @fxn
    @fxn 3 ปีที่แล้ว

    An isolate literally spawns a new operating system thread? Or is the model as in the BEAM where you have a pool of schedulers that manage (isolated) Erlang processes?

  • @basharal-ghada3242
    @basharal-ghada3242 ปีที่แล้ว

    Is there an episode on web workers in the dart:html and how to use?

  • @gregfletcher2360
    @gregfletcher2360 4 ปีที่แล้ว

    Keep the speed as normal. We can change the speed if we want. I don't want to slow down the video speed to keep up on more technical parts

  • @faizkazi2789
    @faizkazi2789 4 ปีที่แล้ว +5

    can you guys help with automatically scrolling to a card in a listview where the condition is satisfied or by index?

  • @NextLevelCode
    @NextLevelCode 4 ปีที่แล้ว

    I think you should leave it normal speed. After all people can speed up the video in the TH-cam player and that works well. But if someone wants to slow it back down to normal speed it doesn’t work because the frames were thrown away in the rendering phase.

  • @codersingh851
    @codersingh851 4 ปีที่แล้ว

    It is at good pace 👍🏻

  • @SmashHighlights
    @SmashHighlights 4 ปีที่แล้ว

    I much prefer regular speed as I tend to just watch these to relax. When I need to learn something I watch at 1.5x / 1.75x via YT controls.

  • @NikhilSaini38
    @NikhilSaini38 4 ปีที่แล้ว +5

    I always listen to tutorial at 1.25x or 1.5x anyways, so better that i didnt have to touch the playback settings.

  • @bsangappa1577
    @bsangappa1577 4 ปีที่แล้ว

    Nice video.. informative

  • @kleberapsilva_
    @kleberapsilva_ 4 ปีที่แล้ว

    Amazing, I love Flutter

  • @jakubkracina1583
    @jakubkracina1583 4 ปีที่แล้ว

    Multithreading easy is fun and! ... awesome :D

  • @StevenNess
    @StevenNess 4 ปีที่แล้ว +5

    The speeding up makes it weird, please reconsider

  • @felipeperrotta4677
    @felipeperrotta4677 4 ปีที่แล้ว

    plz say about create only with flutter, A interface for ios and Android at same app(1 for android/1 for ios).

  • @chordfunc3072
    @chordfunc3072 4 ปีที่แล้ว

    It was better the way it was... If its going to slow I just use the youtube player controlls for toggling the speed.

  • @HaneefAnsari
    @HaneefAnsari 4 ปีที่แล้ว

    Looking forward UI and animation series.

  • @bitcoinisyourfriend3742
    @bitcoinisyourfriend3742 2 ปีที่แล้ว

    where can I buy T-shirts with Dart logo and its bold text on it?

  • @LUKAS3675
    @LUKAS3675 4 ปีที่แล้ว

    Flutter rocks and you guys are awesome!
    is it really accelerated 20% ? I don't feel it... so it's a good thing I guess

  • @blipblap614
    @blipblap614 4 ปีที่แล้ว

    16:38 @redbrogdon Indeed, the spec makes it a NullThrownError. According to lrn, that's just a choice ("BREAKING CHANGE! NullPointerException removed.," dart-misc, 2012).
    #tbt

  • @josecoverlessons
    @josecoverlessons 3 ปีที่แล้ว

    TH-cam provides the ability to speed up the video, given that. I’d leave it up to the user.
    I like it being sped up btw

  • @matze6091
    @matze6091 4 ปีที่แล้ว +1

    I think making the show faster yourself is not a good idea. For those people who want to watch faster, they can just use the TH-cam Feature and those who want to watch a little bit slower can just watch in normal speed.

  • @seccat
    @seccat 4 ปีที่แล้ว

    I always wait for your videos in 1.25 speed

  • @halgurt
    @halgurt 4 ปีที่แล้ว

    It is within the legal limit.

  • @marchino3577
    @marchino3577 4 ปีที่แล้ว

    How can I call a stream function automatically in a flutter project without using StreamBuilder?

  • @jackeycoopers435
    @jackeycoopers435 3 ปีที่แล้ว

    Hi, what is the name of the font appears in IDEA at 1:43, thanks!

  • @renjunliu2571
    @renjunliu2571 4 ปีที่แล้ว

    Speed is great

  • @dariuszbacinski2664
    @dariuszbacinski2664 4 ปีที่แล้ว

    We can increase video speed on youtube, no need to increase it in post-processing.

  • @deepakvishwakarma2563
    @deepakvishwakarma2563 4 ปีที่แล้ว +1

    hahaha! i already watch on 1.25-1.5 speed :-D now i need to calculate to find proper speed for me.

  • @blipblap614
    @blipblap614 4 ปีที่แล้ว

    The whiteboard though

  • @_maxt
    @_maxt 3 ปีที่แล้ว

    + x2. But don't take it personally, I watch most of the stuff at x2. I'm just way too impatient. ;-)

  • @ashaanoop2551
    @ashaanoop2551 ปีที่แล้ว

    Where can I get the source code?

  • @krawieck
    @krawieck 4 ปีที่แล้ว

    I don't mind 120% speed, I thought it wouldn't be good, but It's actually not very noticable

  • @flukysaharat977
    @flukysaharat977 4 ปีที่แล้ว

    How to get asset file on isolate?

  • @gretathunberg5072
    @gretathunberg5072 4 ปีที่แล้ว

    Could you prepare movie how connect apps with firebase . Thanks

  • @shakirkasmani
    @shakirkasmani 4 ปีที่แล้ว

    How to build flutter apps with Dependency Injection?

  • @twh4526
    @twh4526 4 ปีที่แล้ว

    no problem @ +20% for me

  • @kaivalpatel3990
    @kaivalpatel3990 3 ปีที่แล้ว

    Which font they are using?

  • @blank-vw2sb
    @blank-vw2sb 4 ปีที่แล้ว +1

    This speeding up is AWESOME. I LOVE IT
    Proud to be the first comment!

  • @BooleanDev
    @BooleanDev 3 ปีที่แล้ว

    is there a version of the video that isnt sped up? The audio is just bad

  • @anjoantony1886
    @anjoantony1886 2 ปีที่แล้ว

    can you make a Boring Show of Dependency Injection ...

  • @tbm98
    @tbm98 4 ปีที่แล้ว

    thanks.

  • @sexyeur
    @sexyeur 4 ปีที่แล้ว

    I like it. Haha You guys are awesome, but you already knew that... 🥴

  • @bm830810
    @bm830810 4 ปีที่แล้ว

    I usually watch at 1.25x or 1.5x and English is not my native language, BUT, I prefer to control the speed myself, I don't know what you did but the quality is dropped noticeably, also if in some place I want normal speed 0.75x is basically unusable.

  • @ajisetyapratama1876
    @ajisetyapratama1876 4 ปีที่แล้ว

    Nice

  • @HolarMusic
    @HolarMusic 4 ปีที่แล้ว

    The audio sounds really weird when it's sped up

  • @jayvasant114
    @jayvasant114 4 ปีที่แล้ว

    High playback speed == more content within 60 mins.

  • @brucelee7245
    @brucelee7245 4 ปีที่แล้ว

    Where can I get the code of these tutorials

  • @chinmayrelkar8486
    @chinmayrelkar8486 4 ปีที่แล้ว

    💙

  • @JimGomes
    @JimGomes 4 ปีที่แล้ว

    Please post the original speed video. When learning new concepts, slow is good. These concepts are too complex to speed through. What would be better is to index your videos for easy linking and referencing to specific sub-topics.

  • @etiennetheodore
    @etiennetheodore 4 ปีที่แล้ว +1

    Wtf XD 20% speed lol..

  • @truongsinhtran-nguyen7129
    @truongsinhtran-nguyen7129 4 ปีที่แล้ว

    instead of watching with x2, now i'm watching with x1.5 😆

  • @vintlin
    @vintlin 4 ปีที่แล้ว

    A New!

  • @Wallawallawallawalla
    @Wallawallawallawalla 4 ปีที่แล้ว

    The new speed feels good, but going from regular speed to 20% faster felt jarring.

  • @olgck
    @olgck 3 ปีที่แล้ว

    "easy is fun and"

  • @archit7606
    @archit7606 4 ปีที่แล้ว

    Google Is always The Best

  • @itsmeaayush
    @itsmeaayush 4 ปีที่แล้ว

    slow is good

  • @hooshyarmohammed7094
    @hooshyarmohammed7094 4 ปีที่แล้ว

    I prefer the boring one, this causes head trauma.

  • @bubblezuu
    @bubblezuu 4 ปีที่แล้ว

    Don't worry about the speed at which u bore us. Thx to youtube's 1.75x speed

  • @rasyidcode3142
    @rasyidcode3142 4 ปีที่แล้ว

    normal speed is ok

  • @irhas6555
    @irhas6555 4 ปีที่แล้ว

    The music is too faster

  • @ameen_was_here4958
    @ameen_was_here4958 4 ปีที่แล้ว

    Instead of increasing the speed please reduce the duration of the episodes

  • @bonmec101
    @bonmec101 4 ปีที่แล้ว

    Watching at 0.75x speed