On Friday October 17, this site was moved to a new server, https://mw.hh.se. The original address will continue to work. Whithin a week or two this site will return to the original address. /Peo HH IT-dep

WG211/M3Veldhuizen: Difference between revisions

From WG 2.11
Jump to navigationJump to search
m 1 revision
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:WG211]]
[[Category:WG211]]


 
Todd Veldhuizen
<HTML>
<HEAD>
<title>Todd Veldhuizen</title>
</head>
 
<body bgcolor="white">


Title:
Title:
Tradeoffs in Metaprogramming
Tradeoffs in Metaprogramming
<br>Speaker: Todd Veldhuizen
<br>Speaker: Todd Veldhuizen
<p>
<br>
Slides: [[http://pub.smart-generators.org/M3Schedule/tradeoffs.pdf .pdf]]
Slides: [[Media:tradeoffs.pdf| tradeoffs.pdf]]
<p>
<br>
Abstract:<br>
Abstract:<br>
The design of metaprogramming languages requires appreciation
The design of metaprogramming languages requires appreciation
Line 36: Line 30:
metaprogram.  Surprisingly, when one shifts perspective from
metaprogram.  Surprisingly, when one shifts perspective from
programming to metaprogramming, the corresponding safety questions
programming to metaprogramming, the corresponding safety questions
do not become substantially harder  
do not become substantially harder there is no `jump' of Turing
----
there is no `jump' of Turing
degree for typical safety properties.
degree for typical safety properties.
</p>
</p>
Line 48: Line 40:
January 9-10 2006.  [[[http://arxiv.org/pdf/cs.PL/0512065 PDF]]]
January 9-10 2006.  [[[http://arxiv.org/pdf/cs.PL/0512065 PDF]]]
</p>
</p>
</BODY>
</html>


==File Attachments==  
==File Attachments==  

Latest revision as of 15:34, 16 December 2011


Todd Veldhuizen

Title: Tradeoffs in Metaprogramming
Speaker: Todd Veldhuizen
Slides: tradeoffs.pdf
Abstract:
The design of metaprogramming languages requires appreciation of the tradeoffs that exist between important language characteristics such as safety properties, expressive power, and succinctness. Unfortunately, such tradeoffs are little understood, a situation we try to correct by embarking on a study of metaprogramming language tradeoffs using tools from computability theory. Safety properties of metaprograms are in general undecidable; for example, the property that a metaprogram always halts and produces a type-correct instance is File:9ee97d2bab9cce6f0b661e0a8782c1ef.png-complete. Although such safety properties are undecidable, they may sometimes be captured by a restricted language, a notion we adapt from complexity theory. We give some sufficient conditions and negative results on when languages capturing properties can exist: there can be no languages capturing total correctness for metaprograms, and no `functional' safety properties above can be captured. We prove that translating a metaprogram from a general-purpose to a restricted metaprogramming language capturing a property is tantamount to proving that property for the metaprogram. Surprisingly, when one shifts perspective from programming to metaprogramming, the corresponding safety questions do not become substantially harder there is no `jump' of Turing degree for typical safety properties.

This talk will be based in part on the paper:
Todd L. Veldhuizen. Tradeoffs in Metaprogramming. ACM SIGPLAN Workshop on Partial Evaluation and Semantics-Based Program Manipulation (PEPM 2006), Charleston, South Carolina, January 9-10 2006. [[PDF]]

File Attachments