Re: [pypy-dev] Biting off more than I can chew

2012-05-07 Thread Greg Bowyer
It has taken me a long time to get back to this, the algorithm I am playing with is soft real-time at best not hard realtime My thinking is far more around using (and abusing) the transaction queue to manage a barrier for the GC implementing much of a classical read/write barrier there On 2

Re: [pypy-dev] Biting off more than I can chew

2012-02-24 Thread Greg Bowyer
not work for the printf, however it does not actually seem to do the mreserve Anyone want to join my insanity ? -- Greg On 20/02/12 16:24, Amaury Forgeot d'Arc wrote: 2012/2/21 Greg Bowyer <mailto:gbow...@fastmail.co.uk>> My question (probably one of many to irritate and

[pypy-dev] Biting off more than I can chew

2012-02-20 Thread Greg Bowyer
The other night I got this burning desire to recreate the Azul GPGC (the java pauseless collector) inside pypy, with a view that it could be used alongside the STM work to make pypy a low (no?) pause concurrent VM. When I started tackling the code I realised I might have bitten off a little mo

Re: [pypy-dev] a bug of pypy:don't auto close the file handler.

2012-01-10 Thread Greg Bowyer
You never close the file, so you are depending on CPythons ref-counting GC, which will collect the object when it goes out of scope. Pypys default GC is mark / sweep, so it will not close the file when the file goes out of scope but rather at some _arbiterry_ future point. Putting the file in

Re: [pypy-dev] Errors running pypy with ctype library

2011-09-08 Thread Greg Bowyer
Humm interesting, I wonder why it works in Cpython, when I get the chance I will try making those changes and see if pypy works. On 06/09/11 23:57, Amaury Forgeot d'Arc wrote: 2011/9/7 Greg Bowyer <mailto:gbow...@fastmail.co.uk>> Hi all, I have a rather interesting in house n

[pypy-dev] Errors running pypy with ctype library

2011-09-06 Thread Greg Bowyer
Hi all, I have a rather interesting in house networking tool that uses pcap to sniff packets, take them into twisted and replay them against a target. Internally the tight loop for packet reassembly is currently run via twisted and some custom parsing and packet reconstruction code, I have be