Isolates (Technique of the Week)

preview_player
Показать описание


#Flutter #TechniqueOfTheWeek

Speaker: Eric Windmill
Products Mentioned: Flutter
Рекомендации по теме
Комментарии
Автор

WOah! Technique of The week, a very lovely initiative by the Team! Hoping to see a lot more useful stuff here!!

philosophia
Автор

Should have mentioned compute at the end.

CoIin
Автор

This is super important when you're dealing with AI and images!

Used this type of function for object detection of foods in a diet app I made. App wasn't great, but learning about this was very useful!

dcdales
Автор

from what i remember isolates where implemented different than what they describe in the video, this seams legit easy!!

muhammadrasul
Автор

Great respect to you for helping people you are honest and good person

IsaacCreighton-tx
Автор

Really useful video, can't wait for the next "Technique of the week"!

TheManuz
Автор

You can use it with background elements, such as apps that allow users to listen to sound in the background while continuing to use the app.

adil_elkhallouki
Автор

As much as I love the idea of this. I feel like this should have been implemented into flutter itself behind the scenes.

As soon as I try to implement Isolates, with either this code or with flutter_isolate, I run into one problem after the next, such as:
Unhandled Exception: Invalid argument(s): Illegal argument in isolate message: object is unsendable - Library:'dart:async' Class
NoSuchMethodError: No top-level getter 'xxx' declared.
Null check operator used on a null value
Unhandled Exception: type 'Null' is not a subtype of type 'int' in type cast

Even with top level functions, @pragma('vm:entry-point') and everything else - it just doesn't like my set up project.

Seems too rough around the edges to use at the moment. Would be much nicer to just use it like we use the "async" word.

bkerk
Автор

Very interesting. I didn't know about isolates. Will be researching them a bit more now. Thanks for this!

tropicarls
Автор

dart is so simple its funny sometimes. thank you for not making us deal with annoying things to do this.

orihpt
Автор

I’m gonna like this segment. I can already tell.

wembleyleach
Автор

Interesting series, I hope we see more of it!

mikopiko
Автор

This is what I needed 👍, thank you Flutter 🥳

RazyNovian
Автор

This is freaking awesome and life changing

zeb_lala
Автор

The final statement could benefit from some further explanation (outside the scope of this original video):
"Although the callback doesn't have arguments, it captures the variables it needs because it's a closure."

An explanation of "closures" specifically would be helpful, but also why I would need to be concerned with the "capturing of variables" in the first place.

Until you mentioned, "although [it] doesn't have callbacks, " I hadn't even considered why that would be relevant—closure or not.

dam.s
Автор

Technique of the week:
It will be really useful after Widget of the week. ❤

PratikButani
Автор

Hello! @flutterdev Just wondering if there might be a chance you could PLEASE do a intro to flutter series?
I know that one was done 2 years ago but you can see my notes there - it could use some updating to say the least... in fact, to be blunt, it needs to be redone entirely, if you ask me. Again, see my notes on that playlist ( on the 3rd or maybe fourth video) long story short please please please please please do an intro to flutter series!

epicwinpro
Автор

Hi, can you please make a video on how we can collaborate on Firebase with Flutter! I am working on an app with my team and facing some problems.

aestheticwildcat
Автор

Yo that's actually huge. more, I need more!

the_dude_josh
Автор

What a difference between Isolate.run() and an existing compute() function? Because it works not only in Flutter but in pure Dart too?

sergey_molchanovsky