Hi Oren,
> In general, we would love to have better performance here. The Jint integration is fairly well scoped to the SingleRun class and its friends. > A PR with V8.Net integration would be awesome.
I completely agree. V8 integration is must-have. Actually, my developments are opening new horizons for RavenDB and make it really shine. They are based on the intensive use of JS-indexes (as well as static cyclic dependencies between them which we discussed some time ago, I have progressed a lot since then). A performant JS engine is necessary to turn them into reality.
I can try to integrate V8.Net, but I have limited resources (I work on my project alone currently) and will need assistance in this.
I want to start with just running V8.Net as an assembly.
I have started with this and got stuck in the very beginning as described below (database backup is attached: Dummy.cycleV8 and Dummy.cycleV8_2 indexes with different lists of assemblies). Do you have any ideas on how to make it work?
First, I have assembled only V8.Net and got the following error messages:
Index execution error:
Failed to execute mapping function on Dummy/1-A. Exception: System.DllNotFoundException: Unable to load shared library 'V8_Net_Proxy_x64' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libV8_Net_Proxy_x64: cannot open shared object file: No such file or directory
In the terminal of RavenDB.Server:
ravendb> Could not locate the required V8 native libraries. V8.NET is running in the 'x64' mode. Some areas to check: 1. Did you download the DLLs from a ZIP file? If so you may have to unblock the file. On Windows, you must open the file properties of the zip file and 'Unblock' it BEFORE extracting the files.
2. Review the searched paths in the nested errors below and make sure the desired path is accessible to the application for loading the required libraries under the current program's security context.
Paths searched: ...
IndexCompilationException: Cannot load NuGet package 'v8.Full.redist.v142_clang-x64' version '7.9.317.23' from 'https://api.nuget.org/v3/index.json'., IndexDefinitionProperty='', ProblematicText='' ---> System.BadImageFormatException: Bad IL format. The format of the file '/media/installed/RavenDB/5.1.9/Server/Packages/NuGet/v8.Full.redist.v142_clang-x64.7.9.317.23/lib/Debug/icui18n.dll' is invalid.