Tamar Christina

Results 95 comments of Tamar Christina

@eborden @kazu-yamamoto It's time to start discussing this more, The I/O first version of the I/O manager will be in GHC 8.12 if all goes well https://gitlab.haskell.org/ghc/ghc/-/merge_requests/1224. That version will...

I have cc'd @coot who has been using an I/O library based on IOCP on Windows at https://github.com/input-output-hk/ouroboros-network/tree/5c253f7533901d2daf528388def065a54947a122/Win32-network We should ensure we cover their uses as they provide real world...

> @Mistuke Good news! What can I do for you? I'd like to take you up on the offer of creating a new API that doesn't use `threadWaitRead/threadWaitWrite` as we...

Ideally also something that fits with https://github.com/simonmar/async

WINIO has officially been merged in GHC 8.12. now the fun begins..

@kazu-yamamoto @eborden So the main thing I need some help with is how an asynchronous interface should look like. The synchronous interface we won't change of course, but what happens...

Yes but I'm not sure how yet. The problem is it's an exported type and we have functions where the `CInt` escapes into an external API. I fear this may...

> How large CInt is on Windows? Same as Linux, just 32-bits. > Do you mind if we release version 3.1.1.0 without fixing this? Yeah I don't consider this a...

Hmm I though that an `fd` on `Unix` is a signed 32-bit value? so `CInt` is correct on `Unix` no? For WIndows you'd need an unsigned value so `CUIntMax` would...

Not directly, but all the docs for e.g. `epoll` uses `int` for `fd` https://linux.die.net/man/2/epoll_ctl and while not authoritative it is backed up by wikipedia https://en.wikipedia.org/wiki/File_descriptor