The CS-Script allows hosting/executing the scripts by any of the three supported compilers.
The CS-Script offers identical developer experience for all these three compilers, but the compilers themselves are not entirely identical.
This challenge has been answered in the latest version, and the main hosting interface can be accessed using CSScript.Evaluator
.
CSScript.Evaluator
.CSScript.Evaluator
exposes the scripting functionality, which is common for all supported compilers. The following table explains certain runtime differences between the compilers.
Features | CodeDom | Mono | Roslyn |
---|---|---|---|
Performance (remote) | good | very good | poor |
Performance (local) | good/excellent | very good | very good |
Debugging | yes | no | yes |
C# 6 (and above) | yes4 | no | yes |
CS-Script directives | yes | no | no |
Unloading support | full | partial | partial |