The Weaves Reconfigurable Programming Framework
Srinidhi Varadarajan

TL;DR
The Weaves framework provides a flexible, language-independent intra-process composition model that enables arbitrary sharing of state among code modules without modifying existing code, supporting dynamic instantiation, scheduling, and fast context switching.
Contribution
It introduces a novel intra-process programming framework that generalizes threads and processes, allowing flexible state sharing and dynamic module management without code modification.
Findings
Validated on Sweep3D benchmark and Linux TCP/IP stack
Supports dynamic instantiation and flexible sharing of modules
Achieves fast context switching comparable to threads
Abstract
This research proposes a language independent intra-process framework for object based composition of unmodified code modules. Intuitively, the two major programming models, threads and processes, can be considered as extremes along a sharing axis. Multiple threads through a process share all global state, whereas instances of a process (or independent processes) share no global state. Weaves provide the generalized framework that allows arbitrary (selective) sharing of state between multiple control flows through a process. The Weaves framework supports multiple independent components in a single process, with flexible state sharing and scheduling, all of which is achieved without requiring any modification to existing code bases. Furthermore, the framework allows dynamic instantiation of code modules and control flows through them. In effect, weaves create intra-process modules…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed and Parallel Computing Systems · Parallel Computing and Optimization Techniques · Embedded Systems Design Techniques
