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

New Post: Performance...

Hi ClearScript Answers below:ClearScript wrote: How are you measuring performance? For example, are you looking at the average time to process a request, average time within evaluateScript(), etc.? We...

View Article



New Post: Performance...

Hi Jules, Thanks for your responses.​ So you're timing only the execution of very small scripts that are generated on the fly and don't access host resources. If that's correct, then it's likely that...

View Article

New Post: Is it safe to execute a script while already executing a script?

Currently, I'm trying to figure out whether something like this is a safe thing to do:internal static class Program { private static void Main() { using (var engine = new JScriptEngine()) {...

View Article

New Post: V8ScriptEngine - System.IO.FileNotFoundException occurred in...

I have an application that is using VBS, JScript and V8 allowing me to switch easily between languages. All is working well but I notice that the 1st time I load the V8 Script Engine (and only this...

View Article

New Post: Is it safe to execute a script while already executing a script?

Hello! Yes, ClearScript's script execution methods support nested invocation. Cheers!

View Article


New Post: Performance...

Hi, Thanks for the response, I assumed this would be the overhead. Yes I am timing the overhead of invoking the 'evaluate' method repeatedly. Not the overhead of the creating the engine. Thanks for the...

View Article

New Post: V8ScriptEngine - System.IO.FileNotFoundException occurred in...

Hi egooner, This exception is expected during the initialization of ClearScript's V8 support. It should be handled internally. The long story: ClearScript allows hosts to override its V8 assembly...

View Article

Source code checked in, #9c43958098ed0dd2642e9a2f0d5e0fc31f0fbca0

Fixed dynamic script item invocation arguments for non-C# hosts.

View Article


New Post: Weird Parameter Passing Behavior

Hi JC, The fix for the VB.NET issue is now available here. Thanks again!

View Article


New Post: Is there any way to use ClearScript without installing VC++...

I have this situation that it's not possible to install VC++ package on the server. Is there any alternative way to use ClearScript without VC++ package?

View Article

New Post: Performance...

In my own tests I found that the JScript engine of ClearScript is way faster than the V8 engine in ClearScript. I've did some looping with lots of creations of interpreters, here are some...

View Article

New Post: AddEventHandller implementation

hi, i would implement my own AddEventHandler. my code:public class Window { private Form f; public Window(Form f) { this.f = f; } public void AddEventHandler(string name, dynamic handler) {...

View Article

New Post: ( expected

hello, my js:$(function(sender, e) { alert("hello to my EFML-Application :D"); if(window.isXMLHttpRequest) { var xml = new XMLHttpRequest(); xml.open("GET", "http://www.google.de/");...

View Article


New Post: Weird Parameter Passing Behavior

Codeplex failed to send me the update email. Thanks so much for the update!!!! -JC

View Article

New Post: Is there any way to use ClearScript without installing VC++...

Greetings! You should be able to use ClearScript's Windows script engine classes (JScriptEngine and VBScriptEngine) without installing the Visual C++ redistributable package. In fact, ClearScript.dll...

View Article


New Post: Performance...

Hello! There's no question that V8 is heavier and more complex than JScript, and for some use cases the latter is a better choice. V8 pays off when given larger, more complicated scripts to execute....

View Article

New Post: AddEventHandller implementation

Hi furesoft, It looks like you might want something like this:publicvoid AddEventHandler(string name, dynamic handler) { var evt = f.GetType().GetEvent(name); var action = new Action<object,...

View Article


Edited Issue: Adding host primitive types [49]

Dear Sir or Madam, I need to be able to pass in primitive types.I cannot use AddHostObject(). Calling AddHostObject() for boxed primitive types (double, int, etc.) raises exception "Invalid host...

View Article

Commented Issue: Adding host primitive types [49]

Dear Sir or Madam, I need to be able to pass in primitive types.I cannot use AddHostObject(). Calling AddHostObject() for boxed primitive types (double, int, etc.) raises exception "Invalid host...

View Article

New Post: Weird Parameter Passing Behavior

Ok, last question two questions, Mr. ClearScript. Here is my current scenario, I run a script which returns a string and I assign it to an object. The object returns the V8ScriptItem. Whenever I try to...

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images