Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Unassigned: Doesn't Run on Linux [111]

0
0
I recently installed Mono and tried to get ClearScript to run. It doesn't. The CLR ends up looking for "kernel32," which is a native DLL and not available on Mono.

For other libraries, the prescribed fix for this is to remove P/Invoke calls. I don't know how feasible that is here. I would like to see ClearScript running on Linux.
Comments: Unfortunately ClearScript depends on a number of Windows-only components. The first of these are JScript and VBScript, legacy script engines that aren't likely to be ported to Linux. Then there's the .NET Framework, as ClearScript doesn't support Mono or .NET Core. Finally there's ClearScript's V8 embedding layer, which combines native and managed code in "mixed-mode" assemblies that are only supported on Windows. We have no plan to reimplement ClearScript's V8 host, but we'd like to support both .NET Core and Chakra Core in the future. That combination should eventually enable Linux support, but we're still very far from making it a reality. In the meantime, consider a Mono-friendly alternative such as [V8.NET](https://v8dotnet.codeplex.com/) or [VroomJS](https://github.com/fogzot/vroomjs).

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images