skip to main content
10.1145/1292520.1292525acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
Article

Towards hard real-time erlang

Published:05 October 2007Publication History

ABSTRACT

In the last decades faster and more powerful computers made possible to seriously take into account high-level and functional programming languages also for non-academic projects. Haskell, Erlang, O'CAML have been effectively exploited in many application fields, demonstrating how high-level languages can help in writing efficient, readable and almost bug-free code, rapidly stealing the prominent position gained in many fields by OO languages such as Java and C++. One of the fields where low-level imperative languages are still preferred to functional programming is that of hard real-time applications, since usually programmers (and managers) think that high-level languages are really not able to cope with the complex and critical requirements of real-time.

In this paper we propose an implementation of a hard real-time scheduler entirely written in Erlang, and perfectly integrated with the Erlang BEAM emulator. Performance analysis show that the proposed solution is effective, precise and efficient, while remaining really simple to use as expected by Erlang programmers.

References

  1. Antonella Di Stefano and Corrado Santoro. A Java Kernel for Embedded Systems in Distributed Process Control. IEEE Concurrency, special issue on "Operating Systems Research & Development", 8(4), 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Bollella, Gosling, Brosgol, Dibble, Furr, Hardin, and Turnbull. The Real-Time Specification for Java. Addison-Wesley, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Burns. The ravenscar profile. Ada Lett., XIX 4):49--52, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. A. Burns and A. Wellings. Real-Time Systems and Programming Languages (3rd Edition). Ada 95, Real-Time Java and Real-Time POSIX. Addison-Wesley, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Corsaro and C. Santoro. A C++ Native Interface for Interpreted JVMs. In Robert Meersman, Zahir Tari, editor, 1st Intl. Workshop on Java Technologies for Real-time and Embedded Systems (JTRES'03). Lecture Notes in Computer Science 2889, Springer Verlag, 2003.Google ScholarGoogle Scholar
  6. A. Corsaro and C. Santoro. Design Patterns for RTSJ Application Development. In Proceedings of 2nd JTRES 2004 Workshop, OTM'04 Federated Conferences, pages 394--405. LNCS 3292, Springer, Oct. 25-29 2004.Google ScholarGoogle ScholarCross RefCross Ref
  7. P. Dibble. Real-Time Java Platform Programming. Prentice Hall PTR, 2002.Google ScholarGoogle Scholar
  8. E. Johansson, M. Pettersson, and K. F. Sagonas. A high performance erlang system. In Principles and Practice of Declarative Programming, pages 32--43, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Kwon, A. Wellings, and S. King. Ravenscar-java: a high integrity profile for real-time java. In JGI '02: Proceedings of the 2002 joint ACM-ISCOPE conference on Java Grande, pages 131--140, New York, NY, USA, 2002. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. C. Liu and J. Layland. Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment. JACM, 20(1):46--61, Jan. 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. A. Wellings. Concurrent and Real-Time Programming in Java. Wiley, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Towards hard real-time erlang

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ERLANG '07: Proceedings of the 2007 SIGPLAN workshop on ERLANG Workshop
          October 2007
          106 pages
          ISBN:9781595936752
          DOI:10.1145/1292520

          Copyright © 2007 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 5 October 2007

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          ERLANG '07 Paper Acceptance Rate11of15submissions,73%Overall Acceptance Rate51of68submissions,75%

          Upcoming Conference

          ICFP '24

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader