Not sure how relevant this is:https://github.com/joyent/libuv
"This is the new networking layer for Node. Its purpose is to abstract IOCP on windows and libev on Unix systems. We intend to eventually contain all platform differences in this library."
This is giving me chills.
Yeah, can't wait to get Kayak running on uv.
On Aug 1, 2011, at 9:18, panesofglass <ryan....@panesofglass.org> wrote:
> Have you started working on a simple .NET wrapper for libuv? If not, I'd love to work on it with you.
Not yet. Kerry Snyder has something brewing and we were discussing some of the challenges of making cross-platform bindings for .NET last week.
I definitely think we should all collaborate on this rather than duplicate work.
Can't remember if he's on this list; but you should check out his project. https://github.com/kersny/libuv-csharp
My only beef with it is the C wrapper library. We had a long conversation on twitter about it which you might be able to dig up—the gist is that the uv struct widths vary based on platform so you can't reliably know how much memory to allocate on a given platform without a C compiler referencing it.
I thought about it this weekend and I think we should just use magic numbers. :S There would be 4 in total: *nix/win, 32/64bit.
b