Get the latest tech news

Austral: A Systems Language with Linear Types and Capabilities (2022)


Introducing a new programming language.

For another example, consider the problem of operator precedence: anyone can remember PEMDAS, but programming languages have many categories of binary operators—arithmetic, comparison, bitwise, Boolean—and mixing them together creates room for error (what does x ^ y && z / w evaluate to?). The traditional approach is called static analysis: a group of PhD’s will write a program that goes through the source code and performs various checks and finds places where these errors may occur. The linearity checks are simple: we go over the code and count the number of times a variable appears, taking care to handle loops and if statements correctly.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of capabilities

capabilities

Photo of linear

linear

Photo of linear types

linear types

Related news:

News photo

Linear Pluggable Optics Save Energy in Data Centers

News photo

Tom Stevenson on the deciphering of Linear Elamite

News photo

Implementing a linear collider facility at CERN