Supercharge Your Innovation With Domain-Expert AI Agents!

Dynamic languages for static hosts

A language, host technology, applied in the field of dynamic languages, which can solve the problems of difficult to use dynamic language scalability, single compiled language, etc.

Active Publication Date: 2011-12-21
MICROSOFT TECH LICENSING LLC
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, typically only a single compiled language can be used at a time
This makes it difficult to provide scalability using dynamic languages ​​such as M, R, and Python

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic languages for static hosts
  • Dynamic languages for static hosts
  • Dynamic languages for static hosts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Various embodiments allow multiple languages ​​to extend application hosts (such as Excel ), even though the language has resources that change dynamically at runtime, and multiple points of extensibility target statically defined or exported functions. For example, Excel The full multithreading model of is only designed to be used directly by native compiled code with a fixed set of entry points for the duration of the processing. However, even though functions are dynamically added, removed, updated, or their signatures changed, various embodiments allow multiple dynamic languages ​​to be inserted. This enables multithreading capabilities even with dynamic code. In particular, various embodiments may compile static code from dynamic code that may be used with an interface that allows multi-threading. Dynamic code is code that can change dynamically at runtime and cannot be statically compiled before runtime.

[0015] Furthermore, various embodiments can use dyna...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Using language add-ins with one or more static extensibility points of an application host. The method includes searching for user code in a user code store. Some user code is found in the user code store. A determination is made as to the language of the user code from among a plurality of predefined languages. The user code is provided to a language provider for the determined language. A function invocation is received from an application host. The function invocation is matched to at least a portion of the user code. The at least a portion of user code corresponding to the function invocation is executed via the language provider.

Description

technical field [0001] The present invention relates to dynamic languages ​​for static hosts, and more particularly to using language plug-ins with one or more static extensibility points of application hosts. Background technique [0002] Background and related technologies [0003] Computers and computing systems have impacted nearly every aspect of modern life. Computers are commonly involved in work, play, healthcare, transportation, entertainment, housekeeping, and more. [0004] Computer applications often include extensibility features. Specifically, in addition to supporting native functions, applications can be optimized to insert static functions from a single compiled language. [0005] Host application such as Word available from Microsoft Corporation of Redmond, Washington and Excel Support for native functions. Excel Examples of native functions in include SUM, MAX, MIN, VLOOKUP, and so on. [0006] Host application such as Word available from Micros...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/4425G06F9/4484
Inventor C·O·哈根洛赫A·摩尔J·拉姆
Owner MICROSOFT TECH LICENSING LLC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More