Giter VIP home page Giter VIP logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
The same code, with little changes:
jsCtx.eval(str(
"""
var arr = new Array();
for(var i=0;i<1000;i++) {
    arr[i] = "a" + 1;
}
"""
))

arr = jsCtx.locals.arr
for k in arr:
    print k


Prints "stdout" ??

Original comment by [email protected] on 22 Feb 2010 at 3:07

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I need to setup a x64 environment and reproduce it, could you reproduce it on 
x86 
system? I tried the latest SVN build, it seems ok

Original comment by [email protected] on 22 Feb 2010 at 6:00

  • Changed state: Accepted

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Hm, my test machine is x64, but the installation files (python2.6 + pyv8 are x86
installation), so i dont think this is because of the x64 machine.
Currently i dont have proper Windows machine with x86 :(

I can test it on x86 (ubuntu) the next week if this will help ?

Original comment by [email protected] on 23 Feb 2010 at 11:59

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
ok, I will install a test machine to verify it soon, thanks anyway

Original comment by [email protected] on 23 Feb 2010 at 12:09

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
10x for the good support :)
If you need something else, message me here, so i can help :)

Original comment by [email protected] on 23 Feb 2010 at 12:13

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I have installed a x64 and x86 test machine, it seems PyV8 v0.8 definitely have 
issue 
to handle a very large array. I guess the root cause is the wrong reference 
count, 
because I have fixed several related issues in the latest SVN build, and it 
seems ok 
to run your test script.

So, could you verify it with the private build in attachment? I think I should 
make 
some paper work to release a new v0.9 version in this week, I wish it could 
solve 
your issue.

Thanks

Original comment by [email protected] on 24 Feb 2010 at 5:15

  • Changed state: Fixed
  • Added labels: OpSys-All

Attachments:

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
tested and it works :)
10x

Original comment by [email protected] on 25 Feb 2010 at 6:43

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Thanks :)

Original comment by [email protected] on 25 Feb 2010 at 6:45

  • Changed state: Verified

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Just wondering, is this bug valid in the linux pkg too ?
I'm about to push the new pyv8 on our productions, so just wondering to wait 
for the
new build or its already working (under linux x64) ?

Original comment by [email protected] on 25 Feb 2010 at 6:54

from pyv8.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I think it should be a general issue, because the reference count doesn't 
depend on 
the platform. As you known, boost::python handle most of the reference count 
issues, 
but some special situation need be handled by manual.

In fact, the basic features has stabled a few weeks ago, but I had planned to 
release 
PyV8 v0.9 with the full feature Javascript AST support, but the plan was 
delayed :( 
So, the v0.9 will be released in this week without AST by default, because it 
is a 
very independent module.

It means, the SVN code will not be modified except the AST and build related 
issues 
:)

Original comment by [email protected] on 25 Feb 2010 at 7:06

from pyv8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.