This project has moved and is read-only. For the latest updates, please go here.

Supporting multiple platforms (DNX)

Dec 4, 2015 at 10:37 AM
With .NET going cross platform, what are the thoughts of hosting the V8 runtime on different environments (Mono/CoreCLR)?

How are you interoping between managed/unmanaged code? If your using pinvoke, we are in good shape. If you are using C++/CLI, then you'd had to make the C++ cross platform, and develop C wrappers so it can be pinvoked.

Thoughts?
Coordinator
Dec 4, 2015 at 5:26 PM
Hello!

ClearScript's V8 interface uses C++/CLI, so it would remain Windows-only even if we added support for alternate .NET runtimes. Rewriting the V8 interface in cross-platform C++ is something we've considered but currently are not planning to do.

If you're looking for a cross-platform interface between .NET and V8, have a look at projects such as VroomJS and V8.NET.

Good luck!