Re: [v8-users] instanceof.

2014-10-08 Thread Ben Noordhuis
On Wed, Oct 8, 2014 at 10:02 PM, Jane Chen wrote: > I was able to get instanceof returning true following your tips. Thanks. > But it seems to me this design assumes that there is only a singleton > Function we are operating on as I'm always interacting with This, which is > the function returned

Re: [v8-users] instanceof.

2014-10-08 Thread Jane Chen
Ben, I was able to get instanceof returning true following your tips. Thanks. But it seems to me this design assumes that there is only a singleton Function we are operating on as I'm always interacting with This, which is the function returned from FunctionTemplate.GetFunction(). If I wan

Re: [v8-users] V8, Hydrogen, disassembly, and Vyacheslav Egorov's JSConf talk

2014-10-08 Thread John Feminella
Thanks very much, Jakob! That was immensely helpful. ~ jf On Wednesday, October 8, 2014 12:54:33 PM UTC-4, Jakob Kummerow wrote: > > On Wed, Oct 8, 2014 at 5:56 PM, John Feminella > > wrote: > >> As an educational exercise, I'd like to inspect disassembled JS generated >> by JS, and compare bot

Re: [v8-users] Very basic globals and const question

2014-10-08 Thread Colin Jenkins
> > . Hi Jakob, I've got Chrome Version 39.0.2171.13 dev-m now; thanks for answering my questions. I'll give const another go but every time I've tried it in the past I've noticed a (significant) slowdown (as I have using switch which I completely avoid now). Thanks again... -- -- v8-us

Re: [v8-users] Very basic globals and const question

2014-10-08 Thread Jakob Kummerow
On Wed, Oct 8, 2014 at 6:13 PM, Colin Jenkins wrote: > Hi, > > Apologies for the basic nature of these questions. I feel pretty stupid > asking, but I can't find the answer anywhere... > > I've written a chess engine in Javascript and am pleased with the initial > (not-thought-about) performance

Re: [v8-users] V8, Hydrogen, disassembly, and Vyacheslav Egorov's JSConf talk

2014-10-08 Thread Jakob Kummerow
On Wed, Oct 8, 2014 at 5:56 PM, John Feminella wrote: > As an educational exercise, I'd like to inspect disassembled JS generated > by JS, and compare both the optimized and unoptimized versions to see what > changes and what doesn't. > > In Vyacheslav Egorov's JSConf 2012 excellent slides ( > ht

[v8-users] Very basic globals and const question

2014-10-08 Thread Colin Jenkins
Hi, Apologies for the basic nature of these questions. I feel pretty stupid asking, but I can't find the answer anywhere... I've written a chess engine in Javascript and am pleased with the initial (not-thought-about) performance; in play, on my fairly old machine it's analysing about 500,000

[v8-users] V8, Hydrogen, disassembly, and Vyacheslav Egorov's JSConf talk

2014-10-08 Thread John Feminella
As an educational exercise, I'd like to inspect disassembled JS generated by JS, and compare both the optimized and unoptimized versions to see what changes and what doesn't. In Vyacheslav Egorov's JSConf 2012 excellent slides (http://s3.mrale.ph/jsconf2012.pdf) he recommends compiling V8 like

[v8-users] V8 Launch Process and Guidelines v.2

2014-10-08 Thread Dmitry Lomov
It has been more than a year since we have published V8 launch process. Today we are making some adjustments to it based on our experience throughout a year and some changes in TC39 (ECMAScript standards committee) procedure. See the v2 of the document at https://developers.google.com/v8/launchpro

Re: [v8-users] instanceof.

2014-10-08 Thread Ben Noordhuis
On Wed, Oct 8, 2014 at 12:59 AM, Jane Chen wrote: > Picking up this thread again: > > I have no problem exposing the class to the global context uisng the pattern > shown above. My problem is that the returned value of the class constructor > is not an instanceof that class if I construct object