Publication:

A Type System for Multidimensional Arrays

Loading...
Thumbnail Image

Date

2020-06-18

Published Version

Published Version

Journal Title

Journal ISSN

Volume Title

Publisher

The Harvard community has made this article openly available. Please share how this access benefits you.

Research Projects

Organizational Units

Journal Issue

Citation

Liu, Theodore Tiger. 2020. A Type System for Multidimensional Arrays. Bachelor's thesis, Harvard College.

Abstract

Python is an extremely popular programming language used by many companies and aca- demics around the world. Historically a slow language, it has gained popularity as an in- terface with high performance linear algebra, multidimensional array, and machine learning libraries. Initially designed as a strong, dynamically typed language, recent additions to Python have introduced a static type checker; however, the types do not provide enough in- formation to avoid many runtime errors when typing multidimensional array operations. In this thesis, we develop a type system and extension to Python’s type system that strength- ens the static guarantees of the type checker over multidimensional array operations while preserving the simplicity and ease of use that is core to Python’s spirit.

Description

Other Available Sources

Research Data

Keywords

Terms of Use

This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service

Endorsement

Review

Supplemented By

Related Stories