top of page

Simon Binder
Creator of Drift, engineer working on PowerSync
Simon is a software engineer with passion for databases and developer tooling in the Dart ecosystem. He maintains and contributes to widely-used open source libraries like Drift, helping developers build reliable and scalable applications. Recently, he joined the PowerSync team, building tools for offline-first architectures and real-time data synchronization.
Adopting native assets for cross-platform FFI plugins
Interop with dart:ffi promises to make native libraries libraries available to apps without writing full-blown Flutter plugins or dealing with platform-specific build configurations. However, dart:ffi itself offers no mechanism to actually bundle native libraries with apps, requiring complex workarounds. Dart’s upcoming native assets feature fills this gap. This talk gives an overview of that feature and how it can be adopted by packages today. Key takeaways from this talk are:
- An overview of the new @Native interop style used to call C from Dart.
- How build hooks can be used to easily compile native code across platforms.
- Which steps package authors can take to adopt native assets without breaking users.
- Features to give users more control over their native dependencies.
The talk introduces necessary concepts, but assumes basic familiarity with dart:ffi and writing Flutter plugins.
bottom of page