Can an Metro Windows 8 Application contain inline Assembler? Also is Metro C++ Native, or managed, or can you mix them both like C++/CLI?
Metro style apps use WinRT, which is COM-based replacement of an old WinAPI. You are able to create own WinRT components that can be used from .NET or even from JavaScript - and it costs you no extra effort. As for existing C++ code, note that only a subset of Win32 is provided in WinRT.
It doesn't matter whether you code in C/C++, C# or JS, when you use WinRT, you don't directly call the WinRT but it goes through a binding called projection, which is what takes care of your WinRT components to be exposed to the other language appropriately.
"Can an Metro Windows 8 Application contain inline Assembler?"
You are able to embed assembly-language instructions directly in your C and C++ code because your compiler allows you to do that. Look at Inline Assembler as a set of assembly instructions written as inline functions, that are built in the compiler. The fact that you are using WinRT is irrelevant here.
Questions, that could help you:
Why is WinRT unmanaged?
C++, C# and JavaScript on WinRT
What are WinRT language projections?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With