Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

☂️ Help Dart developers navigate Dart's platform interop support #5475

Open
5 of 32 tasks
parlough opened this issue Jan 18, 2024 · 1 comment
Open
5 of 32 tasks
Labels
dev.interop Relates to use of native code as part of your Dart app e4-months Can complete in >= 1 month of normal, not dedicated, work meta.umbrella Collects multiple related issues p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged

Comments

@parlough
Copy link
Member

parlough commented Jan 18, 2024

Overview

This is an overarching project that will continue throughout the year and beyond, as we aim to help Dart developers learn about, understand, use, and build on Dart's evolving platform interoperability support. Over the past few years, Dart's interop story has completely changed, and we're long past the world of using the embedder API or native VM extensions. The interop story for web was more foundational for Dart but is now entering its next generation.

As Dart (and Flutter) target many platforms, this development has occurred in many different forms, in many different places, and across almost a decade, but we're nearing a point where it's all starting to come together. Now we have to help Dart developers actually understand how it comes together and how to take advantage of that in their own projects. A few savvy community members have been following along or picking up the pieces along the way, but now every Dart developer should be able to benefit.

Goal and structure

To be filled in...

Subtasks

The following is an incomplete and in progress list, but groups some related tasks and issues. In no way do each of these have to be resolved as part of this, but they're included here to not get lost or help inspire ideas.

Introduce developers to interoperability and help them determine next steps

Teach developers how to interop with native platforms

Help developers publish packages and plugins that use native interop

Teach developers how to use and/or migrate to Dart's new JS static interop

Document the Wasm platform and any relevant interop functionality

Provide some guidelines and best practices for developers

Enable developers to adapt their app to different platforms

Help developers understand differences between platforms

@parlough parlough added p2-medium Necessary but not urgent concern. Resolve when possible. e4-months Can complete in >= 1 month of normal, not dedicated, work dev.interop Relates to use of native code as part of your Dart app meta.umbrella Collects multiple related issues labels Jan 18, 2024
@parlough parlough changed the title ☂️ Help Dart developers navigate Dart's platform interoperability support ☂️ Help Dart developers navigate Dart's platform interop support Jan 18, 2024
@atsansone atsansone added the st.triage.ltw Indicates Lead Tech Writer has triaged label Jun 12, 2024
@andycall
Copy link

andycall commented Sep 6, 2024

Teach developers how to interop with native platforms

I’m writing a series of articles to teach Dart developers how to use FFI effectively, aimed at helping those without much native development experience.

Memory Management in Dart FFI
How to Debug Your C/C++ Codes in Flutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev.interop Relates to use of native code as part of your Dart app e4-months Can complete in >= 1 month of normal, not dedicated, work meta.umbrella Collects multiple related issues p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged
Projects
None yet
Development

No branches or pull requests

3 participants