Please use this identifier to cite or link to this item: https://doi.org/10.1145/295656.295661
Title: Optimizing compilation of CLP(R)
Authors: Kelly, A.D.
Marriott, K.
Macdonald, A.
Stuckey, P.J.
Yap, R. 
Issue Date: Nov-1998
Citation: Kelly, A.D., Marriott, K., Macdonald, A., Stuckey, P.J., Yap, R. (1998-11). Optimizing compilation of CLP(R). ACM Transactions on Programming Languages and Systems 20 (6) : 1223-1250. ScholarBank@NUS Repository. https://doi.org/10.1145/295656.295661
Abstract: Constraint Logic Programming (CLP) languages extend logic programming by allowing the use of constraints from different domains such as real numbers or Boolean functions. They have proved to be ideal for expressing problems that require interactive mathematical modeling and complex combinatorial optimization problems. However, CLP languages have mainly been considered as research systems, useful for rapid prototyping, but not really competitive with more conventional programing languages where efficiency is a more important consideration. One promising approach to improving the performance of CLP systems is the use of powerful program optimizations to reduce the cost of constraint solving. We extend work in this area by describing a new optimizing compiler for the CLP language CLP(R). The compiler implements six powerful optimizations: reordering of constraints, bypass of the constraint solver, splitting and dead-code elimination, removal of redundant constraints, removal of redundant variables, and specialization of constraints which cannot fail. Each program optimization is designed to remove the overhead of constraint solving when possible and keep the number of constraints in the store as small as possible. We systematically evaluate the effectiveness of each optimization in isolation and in combination. Our empirical evaluation of the compiler verifies that optimizing compilation can be made efficient enough to allow compilation of real-world programs and that it is worth performing such compilation because it gives significant time and space performance improvements.
Source Title: ACM Transactions on Programming Languages and Systems
URI: http://scholarbank.nus.edu.sg/handle/10635/99368
ISSN: 01640925
DOI: 10.1145/295656.295661
Appears in Collections:Staff Publications

Show full item record
Files in This Item:
There are no files associated with this item.

SCOPUSTM   
Citations

8
checked on Jun 5, 2020

WEB OF SCIENCETM
Citations

6
checked on Jun 5, 2020

Page view(s)

56
checked on Jun 6, 2020

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.