Using C++ DataFrame with earlier versions of C++ and build instructions from source for all supported platforms and compilers #358
-
Let me start by stating that this is a wonderful effort and I look forward to using it. Would greatly appreciate if it may please be clarified whether it is possible to use this library with a version of C++ older than C++23. I understand (thanks to Hossein!) that vcpkg builds and current codebase is C++23 compatible. Most workplaces have only recently ported/ upgrade to C++17 so a leap to C++23 is quite a steep one. On MSVC, C++23 is still available in preview: /std:c++23preview. It will also be helpful if instructions for 'building from source' for all supported platforms are clearer. Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Building the current codebase with C++17 is not trivial. It requires a lot of changes that makes the code even less efficient. The build instructions in the docs are for CMake build (recommended). I am not experienced in Windows development environment nor do I have access to one. But as far as I know MSVC supports C++23 very well. This is the output the CI build based on MSVC https://ci.appveyor.com/project/hosseinmoein/dataframe I hope this helps |
Beta Was this translation helpful? Give feedback.
-
Just one other thing, compiling a C++17 codebase with a C++23 compiler should just work without a need to change any code. |
Beta Was this translation helpful? Give feedback.
Building the current codebase with C++17 is not trivial. It requires a lot of changes that makes the code even less efficient.
The build instructions in the docs are for CMake build (recommended). I am not experienced in Windows development environment nor do I have access to one. But as far as I know MSVC supports C++23 very well. This is the output the CI build based on MSVC https://ci.appveyor.com/project/hosseinmoein/dataframe
I hope this helps