New Post: Problem Calling VBScript Function
That's great news. I was beginning to think there may be a problem with my system or I was going crazy. Any time frame on getting the fix sent out?
View ArticleNew Post: Strong Name
If you don't release official binaries, who's responsible for the ClearScript packages on NuGet?
View ArticleNew Post: Strong Name
All NuGet packages are provided and maintained by their owners. Please see the package page for owner information.
View ArticleNew Post: Problem Calling VBScript Function
We're currently on track to post the ClearScript 5.3.11 source code later this week.
View ArticleNew Post: Benchmarks
What is GlobalMembers support? When I ran the test below, I only see a small performance increase after disabling global members. Also, I compared it with Javascript.NET and the differences is huge....
View ArticleNew Post: Benchmarks
I notice the bottleneck is herevar uniqueName = documentNameManager.GetUniqueName(documentName, "Script Document"); It is generating a new name even the same script is being executed twice. If I...
View ArticleNew Post: Benchmarks
Hi ravetam! GlobalMembers is an old Windows script engine feature that we added to V8ScriptEngine for API compatibility. It allows you to expose a host object so that its members (rather than the...
View ArticleNew Post: Benchmarks
Thanks for the explanation on GlobalMembers. I just realize that the script still works even no unique name is generated (Using a same document name). Is there any pitfall or anything that I should be...
View ArticleNew Post: Benchmarks
Heh, it looks like we were investigating simultaneously :) It is generating a new name even the same script is being executed twice. Right. When you call a method that takes the code as a string,...
View ArticleNew Post: Benchmarks
I just realize that the script still works even no unique name is generated (Using a same document name). Is there any pitfall or anything that I should be aware of if i plan on using that? Only that...
View ArticleNew Post: Benchmarks
Heh, it looks like we were investigating simultaneously :) Yeah, love the extension method and ability to add host type (enum, static class) in Clearscript. Just trying to make it work. Only that you...
View ArticleNew Post: Benchmarks
Good point but maybe you can consider only turning on unique script name generation when this flag is present? V8ScriptEngineFlags.EnableDebugging We'd prefer to keep the unique names for now, as...
View ArticleNew Post: Passing javascript objects to c# native code
I'm trying to create a command-prompt with a functionality like the console.log in my engine. public class Konsoll { public void log(dynamic o) { Console.WriteLine("Type:" + o.GetType());...
View ArticleNew Post: Passing javascript objects to c# native code
I found a solution. The V8ScriptItem is a DynamicObject - so this works: public class Konsoll { private void logg(int indent, dynamic o) { foreach (string egenskap in o.GetDynamicMemberNames()) {...
View ArticleNew Post: Passing javascript objects to c# native code
Glad that you found a solution!V8ScriptItem is just a concrete implementation of DynamicObject. It doesn't have any additional members that would be useful to the host. The idea is that you either use...
View ArticleNew Post: using JSON.parse in a script
Hi again! ClearScript 5.3.11 will support JScript 5.8 language enhancements, including the JSON object, but you'll have to enable them explicitly via a new flag. That's because these enhancements come...
View ArticleNew Post: Passing javascript objects to c# native code
Thanks for the warning. I wanted to know just how expensive the dynamic statement was - so I ran a test. The Console.Write was 3-4 times as fast, but to be fair, I added a third way "console.logs"...
View ArticleNew Post: Passing javascript objects to c# native code
So the "static" console.logs alternative to dynamic only slightly cheaper. Right, but that's after you minimized your usage of the dynamic infrastructure. In your original implementation you declared...
View ArticleNew Post: What is correct option to use ClearScript.V8 as NuGet package?
Hi guys, Currently i faced with exception on MVC 4 app: Cannot load V8 interface assembly; verify that the following files are installed with your application: ClearScriptV8-32.dll,...
View ArticleNew Post: Calling VBScript function by dispatchId
Hi, There is legacy application that wrote on delphi. It uses with a VB Script Engine. The delphi code call VBScript function by dispatchId that cached during init script engine. Is there a way in...
View Article