Skip to content

Commit e232a90

Browse files
author
Egor
authored
Merge pull request #27 from medegor44/Mono_remove_multithreadingtests
Mono remove multithreading tests
2 parents c1a5749 + 2b65510 commit e232a90

File tree

2 files changed

+5
-149
lines changed

2 files changed

+5
-149
lines changed

Tests/EmbeddedScripts.CSharp.MonoEvaluator.Tests/MonoCSharpRunnerMultithreadingTests.cs

Lines changed: 0 additions & 145 deletions
This file was deleted.

readme.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@ Script engine | Windows | Linux | macOS | Android | iOS
2020
-------------------|---------|--------|-------|----------|----
2121
Roslyn (scripting) | ✔ | ✔ | ? | ✔¹ | ✔
2222
Roslyn (compiler) | ✔ | ✔ | ? | ✔ | ✔
23-
Mono Evaluator | ✔ | ✔ | ? | ? | ?
23+
Mono Evaluator | ✔ | ✔ | ? | ? | ?
2424
Jint | ✔ | ✔ | ? | ? | ?
2525
ChakraCore³ | ✔ | ✔ | ? | ? | ?
2626
ClearScriptV8³ | ✔ | ✔ | ? | ? | ?
2727
Moonsharp | ✔ | ✔ | ? | ? | ?
2828
Pythonnet² | ✔ | ✔ | ? | ❌ | ❌
2929

3030
1. Android requires to install additional nuget package `System.Runtime.Loader`.
31-
2. Pythonnet requres installed python in your environment. To setup runner you have to provide path to python library via `PythonNetRunner.PythonDll` static field wich is synonim to PythonDLL static field of pythonnet library. More on pythonnet specifity you can read in [docs](https://github.com/pythonnet/pythonnet/wiki).
31+
2. Pythonnet requires installed python in your environment. To setup runner you have to provide path to python library via `PythonNetRunner.PythonDll` static field wich is synonim to PythonDLL static field of pythonnet library. More on pythonnet specifity you can read in [docs](https://github.com/pythonnet/pythonnet/wiki).
3232
3. You have to install native binaries for you operating system. We recommend these binaries for [ChakraCore](https://www.nuget.org/packages?q=JavaScriptEngineSwitcher.ChakraCore.Native) and these for [ClearScriptV8](https://www.nuget.org/packages?q=Microsoft.ClearScript.V8.Native).
33+
4. Mono was added as an experimental engine for comparision with Roslyn scripting. It is not thread safe and doesn't provide all features of C#. We don't recommend it for use in production code.
3334

3435
Basic usage
3536
-----------
@@ -95,7 +96,7 @@ Roslyn (scripting) | One-to-one
9596
Roslyn (compiler) | One-to-one
9697
Mono Evaluator | One-to-one
9798
Jint | Check Jint's [readme](https://github.com/sebastienros/jint/blob/main/README.md#net-interoperability)
98-
ChakraCore | `string` <-> `string`, `bool` <-> `boolean`, numeric types -> `number` and `number` -> `double` or `int`. You can't marshal JS function to `Action` or `Func` at this moment
99+
ChakraCore | `string` `string`, `bool` `boolean`, numeric types `number` and `number` `double` or `int`. You can't marshal JS function to `Action` or `Func` at this moment
99100
ClearScriptV8 | [From .NET to JS](https://microsoft.github.io/ClearScript/Reference/html/M_Microsoft_ClearScript_ScriptEngine_AddHostObject.htm), [From JS to .NET](https://microsoft.github.io/ClearScript/Reference/html/M_Microsoft_ClearScript_ScriptEngine_Evaluate_2.htm)
100101
Moonsharp | Check Moonsharp's [docs](https://www.moonsharp.org/mapping.html)
101102
Pythonnet | Check pythonnet [website](http://pythonnet.github.io/)
@@ -106,7 +107,7 @@ Engine | Thread safety
106107
-------------------|--------------
107108
Roslyn (scripting) | ✔
108109
Roslyn (compiler) | ✔
109-
Mono Evaluator |
110+
Mono Evaluator |
110111
Jint | ❌
111112
ChakraCore | ✔
112113
ClearScriptV8 | ✔

0 commit comments

Comments
 (0)