Alternatives to cpp-netlib to do asynchronous http requests in C++ [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I spent half of the day today unsuccessfully trying to install cpp-netlib on Mac OS X (the goal is to implement asynchronous http requests in C++). When I do 'make' to build and run the tests, I have lots of "no matching constructor" errors coming from Boost. Having read this, I tried installing different versions of Boost (1.49, 1.50, 1.51), but that didn't help. So I'm at the point of thinking of alternatives to cpp-netlib. One possibility is to use Boost.Asio directly, but it would have been great to use something like cpp-netlib as it is much easier to use once it's installed. Any alternatives to cpp-netlib which come to mind? Or any other way I should try to make cpp-netlib pass the tests? Thanks in advance!

Related

Logging framework for C++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I apologize to take a topic which is widely discussed before - but I find none of the discussions clearly tell which one to use ultimately. My requirements for a logging framework in my C++ project are
Thread safe.
Should support multiple targets.
Log rotation possible.
A way to identify module's implicitly.
I have been using boost log for some time in a small c++ project and it worked well. But when I took to a large C++ project - I found supporting multiple targets(I mean multiple files for the same project) is a nightmare, No way to implicitly mention which module is logging and above all the compile time has increased at-least 40%.
Now I am looking at alternate framework and think log4cplus and logog seems fill all my requirements. Wanted to get an expert opinion on which would suit the above criteria rather than getting in a soup again after using the library for some time.

C++ Logger Performance and Portability [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm writing a C++ application, that I have to deploy to a server in the future (maybe as a node.js C++ module).
I really need a logging library that help me during the development process.
Now I'm using log4cxx, but I need the code to be portable, so I prefer to have a source file to include in the project. I also need a performing C++ logger, that does not slow down the application in both case with logging turned on and off. Can anyone help me with this choice? My options are:
Log4cplus: simple and easy to use and extend. But performance?
Google-Glog: easiest to use and very very fast. But I need to compile it and it use system flag, I wonder if it is a problem when I use it with node.js.
As far as I know the log4cxx uses Apache runtime as its base so ,portability is not an issue with log4cxx. Also it provides macros for optimized logging. Is there anyother reason you want to shift from log4cxx?

connecting to mysql database c++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am trying to connect to mysql databse with c++.
Im not so good with c++ since i'm web developer, so i was searching around for some good tutorials and found some but most of them are outdated, and my problem that i'm using microsoft visual c++ 2010 so most of tutorials are for older versions and doesn't work so well.
Anyways maybe any one could point me to the right direction with some documentation/tutorials, etc.
I would try this. It seems like the most up-to-date implementation of what you're asking for. It would probably be worth getting an older version of visual C++ if need be.

Best C++ RPC library for Windows/Visual Studio [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I know this kind of question is asked a lot but I have a set of requirements:
1. Be able to compile and develop in Visual Studio on Windows.
2. Be somewhat modern - Async/threaded, clean.
3. C++
I've looked at thrift, messagepack, and even protobuf+RPC. All of them have massive issues in Windows.
FYI - I'm no pro programmer so asking me to apply out-dated patches to untested code is a pretty big ask. I know thrift has some patches available, but their >2MB big for old versions of thrift, with other patches thrown on top. God knows how well that'll work.
Did you consider using Protobuf together with Boost asio? Of course it is not an RPC library, so that part you would have to do at your own, but it would be asynchronous and fast.
you can use ICE & proto buffer. since version 3.4.1, proto objects have been suported by ICE though there are some limits.

Using Intel Threading Building Blocks (TBB) in Linux [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to use Intel Threading Building Blocks (TBB) in Linux. Can anyone suggest a good IDE for that and possibly any steps to integrate TBB with that IDE?
Thanks,
Rakesh.
As long as I know TBB is a set of C++ libraries which purpose to handle task of parallelization of code. So there is no need in any integration(exactly as you using STL) and you can use whatever IDE you wish, e.i. Eclipse, KDevelop and more.
TBB is just a library, you can use it along with any C++ IDE. All you need to do is to set the include directory for the TBB installation.