Skip to main content
QUICK REVIEW

[Paper Review] Organizing the Aggregate: Languages for Spatial Computing

Jacob Beal, Stefan Dulman|arXiv (Cornell University)|Feb 24, 2012
Modular Robots and Swarm IntelligenceEngineering23 citations
TL;DR

This paper proposes a unifying framework for analyzing and comparing domain-specific languages (DSLs) in spatial computing, focusing on global-to-local compilation to bridge the gap between aggregate-level application specifications and low-level device programming. It surveys 8 classes of spatial DSLs, identifies key abstractions and design patterns, and outlines future research directions for general-purpose spatial languages and their integration with specialized DSLs.

ABSTRACT

As the number of computing devices embedded into engineered systems continues to rise, there is a widening gap between the needs of the user to control aggregates of devices and the complex technology of individual devices. Spatial computing attempts to bridge this gap for systems with local communication by exploiting the connection between physical locality and device connectivity. A large number of spatial computing domain specific languages (DSLs) have emerged across diverse domains, from biology and reconfigurable computing, to sensor networks and agent-based systems. In this chapter, we develop a framework for analyzing and comparing spatial computing DSLs, survey the current state of the art, and provide a roadmap for future spatial computing DSL investigation.

Motivation & Objective

  • Address the growing gap between users' high-level goals for device aggregates and the low-level complexity of programming individual devices.
  • Identify and formalize common abstractions across diverse spatial computing DSLs to enable systematic comparison and design.
  • Develop a taxonomy of spatial DSLs based on their core programming abstractions and operational semantics.
  • Provide a roadmap for future research in general-purpose spatial languages (GPSLs) and their integration with specialized DSLs.
  • Enable more scalable, maintainable, and user-friendly programming of spatially distributed systems through language design principles and compilation techniques.

Proposed method

  • Propose a generic aggregate programming architecture with abstract device and system management layers to decouple application logic from low-level implementation.
  • Define five categories of space-time operations: measurement, pattern computation, manipulation, physical evolution, and meta-operations.
  • Introduce a reference example, the "T-Program," to illustrate how aggregate behaviors can be expressed and compiled to individual device actions.
  • Survey 8 major domains of spatial DSLs—amorphous computing, biological modeling, agent-based systems, sensor networks, pervasive computing, swarm robotics, reconfigurable computing, and formal calculi—using representative languages (e.g., Proto, MGS, NetLogo, Regiment, TOTA, $3\pi$).
  • Classify DSLs into three types: device abstraction languages, pattern languages, and information movement languages, and contrast them with general-purpose spatial languages (GPSLs).
  • Use comparative analysis to identify commonalities and differences in language design, including expressiveness, scalability, and support for spatial reasoning.

Experimental results

Research questions

  • RQ1How can a unified framework be established to analyze and compare diverse spatial computing DSLs across multiple domains?
  • RQ2What are the core abstractions and operational patterns that underlie successful spatial DSLs in different application areas?
  • RQ3To what extent can general-purpose spatial languages (GPSLs) serve as a foundation for specialized DSLs, and how can they be extended to support domain-specific needs?
  • RQ4What are the key limitations of current spatial DSLs in terms of scalability, expressiveness, and support for global-to-local compilation?
  • RQ5How can GPSLs be designed to support both high-level aggregate programming and efficient low-level device execution?

Key findings

  • A comprehensive framework for analyzing spatial DSLs was developed, based on space-time operations, abstract device models, and global-to-local compilation principles.
  • The survey identified 8 distinct categories of spatial DSLs, each with distinct design goals and abstractions, ranging from pattern-based languages to information movement-focused systems.
  • General-purpose spatial languages (GPSLs) were found to offer broad expressiveness but require significant engineering effort to apply to specific domains.
  • Specialized DSLs often provide better usability and performance within their niche but lack reusability and composability across domains.
  • There is a critical need for better integration between GPSLs and specialized DSLs, with GPSLs serving as a foundation for DSL development through libraries or language extensions.
  • The study concludes that future research should focus on enabling GPSLs to support the full range of spatial abstractions needed by specialized DSLs, while also improving scalability and compilation efficiency.

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.