~/talk

Combining Flutter with Protobuf to build a powerful mobile app

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [api-design]
links:none on file
slides:none on file

Demonstrates using Protobuf with Flutter and native code via the Protobuf compiler and method channels, with a Rust test server sending 10k–1M records; claims modest CPU/time gains but large bandwidth and storage savings. Shows generated Dart/Java code parsing bytes into objects, local-file tests where parsing 100,000 items takes 76 ms with Protobuf versus 195 ms for JSON, and file sizes roughly 4 MB vs 6 MB; method-channel transfer of 100,000 items measures 37 ms versus 195 ms using Pigeon.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:39JSON limitations in mobile apps
  3. 8:38What is Protocol Buffers
  4. 10:45How Protobuf works
  5. 12:52Protobuf schema and data types
  6. 15:43Benefits of Protobuf
  7. 17:48Performance comparison with JSON
  8. 21:20Protobuf for server-client communication
  9. 21:42Protobuf for Flutter-native communication
  10. 23:53Protobuf for local data storage
  11. 26:44When to use Protobuf over JSON
  12. 27:47When not to use Protobuf
  13. 28:50Next steps and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.