Is it possible to embed Dart in a Java application?

I would like to use Dart as a lang script in my existing Java application. Is it possible to execute Dart code from a Java application, and if so, what would be the penalty for running a Dart script?

+3
source share
1 answer

Perhaps this is possible (technically). But it will not be easy. AFAIK, Dart embedding is a bleeding edge activity, and I can't say anything about embedding in Java.

Dart runtime is implemented in C, so you need to solve the problem of embedding Dart in classic C code, and then the C ↔ Java problem.

, , : Dart ..., .

+3

All Articles