Metro style applications use WinRT, which is a replacement for the old COM-based WinAPI. You can create your own WinRT components that can be used with .NET or even JavaScript - and this does not require additional effort. Regarding existing C ++ code, note that WinRT provides only a subset of Win32.

It doesnβt matter if you use C / C ++, C # or JS code when you use WinRT, you donβt directly call WinRT, but it goes through a binding called projection , which is what takes care that your WinRT components corresponded to another language.

"Can a Metro Windows 8 application contain built-in assembler?"
You can embed assembly language instructions directly in your C and C ++ code, because your compiler allows you to do this. Look at Inline Assembler as a collection of build instructions written as built-in functions that are built into the compiler . The fact that you are using WinRT does not matter here.
Questions that may help you:
Why is WinRT unmanaged? C ++, C # and JavaScript on WinRT
What are WinRT language forecasts?
Liho
source share