• DocumentCode
    69524
  • Title

    Scripting Multiple CPUs with Safe Data Sharing

  • Author

    Skyrme, Alexandre ; Rodriguez, N. ; Ierusalimschy, Roberto

  • Author_Institution
    Pontifical Catholic Univ. of Rio de Janeiro, Rio de Janeiro, Brazil
  • Volume
    31
  • Issue
    5
  • fYear
    2014
  • fDate
    Sept.-Oct. 2014
  • Firstpage
    44
  • Lastpage
    51
  • Abstract
    Scripting languages are very popular and are being used to implement a wide range of applications. Meanwhile, multi-core processors are everywhere, from dektop computers to mobile devices, and concurrency has become the only means to improve performance. However, concurrent programming remains difficult and despite some interest in researching new concurrency models for compiled languages, the conventional concurrency support in scripting languages is still lacking. In this paper we are interested in emph{safe data sharing for scripting languages}. We explore the landscape of conventional concurrency support in popular scripting languages and discuss some of its limitations. Then, we identify some emerging concurrency patterns in scripting languages, namely: no-default sharing, data ownership, futures and data immutability. Finally, we analyze some limitations in existing mechanisms and discuss how the patterns we identified can be used to provide safe data sharing in scripting languages.
  • Keywords
    authoring languages; multiprocessing systems; concurrency models; concurrent programming; data immutability pattern; data ownership pattern; data sharing; dekstop computers; futures pattern; mobile devices; multi-core processors; no-default sharing pattern; scripting languages; Concurrent computing; Information sharing; Message systems; Multithreading; Programming; Software development; Synchronization; concurrent programming; data sharing; languages programming languages; scripting; software; software engineering;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/MS.2014.102
  • Filename
    6898741