This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dart and Native Client integration
 
Similar Threads
Which one is the best Framework for creating 3D Games in Dart?
Dart -- where to start?
Integrating Dart applications with Desktop applications
What do you think about the GWT's future?
When Dart will be available by Default in Google Chrome?