Re: ANN: psyco V2
Em Qui 16 Jul 2009, às 19:48:18, Christian Tismer escreveu: Announcing Psyco V2 source release -- This is the long awaited announcement of Psyco V2. Psyco V2 is a continuation of the well-known psyco project, which was called finished and was dis-continued by its author Armin Rigo in 2005, in favor of the PyPy project. This is a new project, using Psyco's code base with permission of Armin. Questions and complaints should go to me (tis...@stackless.com) or the mailing list (psyco-de...@lists.sourceforge.net); Armin is explicitly not in charge of (t)his project any longer! As one of the founders and an active member of the PyPy project, I was very happy to be invited to work on Psyco V2, by FATTOC, LLC. Psyco V2 tries to extend on the original Psyco approach an extension module that just makes Python faster. Psyco is a just-in-time compiler that accelerates arbitrary Python code by specialization. We believe that Psyco's approach can be carried out much further than it was tried so far, when it's first version was abandoned. This first V2 release is source-only. There is no web-site, yet, and there are no binaries for download. These will be available in a few days on http://www.psyco.org . For the time being, please stick with subversion access, building the extension module from source code. The repository is here: http://codespeak.net/svn/psyco/v2/dist Check-out the repository, and run the setup.py script, given that you have access to a C compiler. Psyco V2 will run on X86 based 32 bit Linux, 32 bit Windows, and Mac OS X. Psyco is not supporting 64 bit, yet. But it is well being considered. The current improvements are, shortly: - Support for Python 2.4, 2.5 and 2.6 - a lot of new builtins - generators, fast and fully supported. More information is coming soon on http://www.psyco.org . This is the beginning of a series of new Psyco versions. Many more improvements are prepared and about to be published, soon, starting with the current version 2.0.0 . Stay tuned, this is just the beginning of psyco's re-birth! For questions about Psyco V2, please join the mailing list psyco-de...@lists.sourceforge.net or contact me on IRC: #psyco on irc.freenode.net . Psyco V2 is fundamentally supported by FATTOC, LLC. See http://www.fattoc.com . Without their continuous support, this work would not have been possible at all. I wish to express my deepest thanks to FATTOC, for allowing me to continue on Psyco with all the energy that this ambitious project needs, and will need. Further special thanks are going to Armin Rigo, John Benediktsson, David Salomon, Miki Tebeka, Raymond Hettinger, Fabrizio Milo, Michael Foord, Dinu Gherman, Stephan Diehl, Laura Creighton and Andrea Tismer, for all the support and discussions. Looking forward to a great future of Psyco! July 17, 2009 I know its not the proper list but gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -DNDEBUG - g -O3 -fPIC -Ic/i386 -Ic -I/usr/include/python2.6 -c c/mergepoints.c -o build/temp.linux-i686-2.6/c/mergepoints.o c/mergepoints.c:250: error: ‘RAISE_VARARGS’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘JUMP_IF_FALSE’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘JUMP_IF_TRUE’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘DUP_TOPX’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘IMPORT_STAR’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘SLICE’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘STORE_SLICE’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘DELETE_SLICE’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘PRINT_EXPR’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘PRINT_ITEM’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘PRINT_ITEM_TO’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘PRINT_NEWLINE’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘PRINT_NEWLINE_TO’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘BUILD_CLASS’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘IMPORT_NAME’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘IMPORT_FROM’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘MAKE_FUNCTION’ undeclared here (not in a function) c/mergepoints.c:250: error: ‘BUILD_SLICE’ undeclared here (not in a function) error: command 'gcc' failed with exit status 1 any clue ? []'s Eduardo Tel: +55 47 4009-7971 - Fax: +55 47 4009-7940 E-mail: l...@joinville.udesc.br - -- Esta mensagem foi verificada pelo sistema de antiv�rus e acredita-se estar livre de perigo. -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
On 24-07-2009, Christian Tismer wrote: On 7/24/09 1:04 AM, William Dode wrote: On 23-07-2009, Christian Tismer wrote: ... Wasn't the project plan saying the opposite, borrowing some ideas from psyco? :-) http://code.google.com/p/unladen-swallow/wiki/ProjectPlan How do you see the future of psyco when unladen-swallow will grab the best of psyco (if they can !) ? I have no objections, but also no idea so far how that could work. Sounded like an unreflected idea to me, without seriously checking the possibilities and/or implications. The same kind of research apparently did not happen concerning PyPy, which IMHO is much more suitable to take advantage from. This is for the current status of psyco, of course. It will change dramatically in the next months, slowly adopting some of PyPy's ideas. Then it might start to make more sense. I didn't understand how psyco could use somes PyPy's ideas, i thought it's only the opposite... So i was going to read the PyPy's documentation : it's fascinating !!! But how to test it ? The doc says : When PyPy is translated into an executable like pypy-c, the executable contains a full virtual machine that can optionally include a Just-In-Time compiler. Where is this 'option', is there somethings to activate it ? thx -- William Dodé - http://flibuste.net Informaticien Indépendant -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
On 23-07-2009, Christian Tismer wrote: On 7/17/09 4:11 AM, Bearophile wrote: Very good, thank you. I'll try it when I can. Is Psyco3 going to borrow/steal some ideas/code from Unladen Swallow? Psyco3: nice typo! :-) Well, I haven't so far found a new idea there that I'd want to borrow and did not know from PyPy, before. Wasn't the project plan saying the opposite, borrowing some ideas from psyco? :-) http://code.google.com/p/unladen-swallow/wiki/ProjectPlan How do you see the futur of psyco when unladen-swallow will grab the best of psyco (if they can !) ? Wait and see ? Anyway, thanks a lot for your work that we can use NOW ! -- William Dodé - http://flibuste.net Informaticien Indépendant -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
On 7/24/09 1:04 AM, William Dode wrote: On 23-07-2009, Christian Tismer wrote: ... Wasn't the project plan saying the opposite, borrowing some ideas from psyco? :-) http://code.google.com/p/unladen-swallow/wiki/ProjectPlan How do you see the future of psyco when unladen-swallow will grab the best of psyco (if they can !) ? I have no objections, but also no idea so far how that could work. Sounded like an unreflected idea to me, without seriously checking the possibilities and/or implications. The same kind of research apparently did not happen concerning PyPy, which IMHO is much more suitable to take advantage from. This is for the current status of psyco, of course. It will change dramatically in the next months, slowly adopting some of PyPy's ideas. Then it might start to make more sense. Wait and see ? Wait and see, not holding breath, I'd say. Anyway, thanks a lot for your work that we can use NOW ! Thanks for so much encouraging reactions! cheers - chris -- Christian Tismer :^) mailto:tis...@stackless.com tismerysoft GmbH : Have a break! Take a ride on Python's Johannes-Niemeyer-Weg 9A :*Starship* http://starship.python.net/ 14109 Berlin : PGP key - http://wwwkeys.pgp.net/ work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/ -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
It seems psyco.org is still in the transfer process... Is there any charitable soul with a link to a Windows binary? :-) -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
Neuruss wrote: It seems psyco.org is still in the transfer process... Is there any charitable soul with a link to a Windows binary? :-) It seems like Christian is already working on Windows binaries. We are having a discussing about an obscure MinGW bug on the Python developer list. It looks like MinGW isn't fully ABI compatible with MSVC. Christian -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
Christian Tismer wrote: Psyco V2 will run on X86 based 32 bit Linux, 32 bit Windows, and Mac OS X. Psyco is not supporting 64 bit, yet. But it is well being considered. Can you estimate how much work needs to be done in order to get Psyco working on 64bit POSIX (Linux) systems? Christian -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
On 7/23/09 8:22 AM, Christian Heimes wrote: Christian Tismer wrote: Psyco V2 will run on X86 based 32 bit Linux, 32 bit Windows, and Mac OS X. Psyco is not supporting 64 bit, yet. But it is well being considered. Can you estimate how much work needs to be done in order to get Psyco working on 64bit POSIX (Linux) systems? This is not easy to tell. I'm in the process of estimating this, because my sponsor wants to know as well. They are very interested, but it has to be somehow affordable in time and money. There are different paths that can be taken. Simply hacking away, trying to go straight to 64 bit is obvious, but probably a bad approach. Half of the system needs to be rewritten and augmented with extra size info, and this goes very deep. I think this way I would produce a nightmare of even more complicated code, and would kill myself debugging-wise. I believe I need to simplify psyco and make many parts more abstract and more general, to become able to make it flexible. This also means slowing the compiler down quite a lot. Slowing it down will again become no problem, when my new compiler strategy is ready. The number of compilations will reduce so drastically, that the slowdown is neglectible. Yes, I did not give an answer. I have the vague feeling of three months full-time work. My problem right now is to ensure that it will become less and not more :-) cheers - chris -- Christian Tismer :^) mailto:tis...@stackless.com tismerysoft GmbH : Have a break! Take a ride on Python's Johannes-Niemeyer-Weg 9A :*Starship* http://starship.python.net/ 14109 Berlin : PGP key - http://wwwkeys.pgp.net/ work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/ -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
On 7/17/09 4:11 AM, Bearophile wrote: Very good, thank you. I'll try it when I can. Is Psyco3 going to borrow/steal some ideas/code from Unladen Swallow? Psyco3: nice typo! :-) Well, I haven't so far found a new idea there that I'd want to borrow and did not know from PyPy, before. Wasn't the project plan saying the opposite, borrowing some ideas from psyco? :-) http://code.google.com/p/unladen-swallow/wiki/ProjectPlan The problem I have with Psyco1.6 is that you can't use the normal profilers to know how much seconds of running time is taken by each function/method of your code. Yes, the profiler hooks are not useful with psyco. You need to write extra functions for timing, as we do in the benchmark directory. Psyco1.6 has a profile() function, but I am not much able to use it yet. The profile() function is used for profile driven compilation, as opposed to psyco.full(). This will go away, pretty soon. Psyco will only be switched on or off. Maybe I will add an option for profiling the compiled code. Interesting idea! cheers - chris -- Christian Tismer :^) mailto:tis...@stackless.com tismerysoft GmbH : Have a break! Take a ride on Python's Johannes-Niemeyer-Weg 9A :*Starship* http://starship.python.net/ 14109 Berlin : PGP key - http://wwwkeys.pgp.net/ work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/ -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
It is just being transferred Von meinem iTouch gesendet On Jul 18, 2009, at 7:03, est electronix...@gmail.com wrote: On Jul 17, 10:48 am, Christian Tismer tis...@stackless.com wrote: Announcing Psyco V2 source release -- This is the long awaited announcement of Psyco V2. Psyco V2 is a continuation of the well-known psyco project, which was called finished and was dis-continued by its author Armin Rigo in 2005, in favor of the PyPy project. This is a new project, using Psyco's code base with permission of Armin. Questions and complaints should go to me (tis...@stackless.com) or the mailing list (psyco-de...@lists.sourceforge.net); Armin is explicitly not in charge of (t)his project any longer! As one of the founders and an active member of the PyPy project, I was very happy to be invited to work on Psyco V2, by FATTOC, LLC. Psyco V2 tries to extend on the original Psyco approach an extension module that just makes Python faster. Psyco is a just-in-time compiler that accelerates arbitrary Python code by specialization. We believe that Psyco's approach can be carried out much further than it was tried so far, when it's first version was abandoned. This first V2 release is source-only. There is no web-site, yet, and there are no binaries for download. These will be available in a few days onhttp://www.psyco.org. For the time being, please stick with subversion access, building the extension module from source code. The repository is here: http://codespeak.net/svn/psyco/v2/dist Check-out the repository, and run the setup.py script, given that you have access to a C compiler. Psyco V2 will run on X86 based 32 bit Linux, 32 bit Windows, and Mac OS X. Psyco is not supporting 64 bit, yet. But it is well being considered. The current improvements are, shortly: - Support for Python 2.4, 2.5 and 2.6 - a lot of new builtins - generators, fast and fully supported. More information is coming soon onhttp://www.psyco.org. This is the beginning of a series of new Psyco versions. Many more improvements are prepared and about to be published, soon, starting with the current version 2.0.0 . Stay tuned, this is just the beginning of psyco's re-birth! For questions about Psyco V2, please join the mailing list psyco-de...@lists.sourceforge.net or contact me on IRC: #psyco on irc.freenode.net . Psyco V2 is fundamentally supported by FATTOC, LLC. Seehttp://www.fattoc.com. Without their continuous support, this work would not have been possible at all. I wish to express my deepest thanks to FATTOC, for allowing me to continue on Psyco with all the energy that this ambitious project needs, and will need. Further special thanks are going to Armin Rigo, John Benediktsson, David Salomon, Miki Tebeka, Raymond Hettinger, Fabrizio Milo, Michael Foord, Dinu Gherman, Stephan Diehl, Laura Creighton and Andrea Tismer, for all the support and discussions. Looking forward to a great future of Psyco! July 17, 2009 -- Christian Tismer :^) mailto:tis...@stackless.com tismerysoft GmbH : Have a break! Take a ride on Python's Johannes-Niemeyer-Weg 9A :*Starship*http://starship.python.net/ 14109 Berlin : PGP key -http://wwwkeys.pgp.net/ work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/ congrats! btw is psyco.org owned? -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
Very good, thank you. I'll try it when I can. Is Psyco3 going to borrow/steal some ideas/code from Unladen Swallow? The problem I have with Psyco1.6 is that you can't use the normal profilers to know how much seconds of running time is taken by each function/method of your code. Psyco1.6 has a profile() function, but I am not much able to use it yet. Can you tell me how to find a sorted list of the running time of all functions/methods of a Psyco-digested program? Bye and thank you, bearophile -- http://mail.python.org/mailman/listinfo/python-list
Re: ANN: psyco V2
On Jul 17, 10:48 am, Christian Tismer tis...@stackless.com wrote: Announcing Psyco V2 source release -- This is the long awaited announcement of Psyco V2. Psyco V2 is a continuation of the well-known psyco project, which was called finished and was dis-continued by its author Armin Rigo in 2005, in favor of the PyPy project. This is a new project, using Psyco's code base with permission of Armin. Questions and complaints should go to me (tis...@stackless.com) or the mailing list (psyco-de...@lists.sourceforge.net); Armin is explicitly not in charge of (t)his project any longer! As one of the founders and an active member of the PyPy project, I was very happy to be invited to work on Psyco V2, by FATTOC, LLC. Psyco V2 tries to extend on the original Psyco approach an extension module that just makes Python faster. Psyco is a just-in-time compiler that accelerates arbitrary Python code by specialization. We believe that Psyco's approach can be carried out much further than it was tried so far, when it's first version was abandoned. This first V2 release is source-only. There is no web-site, yet, and there are no binaries for download. These will be available in a few days onhttp://www.psyco.org. For the time being, please stick with subversion access, building the extension module from source code. The repository is here: http://codespeak.net/svn/psyco/v2/dist Check-out the repository, and run the setup.py script, given that you have access to a C compiler. Psyco V2 will run on X86 based 32 bit Linux, 32 bit Windows, and Mac OS X. Psyco is not supporting 64 bit, yet. But it is well being considered. The current improvements are, shortly: - Support for Python 2.4, 2.5 and 2.6 - a lot of new builtins - generators, fast and fully supported. More information is coming soon onhttp://www.psyco.org. This is the beginning of a series of new Psyco versions. Many more improvements are prepared and about to be published, soon, starting with the current version 2.0.0 . Stay tuned, this is just the beginning of psyco's re-birth! For questions about Psyco V2, please join the mailing list psyco-de...@lists.sourceforge.net or contact me on IRC: #psyco on irc.freenode.net . Psyco V2 is fundamentally supported by FATTOC, LLC. Seehttp://www.fattoc.com. Without their continuous support, this work would not have been possible at all. I wish to express my deepest thanks to FATTOC, for allowing me to continue on Psyco with all the energy that this ambitious project needs, and will need. Further special thanks are going to Armin Rigo, John Benediktsson, David Salomon, Miki Tebeka, Raymond Hettinger, Fabrizio Milo, Michael Foord, Dinu Gherman, Stephan Diehl, Laura Creighton and Andrea Tismer, for all the support and discussions. Looking forward to a great future of Psyco! July 17, 2009 -- Christian Tismer :^) mailto:tis...@stackless.com tismerysoft GmbH : Have a break! Take a ride on Python's Johannes-Niemeyer-Weg 9A : *Starship*http://starship.python.net/ 14109 Berlin : PGP key -http://wwwkeys.pgp.net/ work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05 PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04 whom do you want to sponsor today? http://www.stackless.com/ congrats! btw is psyco.org owned? -- http://mail.python.org/mailman/listinfo/python-list