The great thread merge
Dive deep into Flutter's thread merge, a fundamental shift in its engine design aimed at enhancing native interoperability. Craig breaks down the roles of the UI and Raster threads, introduces the native platform thread, and explains how integrating Dart code onto the main platform thread streamlines native API calls. Learn about the benefits for plugin authors, the evolution of API surfaces, and how this change simplifies complex widget interactions for a smoother development experience.
Chapters:
0:00 - Introduction
0:54 - UI and Raster threads explained
2:01- Problems with platform channels
3:25 - Migration phases
5:25 - Example
Resources:
Dart isolates → https://goo.gle/4mNlCNC
Concurrency in Flutter → https://goo.gle/42qPqbv
Watch more Decoding Flutter → https://goo.gle/DecodingFlutter
Subscribe to Flutter → http://goo.gle/FlutterYT
#Flutter
Speaker: Craig Labenz
Products Mentioned: Flutter, Dart
Flutter
Welcome to the official Flutter YouTube channel. Subscribe to stay up to date with best practices about the Flutter SDK. See real code examples, and watch engineers from around the world putting Flutter to work! Subscribe to stay connected → http://bit....