This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
jQuery in Action, 2nd edition
 
subject: Dart and Native Client integration
 
Similar Threads
What do you think about the GWT's future?
Dart -- where to start?
Which one is the best Framework for creating 3D Games in Dart?
Integrating Dart applications with Desktop applications
When Dart will be available by Default in Google Chrome?