Home > Uncategorized > On the future of cogen coroutine library

On the future of cogen coroutine library

September 15, 2008

The major refactor of the socket stuff is finally in the trunk. The Socket is more in line with the standard socket module in python (there’s a makefile and a _fileobject for readline just like the standard library). And it looks like performance is still pretty good.

The only things I can think of right now are the unittests for the socket stuff – they lack good coverage and they were actually made for the previous incompatible cogen socket api. They will be fixed eventually.

Another thing is that i’m trying to push some patches in the pywin32 module for win32file.TransmitFile and win32file.ConnectEx. But it’s going so slow that I’m thinking it isn’t going to work out and I’d better write a separate module for the GetQueueCompletionStatus, CreateIoCompletionPort, WSASend, WSARecv, ConnectEx, TransmitFile and avoid all that insane overlapped struct hacking that happens in the win32file module. Wadda ya think ?

About these ads
Tags: ,
Follow

Get every new post delivered to your Inbox.

Join 172 other followers