Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Dart and Native Client integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dart and Native Client integration" Watch "Dart and Native Client integration" New topic
Author

Dart and Native Client integration

Fernando Carvalho
Greenhorn

Joined: Feb 13, 2013
Posts: 7
Is there plans to integrate Dart and Native Client?
How can I put an Dart application to communicate with a Native Client module, in the same way I do in JavaScript?
Chris Buckett
author
Greenhorn

Joined: Feb 12, 2013
Posts: 16
    
    5

Hi,

According to this document: https://developers.google.com/native-client/devguide/coding/message-system, native client uses postMessage to communicate with JavaScript.

PostMessage is one of the ways (described in Dart in Action), that Dart itself communicates with JavaScript, so the same principal would also apply to NaCli.


Chris.
- my DartWatch blog
Sign up for the - Dart Weekly Newsletter
- Read my book Dart in Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dart and Native Client integration