How does C# run in the universal app?

Asked

Viewed 47 times

1

I started studying the universal Windows 10 app and saw that the execution mode is different from Win32 or . Net, since it uses Winrt that calls directly to the system kernel, leaving languages like c#, Vb and js at the c++ level, at least that’s what I read.

What I wanted to know is whether C# needs . NET or some virtual machine to work or it uses only the Winrt API to perform the functions?

1 answer

1


The compilation of a UWP can be done using native code creation, which causes great performance in the app, but the build time increases significantly, only being recommended to create the final version of your application due to the delay. And no, no virtual machine is required or anything like that, in native code compilation everything is done at machine level.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.