to embed Dart in a native application ◦ Server ▪ Communicate between Dart and C++ ▪ Expose Websockets server ◦ Client ▪ Show real-time updates of the controller's state ▪ Control information through Websockets ▪ UI using Canvas
accessible ◦ Have to modify code to access source ◦ Easier to just use a snapshot ▪ Also not intuitive to get at • Core library has to be imported into the isolate ◦ Dart_LibraryImportLibrary
◦ Links string names to native functions • Provide linkage between Dart object and C/C++ object ◦ Handle creation/destruction • Write Dart code that wraps the native code • Respond to calls from Dart
◦ Simplify the embedding experience • Handle common cases ◦ Allow easy loading of built in libraries ◦ Provide a simple way to link in native functions • Create a binding library