3 ms·
cppcomponents at https://github.com/jbandela/cppcomponents https://github.com/jbandela/cppcomponents With C++, it is hard to use code from 1 compiler with anot
by jbandela1 13y ago
cppcomponents at https://github.com/jbandela/cppcomponents https://github.com/jbandela/cppcomponents
With C++, it is hard to use code from 1 compiler with another compiler. In windows, it is even worse in that versions of visual c++, and even debug/release can't use the same binary. cppcomponents, allows code to be written in 1 c++11 compiler and used in another compiler, without giving up C++ features. You can use exceptions, and std:: string, vector, tuple, pair,chrono::timepoint.
I am hoping this makes it easier for people to create more c++ libraries. Currently, if you have anything other than a header-library, you either have to require the user to build the library, or else create a binary for every compiler (maybe even compiler version). With cppcomponents, you can create just 1 binary per platform that all the compilers can use.
Some of the libraries I have worked on are a libuv wrapper, a implementation of async/await in c++ (based on boost.coroutine), and currently working on libcurl wrapper. All these libraries are on github.