skip to main content
10.1145/1570506.1570508acmotherconferencesArticle/Chapter ViewAbstractPublication PagesecoopConference Proceedingsconference-collections
research-article

Tests to the left of me, types to the right: how not to get stuck in the middle of a ruby execution

Published:06 July 2009Publication History

ABSTRACT

Ruby is a popular dynamic scripting language that permits terse, expressive code, but provides no static checks to detect errors before running the program. To address this, we have developed Diamond-back Ruby (DRuby), a tool that blends the benefits of static and dynamic typing. This paper briefly describes the main features of DRuby, which we will present in a tool demonstration. The presentation will concentrate on the development of a small, statically typed Ruby program, illustrating how DRuby might be used in practice. The audience will learn about some of the practical design decisions that went into DRuby, and how to use it to develop a type-safe Ruby program.

References

  1. Furr, M., An, J., Foster, J. S., Hicks, M.: Static Type Inference for Ruby. In OOPS Track, SAC. (March 2009) Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Furr, M., An, J., Foster, J. S.: Profile-guided static typing for dynamic scripting languages. In OOPSLA (October 2009). To appear. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. http://www.cs.umd.edu/projects/PL/drubyGoogle ScholarGoogle Scholar

Index Terms

  1. Tests to the left of me, types to the right: how not to get stuck in the middle of a ruby execution

                  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 Other conferences
                    STOP '09: Proceedings for the 1st workshop on Script to Program Evolution
                    July 2009
                    74 pages
                    ISBN:9781605585437
                    DOI:10.1145/1570506

                    Copyright © 2009 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: 6 July 2009

                    Permissions

                    Request permissions about this article.

                    Request Permissions

                    Check for updates

                    Qualifiers

                    • research-article
                  • Article Metrics

                    • Downloads (Last 12 months)2
                    • Downloads (Last 6 weeks)0

                    Other Metrics

                  PDF Format

                  View or Download as a PDF file.

                  PDF

                  eReader

                  View online with eReader.

                  eReader