Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dart and Native Client integration

 
Fernando Carvalho
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
5
Chrome Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic