Attachment Mono vs Google V8?

We want to add scripts to the project.

We hesitate which script mechanism to use. I used the V8 in the past and it is impressive. I also used Mono, but only in toy projects or prototypes.

Limitations:

  • execution speed.
  • simple integration.
  • should work on windows.
  • 64-bit support.
  • compiles in Visual Studio.

Which engine is best suited?

(Is there a tutorial for compiling Mono under win64 with Visual Studio? Are there packages containing lib and dll files?)

+3
source share
5 answers

Mono MSVS, ( .DLL, ). . mkbundle, .NET DLL . , Mono # ( ) , .NET - , IronPython.

+2

Lua. , .

+7

, ChaiScript (, ). , ++. 64 MSVC, g++ MinGW. .

, . script, , . , , .

+4

V8. , , Mono ( Java ).

However ... if you want to use a scripting language, you can also take a look at Lua. It is cool to implement, very fast, very small, quite easy to program and has a very liberal license. If speed is important there, LuaJIT, which is still under development, but with caution, will easily beat C for numerical programming.

+2
source

Python is also good, Boost.Python .

0
source

Source: https://habr.com/ru/post/1796014/


All Articles