ClearScript 7.1 Linux support on JavaScript #234
-
I was looking at release notes. V8ScriptEngine engine = null;
using (engine = new V8ScriptEngine())
{
engine.AddHostObject("parser", this);
}
engine.Execute(codeStmt.Code);
// ...
var context = new { obj = obj, property = property, value = value };
engine.AddHostObject("context", context);
string evaluated = engine.Evaluate((string)functionArguments).ToString().Trim(); Description of
not sure what is the difference. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @cilerler, Sorry about the lack of clarity in the release notes. ClearScript on non-Windows platforms fully supports ClearScript on Windows also supports a number of technologies that aren't available on Linux or macOS. These are mostly legacy capabilities such as COM interoperability. Good luck! |
Beta Was this translation helpful? Give feedback.
Hi @cilerler,
Sorry about the lack of clarity in the release notes.
ClearScript on non-Windows platforms fully supports
V8ScriptEngine
. It does not supportJScriptEngine
orVBScriptEngine
, as those are dependent on native closed-source components that are only available on Windows and long since deprecated. The good news is thatV8ScriptEngine
far exceedsJScriptEngine
in JavaScript performance and standards support. The bad news is thatVBScriptEngine
is likely to remain Windows-only.ClearScript on Windows also supports a number of technologies that aren't available on Linux or macOS. These are mostly legacy capabilities such as COM interoperability.
Good luck!