Research Interests

I am interested in the application of type theory to the implementation of modern type-safe programming languages. More specifically, I work on runtime type analysis and generation of type-safe object code.

Many programming applications like garbage collection, pickling, dynamic linking, etc, use type information at runtime. Implementing these applications in a type-safe language requires language support for runtime type analysis. Runtime type analysis in a type-safe framework was first studied by Harper and Morrisett in their paper titled "Compiling Polymorphism Using Intensional Type Analysis". Their paper deals with the analysis of inductively defined types, but fails to handle quantified types. In a recent paper we show how to analyze arbitrary source language types.

I also believe that type-safety can be used as a practical basis for generating certified code. Therefore, I am working on propagating types through all phases of compilation. The goal is to generate type correct object code that also supports runtime type analysis. I intend to use a type and kind erasure framework for this. In a recent paper we show how to support type analysis over arbitrary types in a type erasure framework.

The type-safety of a programming system relies crucially on the type-safety of runtime services. I am also interested in the type-safe implementation of these services. In a recent paper we show how to type-check a copying garbage collector using intensional type analysis.

I work in the FLINT group and my advisor is Prof. Zhong Shao. I mostly use the Standard ML programming language and the FLINT/ML compiler. We also collaborate with researchers at Princeton University and Bell Labs on the DARPA/PCC and SML/NJ projects.



Publications

  • A Type System for Certified Binaries   ps   pdf
    Zhong Shao, Bratin Saha, Valery Trifonov, and Nikolaos Papaspyrou. Technical Report YALEU/DCS/TR-1211. Department of Computer Science, Yale University, July 2001. (To appear in POPL 2002)

  • Principled Scavenging   ps   pdf
    Stefan Monnier, Bratin Saha and Zhong Shao. Technical Report YALEU/DCS/TR-1205. Department of Computer Science, Yale University, Nov 2000. (Also appeared in PLDI 2001)

  • Fully Reflexive Intensional Type Analysis in a Type Erasure Semantics   ps   pdf
    Bratin Saha, Valery Trifonov and Zhong Shao. Technical Report YALEU/DCS/TR-1197. Department of Computer Science, Yale University, June 2000. (Also appeared in TIC 2000)

  • Fully Reflexive Intensional Type Analysis   ps   pdf
    Bratin Saha, Valery Trifonov and Zhong Shao. Technical Report YALEU/DCS/TR-1194. Department of Computer Science, Yale University, March 2000. (Also appeared in ICFP 2000)

  • SubTransitive CFA using Types   ps   pdf
    Bratin Saha, Nevin Heintze and Dino Oliva. Technical Report YALEU/DCS/TR-1166. Department of Computer Science, Yale University, October 1998.

  • CS-690 Report   ps   pdf
    Bratin Saha

  • Optimal Type Lifting   ps   pdf
    Bratin Saha and Zhong Shao. Technical Report YALEU/DCS/TR-1159. Department of Computer Science, Yale University, August 1998. (Also appeared in TIC 1998)

  • A Parallelizing Compiler for a Network of Processors   ps   pdf
    J Mazumdar, D Das, B Saha, PP Das and SC DeSarkar. Sixth NSTCS , Jaipur, India, August 1996.