Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

ffi w/ webassembly #114

Answered by dcharkes
unicomp21 asked this question in Q&A
Jul 15, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Could you elaborate a bit more? I'm assuming you want to compile a native library to WebAssembly and use that on the web with the dart2js compiler?

You would use https://dart.dev/web/js-interop to talk to a native library compiled to WebAssembly, not dart:ffi+package:ffi.

We would want to like explore creating a library that would target both JS-Interop and Dart FFI, but we haven't started on that yet.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@unicomp21
Comment options

@dcharkes
Comment options

Answer selected by dcharkes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants