Embedding Dart into application

2019-01-25 07:55发布

问题:

I am just experimenting , but want to use Dart as a scripting language for a high performance simulation application I've been working on.(think games)

Basically use Dart in lieu of Lua

I have found old resources, but I have heard the are out of date - and haven't really found any tutorials on how to actually utilize them.

found resources: https://github.com/google/embed-dart-vm

https://github.com/google/embed-dart-vm/tree/master/src

回答1:

I couldn't find any good article on this, only this discussion thread in Dart group. However, there are working demos in the Dart's source code.

Take a look at DartHost implementation in some of these projects - this should give you some idea about how to do it.



标签: c embed dart