• DocumentCode
    2046052
  • Title

    The Regiment Macroprogramming System

  • Author

    Newton, Ryan ; Morrisett, Greg ; Welsh, Matt

  • Author_Institution
    Massachusetts Institute of Technology, Cambridge
  • fYear
    2007
  • fDate
    25-27 April 2007
  • Firstpage
    489
  • Lastpage
    498
  • Abstract
    The development of high-level programming environments is essential if wireless sensor networks are to be accessible to nonexperts. In this paper, we present the Regiment system, which consists of a high-level language for spatiotemporal macroprogramming, along with a compiler that translates global programs into node-level code. In Regiment, the programmer views the network as a set of spatially-distributed data streams. The programmer can manipulate sets of these streams that may be defined by topological or geographic relationships between nodes. Regiment provides a rich set of primitives for processing data on individual streams, manipulating regions, performing aggregation over a region, and triggering new computation within the network. In this paper, we describe the design and implementation of the Regiment language and compiler. We describe the deglobalization process that compiles a network-wide representation of the program into a node-level, event-driven program. Deglobalization maps region operations onto associated spanning trees that establish region membership and permit efficient in-network aggregation. We evaluate Regiment in the context of a complex distributed application involving rapid detection of spatially-distributed events, such as wildfires or chemical plumes. Our results show that Regiment makes it possible to develop complex sensor network applications at a global level.
  • Keywords
    computerised instrumentation; functional programming; high level languages; program compilers; wireless sensor networks; Regiment compiler; Regiment language; Regiment system; deglobalization process; functional macroprogramming; high-level programming; macroprogramming system; spatiotemporal macroprogramming; wireless sensor networks; Chemical sensors; Computer networks; Fiber reinforced plastics; Functional programming; Permission; Program processors; Programming environments; Programming profession; Runtime environment; Signal processing; Design; Languages; functional macroprograming; sensor networks;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Processing in Sensor Networks, 2007. IPSN 2007. 6th International Symposium on
  • Conference_Location
    Cambridge, MA
  • Print_ISBN
    978-1-59593-638-7
  • Type

    conf

  • DOI
    10.1109/IPSN.2007.4379709
  • Filename
    4379709