Fast run-time type checking for whole programs
- π€ Speaker: Stephen Kell (University of Lugano)
- π Date & Time: Thursday 22 November 2012, 16:00 - 17:00
- π Venue: FW26, Computer Laboratory, William Gates Builiding
Abstract
Despite a wealth of literature, dynamically detecting type errors in unsafe code has so far only been addressed by approaches suffering one or more common weaknesses: language-specificity (typically for C only), lack of source compatibility (requiring a modified source dialect), lack of binary compatibility (hindering use of libraries), high run-time overhead, and/or reliance on conservative static reasoning. Revisiting this problem, I present a simple and fast encoding of run-time type checking as assertions, together with a run-time infrastructure which allows fast evaluation of these assertions, and a prototype front-end which instruments unmodified C source code with appropriate assertions. The decision to encode type checks as “ordinary” assertions has some interesting consequences. I will discuss some of these, including a sketched approach for extending the system towards static checking using symbolic execution. I will try to convince the audience that this can offer greatly improved flexibility over conventional syntax-directed type checkers.
Bio: Stephen Kell is a postdoctoral researcher at the University of Lugano, Switzerland. He completed his PhD in the Networks and Operating Systems group at the University of Cambridge, and also held a postdoctoral position at the University of Oxford. His interests include many aspects of programming languages, operating systems, and software engineering; a recurring theme is improving the productivity of programmers.
Series This talk is part of the Computer Laboratory Systems Research Group Seminar series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge Centre for Data-Driven Discovery (C2D3)
- Cambridge talks
- Chris Davis' list
- CL's SRG seminar
- Computer Laboratory Systems Research Group Seminar
- Department of Computer Science and Technology talks and seminars
- FW26, Computer Laboratory, William Gates Builiding
- Interested Talks
- ndk22's list
- ob366-ai4er
- rp587
- School of Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)

Stephen Kell (University of Lugano)
Thursday 22 November 2012, 16:00-17:00