Comments (9)
My personal opinion (which is the only one that matters) is that boost
should start removing items. If you are stuck on a prehistoric compiler you
can still use 1.60 but if you are on clang or gcc6 then you could use
boost2 which has all those features that appeared in the major compiler
release removed. The libraries themselves are modified to use the standard
libraries.
I've seen new projects where devs were using boost::shard_ptr despite being
available in both 4.8.4 and VC2013 natively (bind was another).
Sent from my Nexus 5.
On 8 Jul 2016 6:22 a.m., "Yonggang Luo" [email protected] wrote:
Boost is too big to use, maybe once C++17 comes out, the boost depends
could be able to be removed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#60 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AEy9nG_qNnlHxPwFpaEeGI7xGwbFyyFuks5qTd6AgaJpZM4HLWL8
.
from cpprestsdk.
Boost is too big to use, maybe once C++17 comes out, the boost depends could be able to be removed.
from cpprestsdk.
On Windows, we only use boost for our tests and for websockets. If you disable websockets on windows, this should remove the requirement for boost.
However, on other platforms we use it to provide the backing threadpool and it can't be removed.
from cpprestsdk.
Is there some other way to replace Boost with something else for threadpool?
from cpprestsdk.
In addition to the threadpool, we also use boost asio for our entire socket implementation on non-windows. If you were only using the library for JSON parsing, it might be possible. Otherwise, I don't see how it would be possible without rewriting most of the library.
from cpprestsdk.
To be fair, asio is also available in a non boost flavour.
Sent from my Nexus 5.
On 5 Feb 2016 1:24 a.m., "Robert Schumacher" [email protected]
wrote:
In addition to the threadpool, we also use boost asio for our entire
socket implementation on non-windows. If you were only using the library
for JSON parsing, it might be possible. Otherwise, I don't see how it would
be possible without rewriting most of the library.—
Reply to this email directly or view it on GitHub
#60 (comment)
.
from cpprestsdk.
This is interesting. It's possible that we could use Non-boost ASIO, we have not looked into that. Does that actually make it easier to use the library?
from cpprestsdk.
Greetings, I would like to see if any progress has been made with respect to removing boost (or at least to see if a roadmap decision or goal was made). We are intrigued by the library and it's being rather elegant and cross-platform - but boost is just too heavy of a dependency to carry. We tried and put effort forth, too - but alas it's too huge. Please kindly revisit this issue.
from cpprestsdk.
This is interesting. It's possible that we could use Non-boost ASIO, we
have not looked into that. Does that actually make it easier to use the
library?
Not really. Exactly the same calls. Just has asio:: and not boost::asio::
prefix.
GR
from cpprestsdk.
Related Issues (20)
- Documentation Bug in CMake File
- Why do I get these errors when cross-compiling?
- EOF error
- Printing a json-array without sorting the keys
- How to set timeout for the socket connection HOT 1
- Periodic drop in throughput in inter-(linux N/W namespace) communications HOT 1
- Static version of the nugget for Visual Studio Express 2013 for Windows Desktop
- The web_proxy doesn't work when set proxy with uri
- Charset support gbk...
- utility::details::str_iless(str1, str2);
- [MSVC] websocketsclient_test failed due to CHECK_EQUAL(ret_msg.length(), body_str.length()) where ret_msg.length()=32 and body_str.length()=5 HOT 1
- ../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found HOT 2
- async http client post/get request demo?
- nable to add both a file stream and key-value pairs to the body of the request simultaneously
- error: building cpprestsdk:x64-linux failed with: BUILD_FAILED HOT 1
- [http_client] CN checking against caller-specified Host header doesn't strip a port number
- using cpprest and segmentation fault on ubuntu 22.04 HOT 1
- hey dont worry about
- Need to double confirm if cpprestsdk supports HTTP proxy server secured by TLS
- vcpkg install should deploy ThirdPartyNotices.txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpprestsdk.