Re: [pypy-dev] socket and select on windows

2007-03-30 Thread Amaury Forgeot d'Arc
Hello,

Alexander Shafranov wrote:
 It seems, that in 1.0 release, socket and and select modules aren't
 implemented for windows.
 Does someone work on implementation?

I did a lot of work in this direction several months ago.
I went as far as having the module annotated, and most of the tests running.
The tough part was the reimplementation of getaddrinfo() and
getnameinfo(), which do not exists on many windows platforms.
I think it even translates into C.

It's been a while, but I think I stopped because of some rough aspects
of the rctypes interface (for example: casting pointers looses track
of reference counting).

Anyway, I'll be happy to share my changes, to have another eye on the stuff...
If you agree, I will try to resurrect my work and send you a patch
later tonight.

 I could give a try..
You're welcome...

-- 
Amaury Forgeot d'Arc
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev


Re: [pypy-dev] socket and select on windows

2007-03-30 Thread Alexander Shafranov

Ok,

I'll wait for your patch and will try to help.

Alexander.

On 3/30/07, Amaury Forgeot d'Arc [EMAIL PROTECTED] wrote:


Hello,

Alexander Shafranov wrote:
 It seems, that in 1.0 release, socket and and select modules aren't
 implemented for windows.
 Does someone work on implementation?

I did a lot of work in this direction several months ago.
I went as far as having the module annotated, and most of the tests
running.
The tough part was the reimplementation of getaddrinfo() and
getnameinfo(), which do not exists on many windows platforms.
I think it even translates into C.

It's been a while, but I think I stopped because of some rough aspects
of the rctypes interface (for example: casting pointers looses track
of reference counting).

Anyway, I'll be happy to share my changes, to have another eye on the
stuff...
If you agree, I will try to resurrect my work and send you a patch
later tonight.

 I could give a try..
You're welcome...

--
Amaury Forgeot d'Arc

___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

[pypy-dev] Towards pypy-jvm

2007-03-30 Thread Antonio Cuni
Hi Niko, hi all!

I've read in the IRC logs that there has been a bit of discussion about 
what genjvm still lacks in order to translate pypy.

Some weeks ago I also tried to translate pypy-jvm; it seems that the two 
most important missing features are r_dict and weakrefs.

The good news is that with some hacks it's possible to get a pypy 
version that doesn't make use of r_dict or weakrefs: have a look at this 
IRC log:
http://tismerysoft.de/pypy/irc-logs/pypy/%23pypy.log.20070307

The bad news is that even with those changes, jvm crashed because of a 
failed assertion, then I gave up. I've no clue what it's going wrong, 
but maybe it's not something terribly wrong to fix.

I hope that this infos can help you in some way :-).

ciao Anto
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev


Re: [pypy-dev] congratulations on the 1.0 py-py release!

2007-03-30 Thread James Matthews

Happy to hear i cannot wait to test it out!

On 3/30/07, Luke Kenneth Casson Leighton [EMAIL PROTECTED] wrote:


dear pypy developers,

congratulations on reaching the 1.0 release of py-py: the project
you are working on is very significant and is also a major achievement
that you should be proud of.

[today, py-py: tomorrow, the rest of the world ... :) ]

i was stunned and delighted to see the just-in-time compiler
capabilities and also the mention of virtual machines.

i therefore wanted to make you aware of a project that you should
consider absorbing and adapting: a Python Microkernel Operating
System, called cleese: http://www.jtauber.com/cleese

the developers of cleese managed a proof-of-concept back in 2003 and
would love to continue work on it.

the concept of an entirely python-esque environment, including a
development tool (e.g. http://leo.sf.net) right from the bare metal
up just... absolutely tickles me pink :)

and - i note on the documentation: the idea of using py-py for
embedded systems.  how much more embedded can you get if the entire
OS is cut and out-the-window!

good luck,

l.

___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev





--
http://www.goldwatches.com/watches.asp?Brand=39
http://www.wazoozle.com
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] Towards pypy-jvm

2007-03-30 Thread Niko Matsakis
 The bad news is that even with those changes, jvm crashed because  
 of a failed assertion, then I gave up. I've no clue what it's going  
 wrong, but maybe it's not something terribly wrong to fix.

 I hope that this infos can help you in some way :-).

I'll look into it, thanks!  I think implementing rdicts and weakrefs  
would probably be pretty easy, so maybe I will just do that.  I've  
been itching to get back to PyPy-hacking anyhow!


Niko
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev