skip to main content
10.1145/3408877.3439545acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
abstract

Snap!6, Introducing Hyperblocks!

Authors Info & Claims
Published:05 March 2021Publication History

ABSTRACT

In early July we released Snap! version 6, with many cool new features, including a ground-up rewrite to be faster and reduce memory use by up to 20x. However, the most powerful 'big idea' is the introduction of an APL-style programming paradigm, which we call 'Hyperblocks'. This augments all existing reporter-block scalar inputs to accept N-dimensional lists of any shape as arguments as well, instead of being considered a domain error. These 'dimension-generic' blocks allow us to teach complex concepts without the need for loops or our beloved map block. For example, the domain of the multiply block had previously only been numbers, and if we had wanted to return a new list in which all of the elements were multiplied by 10, we would have had to use map(10*( ))over(data). Now we can simply say 10*data! In Snap! 6, Hyperblocks enable fast vectorized computations, making it much more efficient to do data analysis and media computation projects. There's nothing that beats a live demonstration of all these wonderful features, and we have two veteran power users to take it through its paces.

Index Terms

  1. Snap!6, Introducing Hyperblocks!

    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
      SIGCSE '21: Proceedings of the 52nd ACM Technical Symposium on Computer Science Education
      March 2021
      1454 pages
      ISBN:9781450380621
      DOI:10.1145/3408877

      Copyright © 2021 Owner/Author

      Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 5 March 2021

      Check for updates

      Qualifiers

      • abstract

      Acceptance Rates

      Overall Acceptance Rate1,595of4,542submissions,35%

      Upcoming Conference

      SIGCSE Virtual 2024
    • Article Metrics

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

      Other Metrics