olivier danvy - aarhus universitet · plan 2010–2011: 1.state of the union. 2.a research sample....

28
Programming Languages Olivier Danvy Computer Science Day 15 June 2011 Olivier Danvy 1 / 27

Upload: others

Post on 19-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Programming Languages

Olivier Danvy

Computer Science Day 15 June 2011

Olivier Danvy 1 / 27

Page 2: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Plan

2010–2011:

1. State of the union.

2. A research sample.

Olivier Danvy 2 / 27

Page 3: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of postcards

Olivier Danvy 3 / 27

Page 4: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of funding

• Sapere Aude (Anders): 7.9 M. DKK

• FTP (Anders): 4.8 M. DKK

• Google Research Award (Anders): $65,000

• IBM Faculty Award (Anders): $20,000

• Networking (Olivier & Jan): 0.4 M. DKK

Olivier Danvy 4 / 27

Page 5: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of publications

• Peer-reviewed meetings: OOPSLA, ECOOP,

SAS, FOSSACS, FTFJP, ICSE, PPDP, etc.

• Information and Computation,

Theoretical Computer Science,

Science of Computer Programming,

etc.

See the board in our corridor!

Olivier Danvy 5 / 27

Page 6: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of international visitors

Faculty:

• Jens Palsberg (UCLA)

PhD students:

• Ilya Sergey (KU Leuven)

• Alvaro Garcia Perez (Madrid)

Olivier Danvy 6 / 27

Page 7: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of visits abroad

• IBM, New York; Google, New York;

Wisconsin (Anders)

• University of Freiburg (Anders and Olivier)

• Microsoft, Redmond (Anders and Esben)

• Oxford University (Anders and Asger)

• Paris, Cornell and Oregon (Olivier)

• Japan (Olivier and Ian)

Olivier Danvy 7 / 27

Page 8: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of internships

• IBM New York (Simon)

• Google, New York (Jakob)

Olivier Danvy 8 / 27

Page 9: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year in program committees

• DSL, Scheme & FP (Jan)

• PLDI, ICDE, POPL, PASTE, PPPJ,

FoVeOOS, APLWACA (Anders)

• AOSD, GTTSE, OOPSLA, PLDI, FOAL,

SAC, TOOLS, ECOOP, TAOSD (Erik)

Olivier Danvy 9 / 27

Page 10: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of chairing and editorship

• DANSAS 2010 (Jan)

• ICFP 2011, DSL 2011 (Olivier)

• HOSC, JFP, Talcott Festschrift (Olivier)

Olivier Danvy 10 / 27

Page 11: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of scientific service

• Doctoral Symposium at ECOOP (Erik)

• EAPLS best PhD thesis award (Olivier)

• External evaluation of PhD dissertations.

Olivier Danvy 11 / 27

Page 12: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of awards

• Google PhD Fellowship (Ian)

• Specialeprisen 2010 finalist (Lene)

• Most influential paper PPDP’01 paper

(Olivier and Lasse)

Olivier Danvy 12 / 27

Page 13: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of exciting undergrad courses

• dRegAut, dWebTek, dConc, (Anders)

• dOpSys, KBP2 (Erik)

• dProgSprog (Olivier)

• dOvs (Jan)

Olivier Danvy 13 / 27

Page 14: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of enlightening graduate courses

• Client-Based Web Programming,

Server-Based Web Programming

(Michael, Anders, Mathias)

• Software Verification (Anders)

• TOOL (Erik)

• dIFP, dTFP (Olivier)

• Abstract Interpretation (Jan)

Olivier Danvy 14 / 27

Page 15: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of external education

• Oregon Summer School (Ian and Jan)

• Summer School in Software Engineering

and Verification (Mathias and Magnus)

• Functional Programming in Utrecht (Jeppe)

• Generative & Transformational Techniques

in Software Engineering (Olivier)

Olivier Danvy 15 / 27

Page 16: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of graduations

• Anders Bach Nielsen

• Jesper Ilsøe Nielsen

• Lene Mejlby

• etc.

Olivier Danvy 16 / 27

Page 17: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of PhD-student intake

• Esben Andreasen

• Asger Feldthaus

• Magnus Madsen

Olivier Danvy 17 / 27

Page 18: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

A year of synergy

• the PL seminar

• the Entropy meetings

• attending each other’s lectures

• synchronized teaching

• Friday DatCafe

Olivier Danvy 18 / 27

Page 19: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Plan

2010–2011: a fruitful year.

1. State of the union.√

2. A research sample.

Olivier Danvy 19 / 27

Page 20: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Plan

2010–2011: a fruitful year

1. State of the union.√

2. A research sample: call by need.

Olivier Danvy 19 / 27

Page 21: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Reminder about parameterization

• Computational abstractions (procedures,

functions, etc.) are parameterized.

• Invoking an abstraction binds

the formal parameters to

the actual parameters.

Olivier Danvy 20 / 27

Page 22: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Common parameter-passing strategies

• call by value

• call by name

• call by need

• etc.

Olivier Danvy 21 / 27

Page 23: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Call by need

In lazy functional programming, for example,

computation is

• demand driven, and

• intermediate results

are memoized.

Olivier Danvy 22 / 27

Page 24: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Theory and practice of call by need

• In theory, we know why it works.

• In practice, we know how to make it works.

But do theory and practice agree?

Surprisingly, nobody quite knows.

Olivier Danvy 23 / 27

Page 25: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

What is known?

• Theory: syntactic accounts

(λ-calculus, Combinatory Logic).

• Practice: store-based implementations

(graph reduction).

Olivier Danvy 24 / 27

Page 26: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Our contribution (Danvy & Zerny)

To inter-derive semantic artifacts:

• either using off-the-shelf transformations,

• or designing new ones

and proving them correct

by lock-step equivalence (bisimilarity).

Olivier Danvy 25 / 27

Page 27: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Unified results

• Combinatory Logic√

• λ-calculus√

...a celebration of computational unity.

Olivier Danvy 26 / 27

Page 28: Olivier Danvy - Aarhus Universitet · Plan 2010–2011: 1.State of the union. 2.A research sample. Olivier Danvy 2 / 27

Thank you

Olivier Danvy 27 / 27