Invention Grant
- Patent Title: Adaptive portable libraries
-
Application No.: US13525356Application Date: 2012-06-18
-
Publication No.: US10402208B2Publication Date: 2019-09-03
- Inventor: Mircea Trofin , Krzysztof Cwalina , Patrick H. Dussud
- Applicant: Mircea Trofin , Krzysztof Cwalina , Patrick H. Dussud
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee Address: US WA Redmond
- Main IPC: G06F9/445
- IPC: G06F9/445 ; G06F8/41

Abstract:
Platform-agnostic source code can be augmented with one or more portions of source code annotated for different platforms and/or versions. The source code including both the platform-agnostic and platform-specific and/or version-specific portions can be compiled once to create a single executable that can be distributed to and can run on multiple device platforms and/or multiple versions of one or more platforms. Platform-specific or version-specific executables (e.g., assemblies, binaries, etc.) can be embedded into a binary or executable as resources (e.g., data). When the compiled code is executed on a device, the runtime can extract the platform-specific portion corresponding to the device on which the executable is being run, can bind the extracted portion to the executable and can load and execute the executable. Hence the same binary can produce different results or functionalities depending on the capabilities of the platform on which the binary runs.
Public/Granted literature
- US20130339928A1 ADAPTIVE PORTABLE LIBRARIES Public/Granted day:2013-12-19
Information query