Modern C++ and Windows Store apps giveaway – An update

I wanted to provide a quick update on the winning responses so far to book contest I have announced a few weeks back. I am humbled by the responses I have received so far. The winning responses, from the mails I have received until now are:

I am excited to apply modern C++ to code snappy and responsive Windows 8 metro apps using asynchronous functions, now wonderfully described in Sridhar’s book on Windows 8 application programming. I’ve been trying to find the best sources of information for Windows 8 application programming to write apps that work on phone/tablet and PC.  I plan to write applications that are education games or tools related to biology.”

“Thanks for writing a book on using modern C++ with Windows 8. I am a long time C++ developer, having worked for many years with Symbian and Qt. This book has come at the right time for me to update my skills :) The fascinating thing about Windows has always been its reach. No question about it. But with Windows 8, I feel that Microsoft is now at the forefront of design as well. I love the way the “modern” apps look and perform on my tablet, and I am amazed by their performance even on this old device. Modern C++ provides me with an easy pathway to the Windows 8 ecosystem. Ever since Microsoft released the source for Project Austin, I have been looking at the possibility of developing an application for Windows 8 with C++. With the release of your book, I hope to learn a few tricks which will make my task much easier.

“My name is XXXX and I work for a XYZ company and write software that processes large amounts of data and visualizes it using various plot types such as scatter, histogram, density, and contour plots. The software also controls the hardware during run-time data acquisition. Currently the software runs on the desktop using WPF and C#. As the data rates and file sizes increase I am starting to hit the threshold of the C# – .Net technology. I am now seriously considering writing the software in C++ 11 and Windows Store App. Previously I did some prototyping with C++/CLI and WPF, and the performance while better was not enough to justify the move. The boundary between C++ and C# forced some design compromises and to be honest had some performance problems. With WinRT C++/CX and native XAML the story becomes very intriguing. While there are still boundary problems to aware of (avoid ‘chatty’ api’s) I believe the design will be much cleaner and have much better performance. Additionally I have been working with C++ Amp to do a lot of parallel processing. The results have been very encouraging. It seems as though the stars have aligned in terms of performance (C++, and AMP), Fast and Fluid UI (Windows Store App), and my existing knowledge of Xaml and WPF. I believe this combination will give me the opportunity to write some great software that performs well, and looks great and runs on tablet and eventually mobile (reduced function set.)  I think that the combination will truly give me full power at my fingertips to extract the most from the hardware available. I am looking for the knowledge of how to best use Modern C++ with the new WinRT framework to quickly come come up to speed. ”

 

I still have 6 copies to giveaway. If you want a copy, please do let me know.

-Sridhar

2 thoughts on “Modern C++ and Windows Store apps giveaway – An update”

  1. Hi Sridhar,
    Just bought the Modern C++ and Windows Store apps – PDF. Great e-book for Modern C++ beginners like me. Basically I am a .NET developer and new to C++/CX

    I got some queries on C++/CX JSON serialization and templates in C++ /CX that I am porting from C# Windows 8 App porting a C++ Windows 8 App.

    Here’s the sample C# JSON class code snippet:
    ///
    /// Converts an object of type T to a JSON string representation.
    ///
    /// The type of the object to be converted.
    /// The object to be converted to a JSON string.
    /// The resulting JSON string representation of the provided object.
    internal static string Stringify(T obj)
    {
    MemoryStream stream = new MemoryStream();

    DataContractJsonSerializerSettings settings = new DataContractJsonSerializerSettings();
    settings.UseSimpleDictionaryFormat = true;

    DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(T), settings);
    serializer.WriteObject(stream, obj);
    stream.Position = 0;

    string result = “”;
    using (StreamReader streamReader = new StreamReader(stream))
    {
    result = streamReader.ReadToEnd();
    }

    return result;
    }
    As DataContractJsonSerializer is a .NET dependency, how do you do without it? Can you please help stringify in C++/CX.

    Boolean JSON::TryStringify(T* obj, String^* str)
    {

    }

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>