Synchronization abstraction in the BETA programming language

نویسندگان

  • Kasper Østerbye
  • Wolfgang Kreutzer
چکیده

This paper argues that synchronization of processes need not be part of the core of a programming language, but that they can just as well be built from existing abstractions provided these are sufficiently flexible and general. BETA's notion of patterns meets these requirements and we demonstrate the validity of our claims within this context. While discussing the use of patterns of synchronization and their implementation in BETA, we focus on a number of examples taken from BetaSIM, a high-level framework for discrete event simulation. The paper concludes with a discussion on how these ideas can be applied to other modern objectbased programming languages, such as Java or Ada.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Solving Inheritance Anomaly Problems by State Abstraction-Based Synchronization

“Abstract state” is a programming language facility that makes the internal state information of abstract data types available from outside, in a controlled fashion. Abstract state is also a useful and efficient tool for specifying synchronization for parallel object-oriented languages. In this paper, we introduce interfaceand implementationinheritance to state abstractionbased parallel languag...

متن کامل

Application of a Para-functional Language to Problems in Computer Algebra

We describe how a para-functional programming language is applied to implementing parallel computer algebra algorithms on a shared memory multiproces-sor. The language we use is pD, a small functional language that we have developed as a high-level programming interface for the parallel computer algebra package PACLIB. pD provides several facilities to express parallel algorithms in a exible wa...

متن کامل

A Programming Language for Teaching Concurrent Object-Oriented Concepts

Studying concurrency one of the major difficulties is the need for a variety of programming languages to be available. But expecting students to learn at the same time a lot of languages is clearly undesirable. Concurrent object-oriented concepts can be understood more successfully if we have a programming language furnishing us with different kind of tools expressing concurrency and object-ori...

متن کامل

Normal Object Shared

ion error: A re ected data structure in the object level is the abstraction of a meta level data structure, so it only represents a part of the meta level information. synchronization error: Both the re ected data in the object level and the meta-object may be changed between two synchronization points, thus generating a replication error. de nition error: Since the synchronization procedure is...

متن کامل

Visual Meta-Programming Language

This paper presents a relatively simple visual notation for meta-programming that spans multiple levels of abstraction. Two-dimensional data flow provides readable representations of meta-programs that expose potential parallelism. This work suggests visual notations for data structures, data flows, pattern matching, conditionals, iteration and synchronization. The framework provides encapsulat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Comput. Lang.

دوره 25  شماره 

صفحات  -

تاریخ انتشار 1999