File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 773773 - " Read-only"
774774 - " Unchangeable"
775775
776+ - term : " Interop"
777+ short_description : |-
778+ The ability for Dart code to interact with code written in other languages.
779+ long_description : |-
780+ **Interop** (short for _interoperability_) refers to Dart's ability to
781+ communicate and work with code written in other programming languages.
782+
783+ In Dart, interop is commonly used to:
784+
785+ - Call native code written in languages like C, C++, or Rust.
786+ - Interact with platform-specific APIs.
787+ - Reuse existing libraries that aren't written in Dart.
788+
789+ Dart provides different interop mechanisms
790+ depending on the platform and use case.
791+ For example, Dart applications can use the
792+ Foreign Function Interface (FFI) to call native libraries, or
793+ platform-specific interop layers when running on Flutter or the web.
794+ related_links :
795+ - text : " C interop using dart:ffi"
796+ link : " /interop/c-interop"
797+ type : " doc"
798+ - text : " Hooks"
799+ link : " /tools/hooks"
800+ type : " doc"
801+ labels :
802+ - " interop"
803+ - " platform"
804+ alternate :
805+ - " Interoperability"
806+
776807- term : " Irrefutable pattern"
777808 short_description : |-
778809 A pattern that always matches.
You can’t perform that action at this time.
0 commit comments