Shared memory multi-threaded graphics rendering in Flutter

Hi

I have a large in memory data set.

I have (virtual) slices of my data set, that I render into several Flutter canvases.

I then place those canvases into a Flutter stack pane which is shown on screen.

I would really like to render each slice in parallel (only the final step with the stack pane needs to have any sequentiality).

I have messed around with isolates but they are too slow as using isolates involve too much copying of data to and from isolates.

I was wondering if anyone has suggestions/references for how to do this within Flutter, or using some Flutter package, or even dropping down to C code.

I believe there is some platform level work being done within Flutter on shared memory multi-threading?

And please this is a technical question, not a question about whether this is good practice in Flutter, the philosophy of Flutter, etc.

My target is desktops as for other platforms I can fall back to isolates if need be.

thanks

gym

Yeah, this is a stupid design choice someone made for dart to be multiprocessing only(maybe because it was initially made for web). You cannot have shared memory for multiple threads as multi threading is not supported in Dart your best bet is to do the multithreading in some other language and communicate with dart.