Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embedding Dart into application

Tags:

c

embed

dart

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

like image 536
triple Avatar asked Jun 10 '13 04:06

triple


People also ask

Is Dart good for web apps?

Similarly to JavaScript, Dart can be used for both mobile and web development. Dart became popular along with the Flutter framework for developing cross-platform mobile apps. Dart can be also used for developing web apps, but is actually used for this purpose very rarely.

Can I use DART for web development?

Dart supports the web as one of its core platforms. Dart-to-JavaScript compilers are available both for development (with a quick edit-refresh cycle) and for production (with a focus on code size and speed).

Can Flutter be used for embedded systems?

Flutter's platform channels can put a single Dart interface on native code for mobile, web, desktop, or your embedded platform.


1 Answers

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.

like image 95
Zdeslav Vojkovic Avatar answered Oct 21 '22 08:10

Zdeslav Vojkovic