C++ casablanca vs Mozilla NSPR vs Facebook folly - c++

Has anyone evaluated these libraries for their pros and cons as a cross-platform library?
I understand NSPR is very old and stable, but how does it compare to Microsoft Casablanca C++ rest SDK and Facebook folly.
Microsoft Casablanca is capable of running on iOS and Android.
But if I am looking for supporting only OSX, Linux and Windows which one should I go with and why?
Is there any other cross-platform library I should look at?

I was look for a cross platform HTTP client in C++. The following link gives a brief on many options available there,
http://kukuruku.co/hub/cpp/a-cheat-sheet-for-http-libraries-in-c

Related

Does ADAPTIVE Communication Environment (ACE) C++ library has support for iOS and Android?

I have been searching for cross platform C++ networking libraries with SSL and authentication support and came across ADAPTIVE Communication Environment (ACE) C++ library.
However, searching through its website ( http://www.dre.vanderbilt.edu/~schmidt/ACE.html and http://www.dre.vanderbilt.edu/~schmidt/ACE-versions-i.html), i can't find android mentioned anywhere.
Is this library supported on Android along with MacOS, Windows and Linux? I have also come across boost ASIO and POCO but wanted to consider ACE as well if the platform support is there for my requirement.
ACE supports Android and iOS, see the ACE-INSTALL.html for some documentation.

REST client in C++

Has anybody successfully tried any C++ REST library (client) in their enterprise product? It can be collection of software stack, but it should have the capability to run on all platforms, i.e.: Windows, Linux, Solaris, AIX, HP-UX.
You may want to check thin REST client for C++ at https://github.com/mrtazz/restclient-cpp.
It is a C++ wrapper around good and stable multiprotocol, multiplatform libcurl library.
C++ REST SDK is an actively developed C++ REST client that is currently supported in Windows, Mac OS X, iOS and Android. It is also licensed under Apache License 2.0 which opens up a range of customizations on the library to suit your needs.
Here is the list for most useful C++ libraries include network library:
https://en.cppreference.com/w/cpp/links/libs
you can see listed can be used as REST client library:
Boost.Beast
C++ REST SDK
curlpp
I cannot recommend any integrated solution but what you can do is use:
Transport: neon, serf or libcurl (all of them have advs and disadvs)
XML parsing: libexpat or libxml2
JSON parsing: Jansson or JSON Spirit

Interactive Brokers C++ POS API example?

Has anyone ever seen a working example of this? I am looking for a Linux environment using gcc not Windows with Visual Studio?
The book http://www.interactivebrokers.com/download/GettingStartedC++APIAdvisors.pdf of has:
The C++ API is supported only on Windows, however.
is this Interactive Brokers C++ POS API still valid or supported?
Thanks
POSIX API is still supported. Many folks use either https://github.com/rudimeier/twsapi or https://github.com/JanBoonen/TwsApiCpp for their projects since all of the threading, messaging and other housekeeping are taken care of for you.
The TestCppClient project included with the TWS API download can be built on Linux or Mac with the provided makefile. It has macros which detect the OS and include the corresponding appropriate code.
TWS API Download

Cross platform open source third party library for WebServices

I'm looking for cross platform open source third party library for web services which support c++. I have generated c++ files using WSMakeStubs utility but it uses Core Foundation data types. I want a library which provide web service call through c++ so that I can use it on Windows and Mac both the platform.
I wanted stubs that can be used on both Windows and Mac platform.
Could any one suggest me good library.
thanks
I would like to recommend gSoap. In the company I'm working at, we use it for about 7 years now (since version 2.6.0, the actual version is 2.8.3) and only made good experiences with it. Look at the success stories to get an overview of the companies which are using it.
Related:
C++ and SOAP
What is a good platform for devoloping web services in C++?
A Good C++ Library for SOAP
pion is a possibility, though I don't know how it compares to gSoap or other alternatives. I got it working an evening then got distracted with other reverse economies. I seem to remember it having fewer dependencies of the others I researched.

Can I do Android Programming in C++, C?

Can I do Android programming in C++, C? If the answer is "yes" then please tell how? And what's the procedure to set up?
I don't know Obj-C, Java, but well-versed in C, C++, Flash AS3, SDK released by Google.
Please do not tell about NVDIA SDK it's not fully developed :)
PLEASE NOTE: THE ANSWER BELOW IS HORRIBLY OUTDATED, AND MIGHT NOT BE ENTIRELY CORRECT ANYMORE.
You can program in C/C++ using the Android NDK. You'll have to wrap your c++ codebase in a static library and load that through a Java wrapper & JNI.
The standard NDK does not support RTTI and a lot of the functionality of standard c++ is also not available such as std::string, etc. To solve this you can recompile the NDK. Dmitry Moskalchuk supplies a modified version of the NDK that supports this at http://www.crystax.net/android/ndk-r3.php. This modified version works on all Android phones that run on an ARM processor.
Depending on the kind of application you should decide to use Java or C/C++. I'd use C/C++ for anything that requires above average computational power and games -- Java for the rest.
Just pick one language and write the majority of your application in that language; JNI calls can decrease your performance by a lot. Java isn't that hard though -- if you know how to program in C/C++. The advantage of Java is that the application can run on any device running Android, where as NDK applications depend on the architecture it was compiled for.
You should use Android NDK to develop performance-critical portions of your apps in native code. See Android NDK.
Anyway i don't think it is the right way to develop an entire application.
Yes, you can program Android apps in C++ (for the most part), using the Native Development Kit (NDK), although Java is the primary/preferred language for programming Android, and your C++ code will likely have to interface with Java components, and you'll likely need to read and understand the documentation for Java components, as well. Therefore, I'd advise you to use Java unless you have some existing C++ code base that you need to port and that isn't practical to rewrite in Java.
Java is very similar to C++, I don't think you will have any problems picking it up... going from C++ to Java is incredibly easy; going from Java to C++ is a little more difficult, though not terrible. Java for C++ Programmers does a pretty good job at explaining the differences. Writing your Android code in Java will be more idiomatic and will also make the development process easier for you (as the tooling for the Java Android SDK is significantly better than the corresponding NDK tooling)
In terms of setup, Google provides the Android Studio IDE for both Java and C++ Android development (with Gradle as the build system), but you are free to use whatever IDE or build system you want so long as, under the hood, you are using the Android SDK / NDK to produce the final outputs.
You should look at MoSync too, MoSync gives you standard C/C++, easy-to-use well-documented APIs, and a full-featured Eclipse-based IDE. Its now a open sourced IDE still pretty cool but not maintained anymore.
You can take a look also at C++ Builder XE6, and XE7 supports android in c++ code, and with Firemonkey library.
http://www.embarcadero.com/products/cbuilder
Pretty easy way to start, and native code. But the binaries have a big size.
You can use the Android NDK, but answers should note that the Android NDK app is not free to use and there's no clear open source route to programming Android on Android in an increasingly Android-driven market that began as open source, with Android developer support or the extensiveness of the NDK app, meaning you're looking at abandoning Android as any kind of first steps programming platform without payments.
Note: I consider subscription requests as payments under duress and this is a freemium context which continues to go undefeated by the open source community.
There is more than one library for working in C++ in Android programming:
C++ - qt (A Nokia product, also available as LGPL)
C++ - Wxwidget (Available as GPL)