PyPy and RPython

2010-09-01 Thread sarvi
/Machine code These 2 seem like spectacular advantages for Python to pickup on. And all this by just showing the PyPy and the Python foundation's support and direction to adopt them. Yet I see this forum relatively quite on PyPy or Rpython ? Any reasons??? Sarvi -- http://mail.pytho

Re: PyPy and RPython

2010-09-01 Thread sarvi
On Sep 1, 6:49 pm, Benjamin Peterson wrote: > sarvi gmail.com> writes: > > Secondly I have always fantasized of never having to write C code yet > > get its compiled performance. > > With RPython(a strict subset of Python), I can actually compile it to > > C/M

Re: PyPy and RPython

2010-09-02 Thread sarvi
enerated C code to be just as fast as Shedskin's Afterall thats how the PyPy compiler is built, right? and we do want that to be fast too? Sarvi On Sep 1, 11:39 pm, John Nagle wrote: > On 9/1/2010 10:49 AM, sarvi wrote: > > > > > > > > > Is there a pl

Re: PyPy and RPython

2010-09-02 Thread sarvi
On Sep 2, 2:19 pm, John Nagle wrote: > On 9/2/2010 1:29 AM, sarvi wrote: > > > When I think about it these restrictions below seem a very reasonable > > tradeoff for performance. > >     Yes. > > > And I can use this for just the modules/sections that are perf

Re: PyPy and RPython

2010-09-03 Thread sarvi
Well then, wouldn't it make sense for PyPy to use Shedskin and its definition of Restricted Python? I have heard repeatedly that PyPy RPython is very difficult to use. Then why isn't PyPy using Shedskin to compile its PyPy-Jit? Sarvi On Sep 2, 11:59 pm, John Nagle wrote: > On 9/2/

How can I get path/name of the softlink to my python script when executing it

2009-04-19 Thread Saravanan Shanmugham (sarvi)
I find out from within wabexec how it was invoked? was it throug waf or hello, etc. both __file__ and sys.arg0[] seem to have wabexec not the name of the softlink. Any ideas? Sarvi -- http://mail.python.org/mailman/listinfo/python-list

RE: How can I get path/name of the softlink to my python script when executing it

2009-04-19 Thread Saravanan Shanmugham (sarvi)
Sorry. I should have responded earlier to close this thread. It was my programming error. Both sys.argv[0] and __file__ do point to the name and path of the softlink and not the actual program it is linked to. So. Soryy. My bad programming got in my way. Sarvi

Python as a Testing Language - TTCN-3 Comparison

2008-06-11 Thread Saravanan Shanmugham (sarvi)
or Trees. How best do we do this in Python? Is there room for improvement language constructs that could make this simpler. Thx, Sarvi -- http://mail.python.org/mailman/listinfo/python-list

RE: Python as a Testing Language - TTCN-3 Comparison

2008-06-19 Thread Saravanan Shanmugham (sarvi)
eed a better python test framework and may be in that process we may be able to identify some python language constructs, if any, that might make it easier to build the test framework or describe test cases. Sarvi From: Saravanan Shanmugham (sarvi)