TheAlgorithms/C

[FEATURE] Add Windows builds back

Panquesito7 opened this issue · 5 comments

Detailed description

Many people still develop and test algorithms on Windows, not only in Linux or MacOS.
However, this repository only has Linux and MacOS support, which if not well-tested on Windows, the code may have errors.

I suggest adding back the Windows builds. There are a few errors, but those can be fixed.

Context

  1. Windows users do not have to worry about errors or unwanted things happening when building.
  2. This ensures the code works perfectly fine on the latest Windows versions.
  3. MSVC (sometimes) catches a few other errors the other compilers do not.

Possible implementation

Add Windows builds back.

Additional information

I'd like to work on this, if agreed to add them back.

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!

Looks like Scilab has the fork function implemented in Windows. https://github.com/scilab/scilab/tree/master/scilab/modules/parallel/src/c
What do you folks think? Should we give it a try?

Looks like Scilab has the fork function implemented in Windows. https://github.com/scilab/scilab/tree/master/scilab/modules/parallel/src/c
What do you folks think? Should we give it a try?

I think it's worth the shot if it works then we're good to go!

ldo commented

You could just support building the code under Cygwin. That would give you a more Unix/Linux-like environment than native Windows can manage on its own.