Microsoft Developer Division Labs rolled out a new set of libraries for C++ developers, codenamed “Casablanca,” which is designed to make it easier for C++ coders to consume and implement RESTful services.
What does Casablanca provide, exactly?
“Casablanca is a Microsoft incubation effort to support cloud-based client-server communication in native code using a modern asynchronous C++ API design,” explained the DevLabs page.
“With Casablanca, you get support for doing things like developing REST services for Azure, or accessing them from clients via an HTTP library, sending JSON data, accessing Azure blob and queue storage, and using TCP for flexible networking needs, all in a library that takes advantage of modern C++,” Microsoft stated.
There’s a Visual Studio extension SDK to help devs write C++ HTTP client side code in Windows 8 Metro-Style apps, and promised support for writing native-code REST for Azure, with Visual Studio integration. (The VS11 Azure supportisn’t there yet.)
“Casablanca also gives you a convenient model for composing asynchronous operations. C++ 11 offers a whole new set of capabilities that can make dealing with asynchronous operations easy, and Casablanca takes advantage of that throughout.”
“Another aspect of Casablanca is its implementation of the actor programming model, which has proven itself useful in building reliable and scalable systems,” Microsoft adds.
At GoingNative 2012, Herb Sutter addressed the need for more general purpose standard C++ libraries – high level libraries – for use in modern computing. Watch the Introducing Casablanca – A Modern C++ API for Connected Computing video below: