-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Request for Official Support for Golang and Rust Interoperability in Dart #59610
Request for Official Support for Golang and Rust Interoperability in Dart #59610
Comments
Summary: User requests official Dart support for interoperability with Go and Rust, citing their popularity and performance benefits for expanding Dart's capabilities. |
Rust interop is already supported by a 3rd party package: https://pub.dev/packages/flutter_rust_bridge I think @dcharkes investigated the possibility of Golang interop for a GSoC project. We don't really have the resources to put the same time and effort into Go interop that we do into C/ObjC/Java etc. But there's nothing stopping the community from building a Go version of flutter_rust_bridge. |
Can we hope for a simple page like this one for Rust? https://dart.dev/interop/c-interop
This is not accurate, macOS supports Swift too. I can't imagine C be only available for Linux only... I'm glad to hear @dcharkes is working on Golang interop, the easy parallelism of this language without the complexity of Rust would be great. |
+1 to what @liamappelbe said. Rust and Go are community efforts. 👍 For Go there's also a project started already: https://github.com/csnewman/flutter-go-bridge I'm @csnewman would be happy with contributions! |
@stephane-archer You can make a PR for the documentation page here: https://github.com/dart-lang/site-www/tree/main/src/content/interop |
The Dart language currently supports interoperability with C, Swift, Kotlin, and JavaScript, as detailed in the official documentation. However, there is no mention of official support for two increasingly popular and performance-focused languages: Golang and Rust.
Given the widespread adoption of Golang and Rust in systems programming and server-side development, adding official support for these languages could greatly enhance Dart's ecosystem. Both languages are known for their efficiency and strong community backing, making them valuable complements to Dart's existing capabilities.
Official support for Golang and Rust interop would solidify Dart's position as a modern, versatile language capable of bridging the gap between high-level application development and low-level systems programming. Can we hope to see this added to the roadmap?
The text was updated successfully, but these errors were encountered: