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

Reopened Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]

Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...

View Article


Edited Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]

Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...

View Article


Commented Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10...

Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...

View Article

Commented Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10...

Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...

View Article

Closed Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]

Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...

View Article


Edited Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]

Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...

View Article

New Post: Running List ForEach using script

This is what i come out with in the endpublic static void forEach(this IEnumerable collection, dynamic action) { int i = 0; foreach (var item in collection) { action(item, i, collection); i++; } }

View Article

New Post: Crazy overhead calling V8 functions in a method being invoked for...

Hi people, I'm using ClearScript for some JavaScript integration recently, and noticed that calling a V8 function is exceptionally expensive if the calling method is being invoked for the first time,...

View Article


New Post: Crazy overhead calling V8 functions in a method being invoked for...

Hi tadokoro, That's just the way .NET's dynamic infrastructure works. The initial pass through a dynamic call site is expensive, but inline caching greatly speeds up subsequent passes. One possibility,...

View Article


New Post: Calling javascript which uses setTimeout/setInterval

For one of the projects, I use some pre-existing java script files and expose them via C# to use in some C# libraries. I am encountering errors while trying to execute java scripts files which uses...

View Article

New Post: Calling javascript which uses setTimeout/setInterval

Greetings! ClearScript provides a bare JavaScript environment, whereas the functions you're looking for are part of the Web API, which is typically provided by web browsers. The functions are...

View Article

New Post: Highly concurrent server design

Hello xenadu, I have similar scenario like you except the scripts are not 'safe' in my case. Performance is also important in my case so I did some profiling and I created some performance improvements...

View Article

New Post: Problem with dynamic Type

hi, i have this source:http://pastebin.de/124823 i add this class to the engine:se.AddHostType("NativeLibraryImporter", typeof(DynamicDllImport)); Usage:dynamic c = js.Evaluate(@"var o = new...

View Article


New Post: Problem with dynamic Type

Hi furesoft, First of all, wow, that is some interesting code! A dynamic class for invoking native methods? Very clever. Unfortunately, there are a few issues:In the above, the variable c is undefined...

View Article

New Post: Problem with dynamic Type

how can i get the method names from native dll? idk how, its not my wrapper

View Article


New Post: extension methods

hello, when i write a extension method to object in c#, can i use it in js?

View Article

New Post: function: dynamicly parameters

hi, how can i create a function with a dynamic parameter length?

View Article


New Post: Invalid constructor invocation

hi i have an Invalid constructor invocation but all is correct var xhr = new XmlHttpRequest(); xhr.OnLoadFinish = function() { Console.Info(xhr.ResponseText); }; xhr.Open("GET",...

View Article

New Post: Problem with dynamic Type

Unfortunately it isn't very simple. Have a look here. Alternatively, you can just fake it. Consider changing your class so that the client code must specify what native methods it intends to call:...

View Article

New Post: extension methods

Yes. To make an extension method available for scripting, expose its class via AddHostType().

View Article
Browsing all 2297 articles
Browse latest View live


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