Details

Program Specialization


Program Specialization


1. Aufl.

von: Renaud Marlet

185,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 24.01.2013
ISBN/EAN: 9781118576861
Sprache: englisch
Anzahl Seiten: 554

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

This book presents the principles and techniques of program specialization — a general method to make programs faster (and possibly smaller) when some inputs can be known in advance. As an illustration, it describes the architecture of Tempo, an offline program specializer for C that can also specialize code at runtime, and provides figures for concrete applications in various domains. Technical details address issues related to program analysis precision, value reification, incomplete program specialization, strategies to exploit specialized program, incremental specialization, and data specialization. The book, that targets both researchers and software engineers, also opens scientific and industrial perspectives.
<p><b>Chapter 1. Main Principles of Program Specialization 1</b></p> <p>1.1. Specialized program 2</p> <p>1.2. Specializing to improve performance 16</p> <p>1.3. Automatic specialization 22</p> <p>1.4. Main applications of specialization 27</p> <p>1.5. Specialization times 33</p> <p>1.6. Financial viability of specialization 37</p> <p><b>Chapter 2. Specialization Techniques 43</b></p> <p>2.1. Transforming specialization programs 44</p> <p>2.2. Termination of specialization 57</p> <p>2.3. Correctness of specialization 60</p> <p>2.4. Other forms of specialization 65</p> <p><b>Chapter 3. Offline Specialization 71</b></p> <p>3.1. Main principles of offline specialization 72</p> <p>3.2. Compared advantages of offline specialization 92</p> <p>3.3. Main components of binding-time analysis 99</p> <p>3.4. When static inputs become dynamic 109</p> <p><b>Chapter 4. A Specializer for C: Tempo 117</b></p> <p>4.1. History 118</p> <p>4.2. Disruptive technologies 121</p> <p>4.3. Architecture 123</p> <p>4.4. Engineering economics 132</p> <p>4.5. Beyond Tempo 139</p> <p>4.6. Other specializers for the C language 142</p> <p><b>Chapter 5. Applications of Specialization 145</b></p> <p>5.1. Applications in operating systems and networks 146</p> <p>5.2. Applications to numerical computation 159</p> <p>5.3. Applications to compilation using an interpreter 160</p> <p>5.4. Applications to the optimization of software architectures 164</p> <p>5.5. Specialization as a software engineering tool 180</p> <p><b>Chapter 6. Precision of Program Analysis 185</b></p> <p>6.1. Choosing the precision of an analysis 186</p> <p>6.2. Sensitivity to (control) flow 189</p> <p>6.3. Sensitivity to speculative evaluation 193</p> <p>6.4. Sensitivity to data structure components 194</p> <p>6.5. Sensitivity to data structure instances 196</p> <p>6.6. Sensitivity to use (of memory locations) 201</p> <p>6.7. Sensitivity to use of literal constants 208</p> <p>6.8. Intraprocedural versus interprocedural analysis 211</p> <p>6.9. Sensitivity to the context (of function call) 213</p> <p>6.10. Sensitivity to the return value 214</p> <p>6.11. Other precision forms 216</p> <p>6.12. Precision of the existing C specializers 217</p> <p><b>Chapter 7. Reification: From a Value to a Term 221</b></p> <p>7.1. Different types of reification 222</p> <p>7.2. Constraints of lifting 226</p> <p>7.3. Lifting of immutable data 231</p> <p>7.4. Lifting of a non-shared mutable piece of data 234</p> <p>7.5. Reification of a shared mutable piece of data 237</p> <p>7.6. Reification of a reference 238</p> <p>7.7. Physical data sharing between execution times 243</p> <p>7.8. Reification and binding time 245</p> <p><b>Chapter 8. Specialization of Incomplete Programs 249</b></p> <p>8.1. Constraints on the code to be specialized 250</p> <p>8.2. Specialization module and language module 254</p> <p>8.3. Revision of the expression of specialization 256</p> <p>8.4. Calling context of a function to be specialized 264</p> <p>8.5. Effect of external function calls 266</p> <p>8.6. Abstract modeling languages 269</p> <p>8.7. Concrete modeling 272</p> <p><b>Chapter 9. Exploitation of Specialization 283</b></p> <p>9.1. Means of exploiting specialization 284</p> <p>9.2. Invariant execution context 286</p> <p>9.3. Optimistic specialization 288</p> <p>9.4. Selection by necessity of a specialized function 294</p> <p>9.5. Selection by anticipation of a specialized function 298</p> <p><b>Chapter 10. Incremental Runtime Specialization 309</b></p> <p>10.1. Data availability staging 310</p> <p>10.2. Models for incremental specialization 313</p> <p>10.3. Binding-time analyses for incremental specialization 322</p> <p>10.4. Implementation 323</p> <p>10.5. Compared advantages of iterated specialization 335</p> <p>10.6. Related works 339</p> <p>10.7. Improving incremental runtime specialization 341</p> <p><b>Chapter 11. Data Specialization 343</b></p> <p>11.1. Program specialization and loop unrolling 344</p> <p>11.2. General concept of data specialization 350</p> <p>11.3. Caching and binding time 360</p> <p>11.4. Structuring the cache 365</p> <p>11.5. The question of control in data specialization 371</p> <p>11.6. Reconstructions of control 375</p> <p>11.7. Program specialization versus data specialization 382</p> <p>11.8. Experimental results 387</p> <p><b>Chapter 12. Scientific Perspectives 393</b></p> <p>12.1. Improving the specialized code 394</p> <p>12.2. Complexity of the process of specialization 404</p> <p>12.3. Simplifying the process of specialization 408</p> <p>12.4. Integration into a software engineering process 418</p> <p><b>Chapter 13. Conclusion: From Prototype to Product 421</b></p> <p>13.1. The race for performance 422</p> <p>13.2. A different viewpoint 423</p> <p>13.3. Difficulties for investing in software engineering 425</p> <p>13.4. Niche uses 429</p> <p>13.5. Developing a specialization platform 432</p> <p><b>Appendix. Basic Facts about Languages and Programs 435</b></p> <p><i>Bibliography 487</i></p> <p><i>Index 523</i></p>
<p><strong>Renaud Marlet</strong> is senior researcher at école des Ponts ParisTech (ENPC), head of the IMAGINE research group, and delegate director by interim of the Laboratoire d'Informatique Gaspard Monge (LIGM) for the école des Ponts ParisTech, France.

Diese Produkte könnten Sie auch interessieren:

Domain Architectures
Domain Architectures
von: Daniel J. Duffy
PDF ebook
31,99 €