Concurrent accesses of dynamically typed object data
Abstract
A method and an apparatus for an enhanced object model to allow concurrent execution for program code generated from dynamic programming languages, such as JavaScript, are described. An index structure may be introduced to an object model representing a dynamically typed object in addition to a type structure and a data payload storing property or field values of the object. Elements of the index structure may point at corresponding property values as an indirection for accessing the object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-readable non-transitory storage medium having instructions therein, which when executed by a machine, cause the machine to perform a method, the method comprising: providing an object model in a memory during runtime, the object model representing an object specified in a source code, the object model including a property structure, an index structure and value storages for the object, the property structure storing one or more existing properties of the object, the value storages storing one or more property values corresponding separately to the one or more existing properties, and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- "Inline caching," Wikipedia, Wikimedia Foundation, Inc., Jan. 2, 2012, downloaded from http://en.wikipedia.org/w/index.php?title=inline-caching&printable=yes, Apr. 1, 2014, 4 pages.
- Andreas Gal et al., "Trace-based Just-in-Time Type Specialization for Dynamic Languages", Proceedings of the 2009 ACM Sigplan Conference on Programming Language Design and Implementation, PLDI '09, vol. 44, Jan. 1, 2009.
- Daniele Bonetta et al., "TigerQuoll", Association for Computing Machinery, ACM Press, New York, New York, USA, vol. 48, No. 8, Feb. 23, 2013.
- Davide Ancona et al., "RPython: a step towards reconciling dynamically and statically typed 00 languages", Proceedings of the 2007 Symposium on Dynamic Languages, DLS '07, Jan. 1, 2007, pp. 53-64.
- Jennifer B. Sartor et al. "Z-rays: divide arrays and conquer speed and flexibility", Proceeding of the 2010 ACM Sigplan Conference on Programming Language Design and Implementation, PLDI '10, Jun. 5, 2010, pp. 471-482, XP055148793, New York, New York, USA.