Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.38k stars 88 forks source link

Isolates simple sample #283

Closed ianffcs closed 7 months ago

ianffcs commented 8 months ago

@cgrand / @dupuchba I think the example spawns only one Isolate everytime the button is Pressed, I was thinking on making a more advanced example using buttons to control the Isolates but I think this is the simplest one. Do you folks think that it makes sense to build it here or to add to a new example?

ianffcs commented 8 months ago

@dupuchba, I would like to know if this sample is to much simple or not, tell me :D and let’s think on how to evolve to a more advanced one if it’ll be to another folder

image
dupuchba commented 8 months ago

@ianffcs IMO it's a good example for simple cases. Basically understanding Isolates

cgrand commented 8 months ago

Idea: have two buttons "busy loop on event loop" "busy loop on isolate" so that we can see the effect of using an isolate