-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows support #6
Comments
I've been looking for s REST micro-framework for C++ on Windows for a few days. Bummer this one doesn't cut it yet. |
Hello, I understand your frustration. Currently, Pistache does not compile on windows as it's using Unix and Linux-specific primitives like However, Windows uses a slightly different approach with IOCP where you get notified when an operation completed on a particular port. For example, on Linux, you first register your socket fd on epoll and then get notified when there is data to read. You then Since Pistache is currently using the |
Why not create a select() based reactor? It is not efficient but it would make the library usable for Windows. |
Thanks @FastInvite2k2. While I respect your decision to still use Windows, you must appreciate that the majority of the people using Pistache have long since moved past it. We get that many people still rationalize using because it is still popular. However, it is a very poorly written operating system and not particularly attractive to develop on for the best engineers that I've encountered throughout my life. There is no system package manager, no file hierarchy standard, incapable of being publicly audited, endless security problems, and other costly liabilities. It adds nothing of unique value to the world today. Just my two cents, but I would encourage you to consider upgrading from legacy systems to a GNU system of your choice. The alternative is that you wait for the triage of scarce community resources against an archaic OS that probably should have been abandoned in the 90s. |
@kiplingw Stop trolling in GitHub issues. It is the wrong place. We are professionals, not children. |
related to pistacheio#41 related to pistacheio#183 related to pistacheio#760 closes pistacheio#960 related to pistacheio#985 related to pistacheio#6 related to pistacheio#538 related to pistacheio#649 related to pistacheio#741 related to pistacheio#874 closes pistacheio#525
related to pistacheio#41 related to pistacheio#183 related to pistacheio#760 closes pistacheio#960 related to pistacheio#985 related to pistacheio#6 related to pistacheio#538 related to pistacheio#649 related to pistacheio#741 related to pistacheio#874 closes pistacheio#525
Isn't it possible to make it usable at least on MSYS2 environment? |
I know it works in WSL, but I never tried compiling it with MSYS2. Have you tried compiling the library? |
I tried and it's missing a bunch of headers, tried to fix it but I ended up deeper and deeper with more and more stuff to fix |
* List all deps explicitly and remove `with pkgs;` * Remove unused `gtest` and `doxygen` deps * Enable OpenSSL support and make it optional * Replace `with lib; with platforms;` with `lib.platforms.*` * Use `pname` attribute instead of name * Set platforms to Linux only, as per: pistacheio/pistache#6 (comment)
* List all deps explicitly and remove `with pkgs;` * Remove unused `gtest` and `doxygen` deps * Enable OpenSSL support and make it optional * Replace `with lib; with platforms;` with `lib.platforms.*` * Use `pname` attribute instead of name * Set platforms to Linux only, as per: pistacheio/pistache#6 (comment)
* List all deps explicitly and remove `with pkgs;` * Remove unused `gtest` and `doxygen` deps * Enable OpenSSL support and make it optional * Replace `with lib; with platforms;` with `lib.platforms.*` * Use `pname` attribute instead of name * Set platforms to Linux only, as per: pistacheio/pistache#6 (comment)
* List all deps explicitly and remove `with pkgs;` * Remove unused `gtest` and `doxygen` deps * Enable OpenSSL support and make it optional * Replace `with lib; with platforms;` with `lib.platforms.*` * Use `pname` attribute instead of name * Set platforms to Linux only, as per: pistacheio/pistache#6 (comment)
* List all deps explicitly and remove `with pkgs;` * Remove unused `gtest` and `doxygen` deps * Enable OpenSSL support and make it optional * Replace `with lib; with platforms;` with `lib.platforms.*` * Use `pname` attribute instead of name * Set platforms to Linux only, as per: pistacheio/pistache#6 (comment)
No description provided.
The text was updated successfully, but these errors were encountered: