deenam
Posts: 6
Joined: Mon May 04, 2015 5:28 pm

Reg C++ usage

Mon May 04, 2015 5:47 pm

hi all,

all the samples are in c#, but we see in the documentation that c++ is also supported.
can someone confirm this ?

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Reg C++ usage

Mon May 04, 2015 6:04 pm

There's lots of C++ samples.
https://github.com/ms-iot/samples
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

jtanner_msft
Posts: 105
Joined: Fri May 01, 2015 7:12 pm

Re: Reg C++ usage

Tue May 05, 2015 10:32 pm

Correct, C++ is supported. It's primarily intended for console applications or background services on the device. If you wanted to develop something with a bit of UI then C# / Universal Apps is a much better option.
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

sergbokh
Posts: 4
Joined: Thu May 07, 2015 9:54 pm

Re: Reg C++ usage

Thu May 07, 2015 10:13 pm

Visual Studio 2015 RC has a 'Windows Universal Blank Application' template under C++ section (just like in C#).
This project type has the same .xaml dialogs and so on.

Did anybody seen any performance tests? Theoretically C++ based rich-UI application should be more responsive especially on such resource-limited devices?

Or is the 'universal application' in fact just kind of a wrapper around of 'windows universal' core framework and it does not really matter in what language this wrapper is implemented?

jtanner_msft
Posts: 105
Joined: Fri May 01, 2015 7:12 pm

Re: Reg C++ usage

Fri May 08, 2015 10:53 pm

You might see a small benefit in performance when launching a 'native C++' application over a managed app, but after the initial load period the differences should become minimal.

If you're actually building a C++ managed application, then the end result should also be intermediate code which should run the same as if you wrote in C# or VB.
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

Return to “Windows 10 for IoT”