Skip to main content
QUICK REVIEW

[Paper Review] scriptJ(TM) extension of Java(R): discretionary, adaptive concurrency for privacy-friendly, client-cloud computing

Carl Hewitt|arXiv (Cornell University)|Aug 16, 2010
Distributed and Parallel Computing SystemsComputer Science1 citations
TL;DR

This paper introduces iScript(TM), a general-purpose programming language that enables discretionary, adaptive concurrency through message-passing abstractions, eliminating low-level concurrency primitives. It achieves high performance and expressivity by integrating functional and logic programming, managing system resources via 'sponsors', and supporting privacy-friendly client-cloud computing with strong isolation and dynamic load adaptation.

ABSTRACT

iScript(TM) is a general purpose programming language for implementing discretionary, adaptive concurrency that manages resources and demand. It is differentiated from other concurrent languages by the following: - Universality o Everything in the language is accomplished using message passing including the very definition of iScript itself. o Directly express discretionary push and pull concurrency o Functional and Logic Programming are integrated into general concurrent programming. o Programs do not expose low-level implementation mechanisms such as threads, tasks, channels, queues, locks, cores, etc. o Program resource control of energy, processing, storage, and communications using sponsors. o Binary XML and JSON are data types o Applications cannot directly harm each other. - Efficiency o Allow execution to be dynamically adjusted for system load and capacity (cores) o Minimize latency along critical paths - For ease of reading, programming can be displayed using a 2-dimensional textual typography (as is often done in mathematics). iScript attempts to achieve the highest level of performance, scalability, and expressibility with a minimum of primitives. Objective C is a registered trademark of Apple, Inc.

Motivation & Objective

  • To address the complexity and insecurity of traditional concurrent programming models in client-cloud environments.
  • To eliminate low-level concurrency primitives such as threads, locks, and queues, which increase attack surface and reduce portability.
  • To provide a unified, expressive model for concurrent programming that integrates functional and logic programming paradigms.
  • To enable dynamic, adaptive resource management (energy, CPU, storage, bandwidth) using a sponsorship mechanism.
  • To ensure strong isolation between applications, preventing direct harm and enhancing privacy in untrusted cloud environments.

Proposed method

  • All language constructs, including the language definition itself, are expressed via message passing, ensuring uniformity and composability.
  • Discretionary push and pull concurrency are directly expressible through message-passing patterns, enabling flexible coordination.
  • Resource control is enforced via 'sponsors'—first-class entities that govern access to system resources such as CPU, memory, and network.
  • Binary XML and JSON are natively supported as first-class data types, enabling efficient data interchange in distributed systems.
  • Programs are isolated by default, with no direct access to each other’s state or resources, ensuring security and privacy.
  • A 2D textual typography is used to improve readability and expressiveness, mimicking mathematical notation for clarity.

Experimental results

Research questions

  • RQ1How can a general-purpose programming language support adaptive concurrency without exposing low-level system primitives?
  • RQ2To what extent can functional and logic programming be natively integrated into a concurrent programming model without sacrificing performance?
  • RQ3Can a sponsorship-based model effectively manage system resources (CPU, memory, network) while maintaining responsiveness and low latency?
  • RQ4How can strong isolation between applications be achieved in a shared cloud environment without performance penalties?
  • RQ5Can message-passing abstractions alone provide sufficient expressivity and efficiency for real-world client-cloud applications?

Key findings

  • iScript enables full system-level resource control through sponsors, allowing dynamic adaptation to system load and capacity without low-level threading.
  • The language achieves high performance and scalability by minimizing latency along critical execution paths through adaptive concurrency.
  • Functional and logic programming paradigms are fully integrated into the concurrent model, enabling expressive and composable application logic.
  • Applications are isolated by default, preventing direct interference and enhancing privacy in untrusted cloud deployments.
  • The use of 2D typography improves code readability and maintainability, especially for complex concurrent and declarative constructs.
  • Binary XML and JSON are first-class data types, enabling efficient data serialization and interchange in distributed systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.