See: http://www.infoq.com/news/2012/11/Panel-WinRT-Answers
Chris Anderson, Chris guzak, Jerry Dunietz, Kamen moutafov, Martyn Lovell, Elliot H omiya, lead developers working on various winrt components, have taken questions during the build 2012 panel the Windows runtime Q & A, answering some of the developers 'ardent questions on Windows 8 applications, especially winrt ones. following is a digest of the answers to most important questions.
There is one CLR, one set of DLLs, for desktop and Windows Store applications, but a desktop application's CILS do not go the path of winrt.
Winrt asynchronous cballs may create a problem for cases when, for example, someone has to check the name of hundreds of files. an exception is thrown for each call making the debugging experience cumbersome. the team considers solving this problem in the future.
Microsoft is not disclosing any information regarding future versions. net or winrt, but they will do that at some point in the future. all that they can say right now is the "Windows 8 has a version of winrt in it."
Opening a file by a Windows Store app will fail if the file is already opened by a desktop app in exclusive mode. to avoid such a conflict one needs to open the file in Read mode. the underlying file system is common to both winrt and desktop apps.
An async operation is executed on a separate thread that comes from a dedicated thread pool administered by windows. care must be taken when firing a large number of asynchronous callfrom the UI thread because they can have a severe impact on the application when they all come back. if an application is to run your async CILS, then it is recommended to batch their execution so it won't overload the system.
There is a new type of string in winrt in order to have a common way that supports the needs of various targeting winrt. A string created in a language-C #, C ++, JavaScript, etc. -is not automatically duplicated when passed to winrt, only a reference is passed for performance reasons, but it can be duplicated when necessary.
The Windows Store certification process covers only the basic tests to ensure an application's compatibility with winrt devices, such as surface, and it is not an exhaustive one. extensive testing needs to be saved med in order to ensure an application behaves correctly when run on a target device.
Microsoft is not providing programmatic access to some of the system's hardware information-such as the battery level-in winrt to avoid developers use it to change the application's behavior based on that. the idea is to let applications have a consistent behavior between SS devices and system states. the Windows 8 Dev portal provides some information regarding the devices and Windows versions an application runs on.
It is hard or impossible to write System Administration type of applications for winrt. The system prohibits or limits access to certain system resources.
There is no programmatic way to query or enforce the application that will serve a certain protocol, such as the file protocol setting determining which application plays MP3 files. The demo-is left to the user.
Regarding Communication Between desktop and store apps, one of the panelists said: "We work hard for that not to work. "the only way to communicate is through protocols and file type association which are under user's control.
A winrt application can have multiple views running in separate threads. windows considers 2 such views as one single application, that meaning an user cannot switch between the views using the system app switching mechanic but a mechanic developed separately for the app.
A Windows Store application can open ports and communicate but not the web server's port, 80.