Support C++ / C#
Supporting C++ or better even, C#, will help lower the barriers for some developers to get on board. A pre-compiler, generating C from C++/C# might help.
Initially, C++ and C# support had been bundled together, we have now split these features requests as 2 separates asks and the current feature request will be closed.
1. If you would like to provide your vote to C# support, please go and vote on the suggestion “Support C#” at https://feedback.azure.com/forums/915433-azure-sphere/suggestions/38747848-support-c
2. If you would like to provide your vote to C++ support, please go and vote on the suggestion “Support C++” at https://feedback.azure.com/forums/915433-azure-sphere/suggestions/38747842-support-c
Use C# as programming is the best idea.
Jefferson Lee commented
I found a way to get a full C++ implementation onto the board, but you need to include a C++ stdlib in your code. I tried using a C++ standard lib from Debian's ARM port but since stdlib.h is cut down I had to also cut it down.
C# yes, definitely.
However, SphereOS does reinvent the wheel somewhat. Implementing the Wiring api suite (http://wiring.org.co/reference/alpha.html) would have allowed the Arduino tribe to contribute.
That said, C, C++ still make it easy to remove your foot (literally with microcontrollers), I much prefer managed code.
now, C# in Wiring - that would be a delight.
I've been using C# and Python on my Raspberry *** very successfully and would like to be able to do the same with my Azure sphere as I am more familiar with them and there are more samples out there for add-on components that I have that are Python of C# based. This would make it easier to get going with my projects.
Marek Rutkowski commented
Official support for C++ will be a great deal for me. I have many of my own high level / general-purpose components (I am using them even in MCU bere metal). They are easy to integrate with any environment with C++14 support via Dependency Injection.
Gutemberg Ribeiro commented
.Net Micro Framework is already something to run on MCUs. Not to mention GHI Electronics TinyCLR...
C# support would be great, and it's a lot safer than C++ for beginners for IoT stuff security wise seen.
Daniel Schwartz commented
C++ actually is supported, but may be not officially.
I did a quick check and see that I can change main.c into main.cpp, surround the includes with external "C". I can add C++ classes and instantiate them fine. The code compiles and runs just fine.
There is a known issue comment for OS 19.02 / 19.03 that C++ wasn't supported. I'll have to check whether I'M on 18.x or on 19.x with my OS. @Microsoft: Is there any reason for me not to use C++ for Azure Sphere development?
Remco Brosky commented
C# .NET Core Apps would be great
Rainer Worbis commented
C# would be great (even if it just cross compiled to C)
Quintin Rudman commented
I would love to Run .Net Core with C# Sharp on my Azure Sphere's imagine having Orleans Silos running on each throughout the building managing task like lighting, air conditioning, messaging, security and voice recognition for AI integration.