Title of article
Gaussian Elimination: A case study in efficient genericity with MetaOCaml
Author/Authors
Jacques Carette، نويسنده ,
Issue Information
دوهفته نامه با شماره پیاپی سال 2006
Pages
22
From page
3
To page
24
Abstract
The Gaussian Elimination algorithm is in fact an algorithm family — common implementations contain at least six (mostly independent) “design choices”. A generic implementation can easily be parametrized by all these design choices, but this usually leads to slow and bloated code. Using MetaOCaml’s staging facilities, we show how we can produce a natural and type-safe implementation of Gaussian Elimination which exposes its design choices at code-generation time, so that these choices can effectively be specialized away, and where the resulting code is quite efficient.
Keywords
Reuse , ASDF , Language environment , Action semantics , ASF+SDF , Modularity
Journal title
Science of Computer Programming
Serial Year
2006
Journal title
Science of Computer Programming
Record number
1079875
Link To Document