Results 377 comments of Thomas Leonard

Thanks for the clarifications. Thinking more about this, we'd still want something like Cstruct to select a slice over some `bytes`, so maybe Cstruct itself should change to be backed...

So this is a pool of bigarrays, but if you forget to return one then the system will notice after a while and return it anyway? It looks like the...

Thanks @deepali2806 - this is very interesting! I see the same thing on my machine. What's really odd is that cstruct uses bigarray internally, and in the same way, so...

It might be worth checking the assembler output (or pasting the examples into https://godbolt.org/ with OCaml selected). It could also be an alignment issue - I think @ctk21 mentioned getting...

@sadiqj and I discussed a couple of ways of doing this today: - eio could watch eventring to get GC events and then copy them to its own ring, or...

Indeed, it seems that libuv does not call the read callback in this case: ```ocaml let or_fail = function | Ok x -> x | Error e -> failwith (Luv.Error.strerror...

> Funny thing, for reference, the source of my problem ended up being a Tls module loosely based on yours: Hmm, yes, that Tls wrapper should probably now implement `Flow.two_way`...

In fact, I think continuing to wait is the correct behaviour. `close` is an operation on the file descriptor, not on the file (socket) itself. The socket itself is shut...

Closing, as not a bug. Note: there's now also a proper tls-eio package (https://github.com/mirleft/ocaml-tls/pull/451).

Yes, using a separate multicore domain would work for this. However, Eio is currently lacking primitives for communicating easily between domains. With the io-uring backend, there is an `ioprio` field...