Skip to content
0:00 / 0:00

#systemf#typedassemblylanguage#stephanieweirich

Stephanie Weirich on From System F to Typed Assembly Language

Papers We Love Philadelphia

80 subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by Stephanie Weirich

Advanced. Deep dive for people who know the field.

2.5K views11 years ago2 recommendations

Programming languagesSystems programmingCompilers and interpretersComputation and complexity

Stephanie Weirich presents a paper on translating System F to a typed assembly language while preserving type safety.

by Greg Morrisett, David Walker, Karl Crary and Neal Glew Abstract: We motivate the design of a typed assembly language (TAL) and present a type-preserving translation from System F to TAL. The typed assembly language we present is based on a conventional RISC assembly language, but its static type system provides support for enforcing high-level language abstractions, such as closures, tuples, and user-defined abstract data types. The type system ensures that well-typed programs cannot violate these abstractions. In addition, the typing constructs admit many low-level compiler optimizations. Our translation to TAL is specified as a sequence of type-preserving transformations, including CPS and closure conversion phases; type-correct source programs are mapped to type-correct assembly language. A key contribution is an approach to polymorphic closure conversion that is considerably simpler than previous work. The compiler and typed assembly language provide a fully automatic way to produce certified code, suitable for use in systems where untrusted and potentially malicious code must be checked for safety before execution. Even though it is a technical paper, the lecture will not assume any background in programming language research or type systems from the audience. Paper: cs.princeton.edu/~dpw/papers/tal-toplas.pdf Stephanie Weirich is a Professor of Computer and Information Science at the University of Pennsylvania. cis.upenn.edu/~sweirich/ Food sponsored by chariotsolutions.com

Why it's here

2 people recommend this

What people say. Recommended as an excellent presentation on type-preserving compilation and typed assembly languages.

u/JustinCampbellin r/compsci • Recommends

Stephanie Weirich on From System F to Typed Assembly Language

justincampbellon Lobsters • Recommends

Stephanie Weirich on From System F to Typed Assembly Language