将Dart嵌入到应用程序中 [英] Embedding Dart into application

查看:349
本文介绍了将Dart嵌入到应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



基本上,我们只是尝试使用Dart作为脚本语言来编写高性能模拟应用程序。使用Dart代替Lua



我发现了旧的资源,但我听说过时了 - 并没有真正找到任何教程如何实际利用



找到资源:
https://github.com/google/embed-dart-vm



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

解决方案

我找不到任何有用的文章,只有此讨论线程在Dart组中。不过,在 Dart的源代码



查看 DartHost 在这些项目中的实施 - 这应该给你有一些想法如何做。


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

解决方案

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.

这篇关于将Dart嵌入到应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆