pybind11 is a famous C++ extension module for Python. Yes, the Python
C API is usable in C++ thanks to extern "C" { ... } being used in
headers.Victor On Sun, Feb 21, 2021 at 6:59 PM Dan Stromberg <[email protected]> wrote: > > > It looks like CPython remains 100% C, so clang becomes more attractive: > https://stackoverflow.com/questions/6329688/llvm-and-visual-studio-obj-binary-incompatibility > > Then again, do we allow C++ extension modules? That might make C++ more > relevant, even if CPython itself is purely C. > > > On Sat, Feb 20, 2021 at 9:08 PM Dan Stromberg <[email protected]> wrote: >> >> mingw-w64 might be a small change. >> >> But while one is it at, it might make sense to evaluate: >> https://clang.llvm.org/docs/MSVCCompatibility.html >> Apparently clang on Windows is working on calling convention compatibility >> with Visual Studio. >> >> >> On Sat, Feb 20, 2021 at 8:37 PM <[email protected]> wrote: >>> >>> I think perhaps we should admit that this build system is no longer >>> supported. From everything I can tell, the mingw project is no longer >>> maintained. The project's site, mingw.org, is no longer live; the project >>> on sourceforge, although still downloaded daily, had its last commit almost >>> 3 years ago - a commit which changed the official project URI to a new link >>> that now is also dead. >>> Looking over BPO there are a little over 50 bugs open against mingw, but >>> only 7 that have any meaningful activity within the last three years. Three >>> of those issues explicitly mention mingw-w64 which is an active fork of the >>> original mingw project (active homepage, commits almost daily, new release >>> within the last 6 months) and I wonder if this is the project the other 4 >>> projects meant by "mingw"? >>> Ideally any features and flags in the code base for mingw would be checked >>> to already be working with mingw-w64 or else modified to work, but this >>> would require a sponsor for this platform, which appears to be missing. >>> Further, there is no buildbot for mingw, which should be a requirement to >>> be a fully supported platform, as per this PEP. This potential work appears >>> non-trivial with a cursory look at the mingw-w64-python pacman project, >>> which contains close to 100 patch files. I am purposing instead that mingw >>> be deprecated and, if a sponsor comes along, mingw-w64 can become >>> re-supported, or newly supported depending on you point of view, as allowed >>> by the PEP. >>> _______________________________________________ >>> Python-Dev mailing list -- [email protected] >>> To unsubscribe send an email to [email protected] >>> https://mail.python.org/mailman3/lists/python-dev.python.org/ >>> Message archived at >>> https://mail.python.org/archives/list/[email protected]/message/XIWF3OYL7OQRBVRBBQCBKPPJH5OKVVRC/ >>> Code of Conduct: http://python.org/psf/codeofconduct/ > > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/HEK67QOUQ4RD42HLBDTR3CJJNEMB3HJF/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/Q7D6ENQNDANZGZQ5AORKGFH6EBEW5AI6/ Code of Conduct: http://python.org/psf/codeofconduct/