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

New Post: Performance...

Thanks for posting that, UweKeim! Just to clarify, ClearScript's JScriptEngine class defaults to the JScript 5.7 feature set. Specifying WindowsScriptEngineFlags.EnableStandardsMode selects the JScript...

View Article



New Post: Parameter number conflict.

Perhaps something like this: engine.AddHostObject("$", new DollarSignFunc((arg1, arg2) => { var name = arg1 asstring; if (name == null) new Window(f).AddEventHandler("Load", arg1); elseif (arg2 !=...

View Article

New Post: Performance...

UweKeim/ClearScript - Thank you for the detailed information. This will really help! Jules

View Article

New Post: Parameter number conflict.

thanks it works

View Article

New Post: get js of function

is it possible to get the source of an js function via js?

View Article


New Post: implement uneval function

how is it possible to implement an uneval function?

View Article

New Post: get js of function

Sure, take a look at Function.prototype.toString().

View Article

New Post: implement uneval function

Perhaps you could start with JSON.stringify() and incorporate Function.prototype.toString()?

View Article


New Post: implement uneval function

i would like to implement it in c# as a function for js

View Article


New Post: implement uneval function

Hi furesoft, You can use DynamicObject.GetDynamicMemberNames() to enumerate the properties of a script object. However, you'll have to invoke script functions to retrieve various information such as...

View Article

New Post: ecmascript 6

when is it possible to use ecmascript 6 implementation?

View Article

New Post: ecmascript 6

Hi furesoft, We have no plan to explicitly enable Harmony support while it's in development. Presumably the V8 team will enable Harmony features by default sometime after the standard is finalized and...

View Article

New Post: Serializing a compiled script

Is it possible to serialize a compiled script? For instance do something like:byte[] result = null; using (var clearscriptV8 = new V8Runtime()) using (var stream = new MemoryStream()) { var compiled =...

View Article


New Post: Serializing a compiled script

Hello! Unfortunately V8Script instances are not serializable. More information here. Thanks!

View Article

New Post: Serializing a compiled script

Is this something that can be changed in ClearScript or is it a limitation of V8?

View Article


New Post: Serializing a compiled script

its a limitation of .net

View Article

New Post: Serializing a compiled script

Hi again, V8 doesn't support serialization of compiled scripts, but it does have a somewhat similar feature that ClearScript currently doesn't leverage. In V8, script compilation optionally produces a...

View Article


New Post: Increasing memory during V8 usage

Hi, i have a memory problem and i don't know if it is due to a wrong usage or a problem in the engine. When I use the V8 engine a long time with many JS-calls from C#:using (var compiledFunction =...

View Article

New Post: Increasing memory during V8 usage

Hello querdenker, It doesn't look like you're doing anything wrong. Can you say any more about the sort of work your scripts are doing? Some general suggestions:​Make sure you're using the latest...

View Article

New Post: Parallel / web workers

Is there any support for parallelism or web workers in clearscript? I would like to do parallel processing within my javascript code instead of having .net facilitate it because of the overhead of...

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images