Skip to content

[Discussion] Would you evolve the project to use zig's new async I/O? #175

@gjuchault

Description

@gjuchault

Hello !

Thank you for all the work you've achieved in the Zig ecosystem 😄

Are you any hyped by the zig announcements and demos about the upcoming async I/O upcoming in 0.16?
Would you switch http.zig from a threadpool to async I/O?

Sort of related to #24

Thanks!

Edit
I see on the mentionned issue that you'd probably wait for the std/common dependencies to http servers like pg and others to be async as well; I would say that in the Node ecosystem, node is fully async I/O, but all the PG clients I'm aware are using a connection pool (cost of creating a connection, limits on PG, security, etc.), and the native FS module is using a threadpool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions