Pros / cons of inline scripts?

There are several scenarios for .NET applications (for example, this post ).

My question is: what are the pros and cons of using each of them?

Examples include (but not limited to)

  • Powerhell
  • IronPython
  • Lua
  • Javascript

I’m trying to decide which script tool to use in scientific applications to allow experts to interact with complex models so that they can create new algorithms.

+3
source share
2 answers

I have no experience with Powershell attachments, but I'm going to suggest that it is very similar to IronPython as it is ultimately deeply related to the CLR.

So:

PowerShell / IronPython

, - CLR.

, , . , CLR , .

Lua/Javascript

, - API P/Invoke API. ( COM Interop)

Pro: , . Con: P/Invoke, ..

Lua Javascript:

Lua , Javascript, Javascript FP, .

+2

, javascript . ... , , c = a + b, a, b, c .

+1

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


All Articles