Luukdegram / apple_pie

Basic HTTP server implementation in Zig
MIT License
163 stars 21 forks source link

Will this library support Windows? #45

Open nmsobri opened 3 years ago

nmsobri commented 3 years ago

As title, will it be?

Luukdegram commented 3 years ago

Hi,

This is definitely one of the requirements for the project to be considered release-worthy. Currently, the library utilizes zig std, which has poor (I believe none) support within the event loop for Windows. Writing an event loop is quite the undertaking (and complex) and I'd rather rely on the std to implement it correctly. For now, you can track https://github.com/ziglang/zig/issues/8224 to see the status.

I'll leave this issue open to track upstream as well as to ensure we do not forget Windows support.

nmsobri commented 3 years ago

Ah understood, thx for the explanation. Hope std libs will have better support for event loop on windows in near future