Add Dart's interop story to the documentation #4563
Labels
co.discussion
Community discussion on a new feature or change to an existing feature
dev.interop
Relates to use of native code as part of your Dart app
e3-weeks
Complete in < 4 weeks of normal, not dedicated, work
from.team
Reported by Dash docs team member
meta.evaluation
Need to consider what changes if any are needed
p3-low
Valid but not urgent concern. Resolve when possible. Encourage upvote to surface.
st.triage.ltw
Indicates Lead Tech Writer has triaged
Milestone
This issue is so I remember I want to do this, but it's not tied to any release or development work.
@sigmundch described Dart's interop story in a meeting the other day, and I think it would be nice to have a little paragraph or two about it somewhere adjacent to all the interop docs.
The progression of Dart's interop history and the goals it's moving towards are interesting in their own right, but I especially liked how it's also kind of a microcosm of the whole Dart story, i.e. that Dart started with a very specific use case in mind, but we're constantly widening that scope, becoming more applicable to more developers, and always evolving to be as sustainable and well-rounded as possible.
I don't have an idea about exactly what I want to say yet, but these are some notes:
dart:io
give access to the file system,dart:html
for access to the browser, etc.ffi
came along with goals like: instead of having to write our own network layer as a Dart library, why not just grab a C++ library that does networking, and expose it to Dart using ffidart:html
will go away because of a similar interop developmentI like the idea making a top-level interop page, where we can introduce Dart+interop generally, that umbrellas all the existing, more specific interop content. For example, in the left nav, if "Interoperability" was an actual page and not just a nav heading.
(Where it goes and the "umbrella topic page" concept will make more sense with the upcoming site restructure)
Linking to #5439
The text was updated successfully, but these errors were encountered: