Department of Electrical Engineering and Computer Science
MIT Room 32-G744
(617) 253-8879
Areas Of Expertise

Professor Saman Amarasinghe leads the Commit compiler research group in MIT’s Computer Science & Artificial Intelligence Laboratory (CSAIL), which focuses on programming languages and compilers that maximize application performance on modern computing platforms. He is a world leader in the field of high-performance domain-specific languages. Prof. Amarasinghe's group developed the Halide, TACO, Simit, StreamIt, StreamJIT, PetaBricks, MILK, Cimple, and GraphIt domain-specific languages and compilers, all of which combine language design and sophisticated compilation techniques to deliver unprecedented performance for targeted application domains such as image processing, stream computations, and graph analytics. Dr. Amarasinghe also pioneered the application of machine learning for compiler optimizations, from Meta optimization in 2003 to OpenTuner extendable autotuner today. With professor Anant Agarwal, he co-led the Raw architecture project, which did pioneering work on scalable multicores. Amarasinghe's entrepreneurship activities include founding Determina, Inc. (acquired by VMWare) based on computer security research pioneered in his research group at MIT and co-founding Lanka Internet Services, Ltd., the first Internet Service Provider in Sri Lanka. Prof. Amarasinghe is also the faculty director of MIT Global Startup Labs, whose summer programs in 17 countries have helped to create more than 20 thriving startups. Professor Amarasinghe developed the popular Performance Engineering of Software Systems (6.172) class with Professor Charles Leiserson. He also created individualized software project classes such as the Open Source Software Project Lab, the Open Source Entrepreneurship Lab, and the Bring Your Own Software Project Lab. Amarasinghe received a bachelor’s degree in electrical engineering and computer science from Cornell University in 1988, a master’s degree and PhD in electrical engineering from Stanford University in 1990 and 1997 respectively, and joined the MIT faculty as an assistant professor in 1997. He was elected as an ACM fellow in 2019.
Professor Amarasinghe works to find novel approaches to improve the performance of computer systems from the angle of programming languages and compilers. Programming languages tell computers what to do in a precise way, and compilers take the high-level descriptions of programs and map them in a way that can be run on the computers. Compilers bring programs from high-level programming language to a simple machine language. One area of research Amarasinghe is looking into is new programming languages in different computation domains (from image processing to quantum chromodynamics) and maximizing performance in specific areas in these domains. Domain-specific, high-performance compilers will help researchers in various domains get the performance they need to focus on research experiments, instead of spending a majority of their time writing and optimizing code. Projects led by Amarasinghe include domain-specific languages Halide and Simit. Halide is specific to image processing, and addresses the challenge of getting high performance out of image processing pipelines that compose multiple stencil computations, complex reductions, and global or data-dependent access patterns as stages connected in a complex stream program. Halide is becoming the industry standard language for image processing and is heavily adopted by Google, Adobe, Facebook, and Qualcomm. Simit is a language that makes it easy to compute on sparse systems using linear algebra. Simit programs are often simpler and shorter than equivalent MATLAB programs, yet are comparable in performance to hand-optimized codes. Professor Amarasinghe is also working with industry on projects such as the Tensor Algebra Compiler (Taco) for dense and sparse linear and tensor algebra expressions, and is investigating the use of synthetic data to improve the privacy of data and data security for organizations.
Department of Electrical Engineering and Computer Science
MIT Room 32-G744
(617) 253-8879
Areas Of Expertise

Professor Saman Amarasinghe leads the Commit compiler research group in MIT’s Computer Science & Artificial Intelligence Laboratory (CSAIL), which focuses on programming languages and compilers that maximize application performance on modern computing platforms. He is a world leader in the field of high-performance domain-specific languages. Prof. Amarasinghe's group developed the Halide, TACO, Simit, StreamIt, StreamJIT, PetaBricks, MILK, Cimple, and GraphIt domain-specific languages and compilers, all of which combine language design and sophisticated compilation techniques to deliver unprecedented performance for targeted application domains such as image processing, stream computations, and graph analytics. Dr. Amarasinghe also pioneered the application of machine learning for compiler optimizations, from Meta optimization in 2003 to OpenTuner extendable autotuner today. With professor Anant Agarwal, he co-led the Raw architecture project, which did pioneering work on scalable multicores. Amarasinghe's entrepreneurship activities include founding Determina, Inc. (acquired by VMWare) based on computer security research pioneered in his research group at MIT and co-founding Lanka Internet Services, Ltd., the first Internet Service Provider in Sri Lanka. Prof. Amarasinghe is also the faculty director of MIT Global Startup Labs, whose summer programs in 17 countries have helped to create more than 20 thriving startups. Professor Amarasinghe developed the popular Performance Engineering of Software Systems (6.172) class with Professor Charles Leiserson. He also created individualized software project classes such as the Open Source Software Project Lab, the Open Source Entrepreneurship Lab, and the Bring Your Own Software Project Lab. Amarasinghe received a bachelor’s degree in electrical engineering and computer science from Cornell University in 1988, a master’s degree and PhD in electrical engineering from Stanford University in 1990 and 1997 respectively, and joined the MIT faculty as an assistant professor in 1997. He was elected as an ACM fellow in 2019.
Professor Amarasinghe works to find novel approaches to improve the performance of computer systems from the angle of programming languages and compilers. Programming languages tell computers what to do in a precise way, and compilers take the high-level descriptions of programs and map them in a way that can be run on the computers. Compilers bring programs from high-level programming language to a simple machine language. One area of research Amarasinghe is looking into is new programming languages in different computation domains (from image processing to quantum chromodynamics) and maximizing performance in specific areas in these domains. Domain-specific, high-performance compilers will help researchers in various domains get the performance they need to focus on research experiments, instead of spending a majority of their time writing and optimizing code. Projects led by Amarasinghe include domain-specific languages Halide and Simit. Halide is specific to image processing, and addresses the challenge of getting high performance out of image processing pipelines that compose multiple stencil computations, complex reductions, and global or data-dependent access patterns as stages connected in a complex stream program. Halide is becoming the industry standard language for image processing and is heavily adopted by Google, Adobe, Facebook, and Qualcomm. Simit is a language that makes it easy to compute on sparse systems using linear algebra. Simit programs are often simpler and shorter than equivalent MATLAB programs, yet are comparable in performance to hand-optimized codes. Professor Amarasinghe is also working with industry on projects such as the Tensor Algebra Compiler (Taco) for dense and sparse linear and tensor algebra expressions, and is investigating the use of synthetic data to improve the privacy of data and data security for organizations.