Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
To add a bit to this: There is certainly room to reduce overhead of platform views and I'd expect things to get better over time. With #37789 landed we have a very rudimentary platform view support on macOS without thread merging. There is undergoing effort to migrate iOS embedded to use the embedder API, which will also means that thread merging on iOS will no longer be necessary. Using IOSurfaces for overlays down the line would also be cheaper than full CAMetalLayer. I have a prototype for platform view clipping that uses CAShapeLayer instead of rasterising the clip shape (which currently happens on iOS).
I've started writing my own Flutter shell here that runs on all desktop and mobile systems Flutter supports without any platform-specific code paths. The trick is that I'm delegating the responsibility for platform-specific code to a generic library (winit in this case) and so keep it out of my codebase.
I've filed a ticket here!