Windows Phone 8 introduced a new "Runtime 8" platform that provides backwards compatibility with Windows Phone 7 apps. It allows code sharing between Windows Phone 8, Windows 8, and portable class libraries. The Windows Phone 8 SDK added new APIs, supported additional languages like JavaScript, and improved areas like threading, in-app purchasing, and connectivity.