Re: [v8-users] Re: Simple development queries

2015-05-26 Thread Sven Panne
On Mon, May 25, 2015 at 5:08 PM, Deepak Subramanian subudee...@gmail.com wrote: [...] But I am not able to find the implementation of either value() or set_value(). Am I missing something trivial here ? The magic is in src/objects-inl.h, of course again behind a macro: :-}

[v8-users] build fail on nacl architecture (nacl_x64 and nacl_ia32)

2015-05-26 Thread Andrei - Constantin Popescu
Hello! I want to build V8 with NaCl. I followed the steps listed here https://github.com/v8/v8-git-mirror . V8 builds smoothly for several architectures, however for NaCl it fails, at least on branch master. I tried searching for the error, and found some info, but nothing V8 specific. Any

Re: [v8-users] Large defineProperties() vs literal getter and setter Performance

2015-05-26 Thread 'Erik Arvidsson' via v8-users
On Fri, May 22, 2015 at 1:43 PM, Kevin Greer k...@google.com wrote: This jsPerf test shows that defineProperty() and defineProperties() are about 7 times slower than with the same properties defined using the object literal notation: https://jsperf.com/define-property-vs-define-properties

Re: [v8-users] Large defineProperties() vs literal getter and setter Performance

2015-05-26 Thread 'Kevin Greer' via v8-users
Why do you need to use reflection to create your objects? Once the object has been created it does not matter if it was created from O.dP or a literal. It is fine to use reflection to build your prototype chain but for the actual instances you are better off using [[Set]]. We aren't

Re: [v8-users] Re: Simple development queries

2015-05-26 Thread Deepak Subramanian
Should've guesses. The macro maze that is v8 :) Is there a ninja to just expand all macros ? On Tuesday, May 26, 2015 at 10:01:16 AM UTC+2, Sven Panne wrote: On Mon, May 25, 2015 at 5:08 PM, Deepak Subramanian subud...@gmail.com javascript: wrote: [...] But I am not able to find the