Aarhus University Seal

Distinguished talk by Mads Torgersen, Microsoft

What is a Compiler? We thought we knew...

Info about event


Friday 7 October 2016,  at 14:00 - 15:00


5335-016 Nygaard Peter Bøgh Andersen Auditoriet


The Roslyn project is an unusual take on industrial-grade   compilers. Written in C# for C# (and Visual Basic for Visual Basic), Roslyn is an open-source, full-fidelity syntactic and semantic API for code, that works efficiently in both batch and interactive scenarios. Roslyn shipped last year, replacing Microsoft's old compilers, and is empowering a groundswell of coding and analysis tools across the community.

In this talk we'll use Roslyn to live-code a simple but functional code analysis, and dig into the (sometimes surprising) architectural choices and nifty underlying data structures that make Roslyn approachable, resilient, scalable and efficient. Hint: it's not how we learned to do it in school! We'll also talk about the many challenges that come from trying to be everything to everyone - and doing it well.

Roslyn is open source, and I hope to encourage you all to play with it!


Mads Torgersen is a Program Manager at Microsoft, where he oversees the evolution of the C# language. He has also contributed to the design of Visual Basic, Typescript and LINQ, and was involved in the Roslyn project since its beginning. Before joining Microsoft in 2005, Mads was a Research Associate Professor of Computer Science at Aarhus University, where he also dabbled in program languages.