Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

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 Article


New Post: Strong Name

If you don't release official binaries, who's responsible for the ClearScript packages on NuGet?

View Article


New Post: Strong Name

All NuGet packages are provided and maintained by their owners. Please see the package page for owner information.

View Article

New Post: Problem Calling VBScript Function

We're currently on track to post the ClearScript 5.3.11 source code later this week.

View Article

New 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 Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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
Browsing all 2297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>