Dart Isolates - Flutter Basics

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 81

  • @IgorSilveira
    @IgorSilveira 4 роки тому +14

    I'm not even developing anything in Flutter right now and I still sat through this entire video 😅 Awesome tutorial man!

    • @tadaspetra
      @tadaspetra  4 роки тому +1

      haha glad you enjoyed it igor :)

  • @LeagueRandomPlayer
    @LeagueRandomPlayer 4 роки тому +7

    Dude are you reading my mind? its like "oh man i have to learn isolates" and BOOM video, THANKS MAN!!!!

    • @tadaspetra
      @tadaspetra  4 роки тому +2

      Haha glad I could help

    • @antogalli
      @antogalli 2 роки тому

      Google listen to you! .... Always!

  • @MokRockets
    @MokRockets 3 роки тому +4

    Basics basics basics, appreciate the simplicity. Thank you!

    • @tadaspetra
      @tadaspetra  3 роки тому

      That’s the goal. Thank you!

  • @hawkybae
    @hawkybae 4 роки тому +2

    Appreciate you taking the time to cover this topic. Cheers!

    • @tadaspetra
      @tadaspetra  4 роки тому +1

      I appreciate you watching 😊

  • @FilledStacks
    @FilledStacks 3 роки тому +3

    Dope! Quick, to the point and accurate. Subbed!

    • @tadaspetra
      @tadaspetra  3 роки тому +1

      Wow thank you FilledStacks!

  • @faizandarwesh7867
    @faizandarwesh7867 Рік тому

    That's awesome. Your explanation is so precise and simple.

  • @PaulBrassington_flutter_expert
    @PaulBrassington_flutter_expert 2 роки тому +1

    Thanks from a Java developer who used threads and now using dart/flutter

  • @ivanyoed
    @ivanyoed 3 роки тому +1

    Hey Tadas. Thank you for your tutorials, they're very well made and are always a great support when looking to perform new and better practices in our applications.

    • @tadaspetra
      @tadaspetra  3 роки тому

      Thank you so much! I really appreciate it 😊

  • @hoekbrwr
    @hoekbrwr 4 роки тому +3

    At least I learned now it exists! Might come in handy some time.

  • @calanm7880
    @calanm7880 2 роки тому

    Tadas, the YT algorithm is fantastically kind in recommending some videos I just need to watch: this is awesome cos it’s a subject I’ve shy-Ed away from, and you made it friendly and approachable 👍

    • @tadaspetra
      @tadaspetra  2 роки тому

      Thank you all mighty algorithm for showing my videos 😂

  • @garoono
    @garoono 3 роки тому

    ur vdos tadas so amazing and simple to learn and exploring new topics makes it very intersting , and in the beginning little bit other than code appreciate ;]

  • @purushottampk4530
    @purushottampk4530 4 роки тому +3

    Excellent 👍 Love from india

  • @lpfboyka561
    @lpfboyka561 2 роки тому

    finally!! the best explaination and example i found for isolate... thanks bro

  • @yashraut19
    @yashraut19 4 роки тому +1

    Great i heard about isolates for the first time ! And as always nice tutorial

    • @tadaspetra
      @tadaspetra  4 роки тому

      Awesome! It is good to know they exist in case you ever need it 😊

  • @blank-vw2sb
    @blank-vw2sb 4 роки тому +2

    Everyone reading this comment,
    If you haven't left a comment, DO it.
    UA-cam algorithm looks for video engagement. Help this awesome video reach the people who would appreciate it.

  • @hafeez-rana
    @hafeez-rana Рік тому

    nice explanation. thanks Tadas!

  • @tibfox
    @tibfox 3 роки тому

    Greeeeeat explaination! Thank you so much :) I wanna execute some custom logic which takes much time including multiple rest api calls inside an isolate so I can use the app while this is running. You opened my mind and now I will hop and read more about the send/receive ports

  • @rebarius
    @rebarius 4 роки тому +1

    Finally someone explained It easily in code ❤️ thx :)

  • @aytunch
    @aytunch 4 роки тому +1

    Great video. Keep more coming.

  • @harysuryanto
    @harysuryanto 2 роки тому

    Very good explanation

  • @SEGVeenstra
    @SEGVeenstra 3 роки тому

    Thank you, just what I needed!

  • @etion1999
    @etion1999 2 роки тому

    Thank you, Tadas!

  • @blank-vw2sb
    @blank-vw2sb 4 роки тому +1

    All I can say is it's awesome.
    ❤️

  • @hamzaiqbal725
    @hamzaiqbal725 4 роки тому +3

    if you put your compress/decompress of large images or video editing logic in isolate you will feel good amount of difference in app's performance.

    • @tadaspetra
      @tadaspetra  4 роки тому

      Yes definitely. That’s a great use for it

  • @NaraAIApp
    @NaraAIApp 3 роки тому

    Thanks Man, your explanation is best. REALLY REALLY REALLY HELPFUL.

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

    Thanks. From the official docs it seemed like out of my scope concept. 😅

  • @abraiyan7984
    @abraiyan7984 3 роки тому +1

    Things no one is taking about. Thanks man.

  • @abdulsalamaljamal7768
    @abdulsalamaljamal7768 3 роки тому

    clear and simple thanks man

  • @YouhanaSheriff
    @YouhanaSheriff 3 роки тому

    u really r a great instructor

  • @jalalhannan3243
    @jalalhannan3243 4 роки тому +1

    This is great!

  • @danumichael2143
    @danumichael2143 3 роки тому +1

    Great video. Thanks a lot

  • @Amandeep-kq5bz
    @Amandeep-kq5bz 4 роки тому +1

    Awesome video

  • @victorozigbu1594
    @victorozigbu1594 11 місяців тому

    Heyy Tadas, thank you for the explanation, please can you also explain how to use the flutter blue plus package 🙏

  • @FantasyOR
    @FantasyOR 3 роки тому

    Hi. how do you call "runCompute" function? do you use "await" or not?

  • @DartMitai
    @DartMitai 4 роки тому +1

    thanks, what are your plans for the next videos?
    maybe you can show shelf+angulardart+postgresql+gRPC. Or is it too much?

    • @tadaspetra
      @tadaspetra  4 роки тому

      Those are some big topics. But soon I am planning to expand to not just flutter but coding overall

    • @DartMitai
      @DartMitai 4 роки тому +1

      @@tadaspetra this is a really big topic, but also a unique one, because 99% of pseudo dart programmers read about this combination and run away in fear, it is more difficult than shooting content under a carbon copy about flutter

  • @SuperHansburger93
    @SuperHansburger93 4 роки тому +1

    Can you use Isolate to do asynchronous rendering (like React's concurrent mode)?
    Like if I have a very large list to render with very complex items, can I prerender them in an Isolate to keep my UI responsive in the meantime?

    • @tadaspetra
      @tadaspetra  4 роки тому

      Damn. That's a good question. I feel like it should be possible, but I have not worked with this. Some one else has commented on the video saying they used it for blurhash which may be related. I am not sure

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

    the best

  • @akshay6019
    @akshay6019 4 роки тому +2

    I once used isolate to generate blurhash.

  • @rodrigogaxiola9146
    @rodrigogaxiola9146 4 роки тому +1

    Good!

  • @jrheisler
    @jrheisler 4 роки тому +1

    Cool, I assume it would be very important if you were doing some server side dart. A lot simpler than I thought. Thanks!

    • @tadaspetra
      @tadaspetra  4 роки тому +1

      Would definitely be important for that, and glad to help 😊

  • @akshaybengani
    @akshaybengani 3 роки тому

    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,

  • @ITPROFESSIONAL
    @ITPROFESSIONAL 4 роки тому

    made please another video for explaining recieveport and sendport and controlling the isolate. thanks

  • @LMrc534
    @LMrc534 2 роки тому

    do I go through an isolate to run a foreground task?

  • @techstudio7331
    @techstudio7331 4 роки тому +1

    Thankyou AC 😎,
    Maybe ffi in easy manner just like this, next time?

  • @user-uq7zx5nc3t
    @user-uq7zx5nc3t Рік тому

    Hey Tads, how ya doin?
    My flutter app is kind of awesome, and works great on my M1 ipad.
    Unfortunately, in a browser, it really sucks. Lots of IndexDB access, because I built it for offline first.
    Store users data collections as json and byte lists locally.

  • @edinliu9556
    @edinliu9556 3 роки тому

    Why isolateFunction can't be async function?

  • @kashishkhullar9542
    @kashishkhullar9542 3 роки тому

    Hey man. Thanks for this video. I am working on an app that makes REST calls in in separate isolate and I want it to continue when the app goes to background. But what I wanna achieve is that when the app comes back to foreground or I open the app again, then I do not want the isolate to run. I want to terminate it and before closing the app, I want to restart it. Is there a way to get the instance of the isolate or some kind of id or identifier to get access to an already running isolate and then send messages to it or kill it. And if there is what is the best way to save such id or instance of the isolate.
    Appreciate your help.

    • @tadaspetra
      @tadaspetra  3 роки тому

      Not too sure about this. I haven’t dived deep into isolates since this video. Maybe you can ask in the discord link in description

  • @amircodes
    @amircodes 2 роки тому

    Sir, could you please create a video on the future of Flutter for new developers that wants to switch to. Companies are talking about Kotlin KMM. But why Google associate this huge resource and effort to bold flutter more and more. It doesn't make sense if google would abandon Flutter. I hope you see this comment.

  • @talatkuyuk6556
    @talatkuyuk6556 3 роки тому +1

    How do you know that kind of edge features, really I aploud you.

    • @tadaspetra
      @tadaspetra  3 роки тому

      Haha I do a lot of research before these 😊

  • @rebarius
    @rebarius 2 роки тому

    Isolate isn't working for web 😭

  • @mruduladdipalli5417
    @mruduladdipalli5417 3 роки тому

    Go to video for Isolates

  • @xamael1989
    @xamael1989 2 роки тому

    Thanks but can you show this in general context without using flutter

    • @tadaspetra
      @tadaspetra  2 роки тому +1

      Most languages have a different approach than this. But I might be able to make a video about general multi threading

  • @haidermajid2935
    @haidermajid2935 3 роки тому

    Speak you me please my friend