Showing posts with label Windows 8. Show all posts
Showing posts with label Windows 8. Show all posts

Friday, May 3, 2013

WinRT vs WinPRT

Windows Runtime (WinRT)

  • Is a subset of native API that is built into Windows 8 and Windows RT operating systems.  
  • Supports development in C++, C#, VB.NET, JavaScript and TypeScript
  • Supports XAML framework and HTML5 for UI design.
  • WinRT Apps:
    • Are known as Windows Store Apps.  
    • Natively support both the x86 and ARM architectures. 
    • Run inside a sandboxed environment to allow for greater security and stability.

Windows Phone Runtime (WinPRT)

  • Is a subset of native API that is built into Windows Phone 8 operating system. 
  • Supports development in C++, C# and VB.NET.
  • Supports XAML framework for UI design.


WinRT and WinPRT frameworks are similar in many areas. The following diagram shows the relationship between them in terms of the API surface area they implement:


  1. The API surface area of WinRT is very large, with over 11,000 members. Area 1 in the diagram above represents the APIs that are not available on WinPRT.
  2. The set of WinRT API adopted for WinPRT is represented by area 2 in the above diagram and consists of approximately 2,800 members. For some types, MS have not implemented certain members. For others they have added additional members to support phone-only features. In both cases, these differences are noted in the API reference documentation.
  3. Phone specific key APIs are represented by area 3 in the diagram and total about 600 members. For example, brand-new APIs for speech synthesis and recognition, VOIP, and other features. 


Source

Tuesday, June 5, 2012

How to run Skype in Windows 8 Release Preview

UPDATE: Skype has released a hot fix for these issues so instead of following these steps please re-install/update the latest version of Skype.

Fix login issue:
  • Stop Skype (it doesn't stop all the way in Win8 RP so kill it using Task Manager/Process Explorer)
  • Go to C:\Users\YourUserName\AppData\Roaming\Skype
  • Delete the following folders and files
    •  shared_dynco
    • shared_httpfe
    • shared.lck
    • shared.xml
Fix high CPU usage:
  • Run Process Explorer
  • Find Skype from the running processes
  • Double click the Skype.exe process
  • Go to Threads tab (click ok on the warring, it only shows up once)
  • Sort the running threads by CPU usage and kill the one that is consuming highest CPU resource
  • Skype will be still running but it will consume less CPU resource than before

FizzBuzz in different languages

Java: import java.util.TreeMap ; public class Main { public static void main (String[] args) { System. out .println( ...