Discussion:
[dart-misc] Briding Dart & Rust?
'Luke Muller' via Dart Misc
2016-12-04 15:36:11 UTC
Permalink
Hi!

I'd like to use my Rust code for generallyactions, but for interacting with
the web, I'd like to use Dart.

Is there a way I could do this?
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Mark Nordine
2016-12-06 20:49:23 UTC
Permalink
This is far from being stable, but Rust has an experimental backend for
compiling to WebAssembly. You could then load your Rust code as a module
and call into it from Dart.

https://www.google.ca/search?q=rust+webassembly&oq=rust+webass&aqs=chrome.1.69i57j0.5668j0j7&sourceid=chrome&ie=UTF-8
Post by 'Luke Muller' via Dart Misc
Hi!
I'd like to use my Rust code for generallyactions, but for interacting
with the web, I'd like to use Dart.
Is there a way I could do this?
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Mark Nordine
2016-12-06 20:54:51 UTC
Permalink
Rust also has an emscripten backend.

https://www.google.com/search?q=rust+emscripten&oq=rust+ems&aqs=chrome.0.0j69i57j0l4.3119j0j7&sourceid=chrome&ie=UTF-8
Post by Mark Nordine
This is far from being stable, but Rust has an experimental backend for
compiling to WebAssembly. You could then load your Rust code as a module
and call into it from Dart.
https://www.google.ca/search?q=rust+webassembly&oq=rust+webass&aqs=chrome.1.69i57j0.5668j0j7&sourceid=chrome&ie=UTF-8
Post by 'Luke Muller' via Dart Misc
Hi!
I'd like to use my Rust code for generallyactions, but for interacting
with the web, I'd like to use Dart.
Is there a way I could do this?
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...