Re: [JS-internals] C++ Exception Handling

2015-12-18 Thread Jason Orendorff
I took the survey. I would be happy to use C++ exceptions in SpiderMonkey. The primary reason we don't is historical. Converting a large, existing codebase to use exceptions is a huge investment of time. (It also involves touching the build system.) -j On Fri, Dec 18, 2015 at 7:28 AM, Rodrig

[JS-internals] C++ Exception Handling

2015-12-18 Thread Rodrigo Bonifacio
Dear all, (apologies if you receive multiple copies) We are investigating the use of C++ exception handling constructs in well known open-source C++ systems, and have published some results in the last International Conference on Source Code Analysis and Manipulation [1] We are expanding this res

Re: [JS-internals] SpiderMonkey 370 - JSNative vs JSPropertyOp

2015-12-18 Thread a . a . babichev
Hello, I faced similar problem. I have to create multiple properties with getter/setters written in c++. In callbacks (JSNative getters and setters) I need to know which property was requested. Actually I prefer to pass pointer to native structure instead of property name. Can someone point