How to make Lisp go faster than C
From LRDE
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
- Authors
- Didier Verna
- Journal
- IAENG International Journal of Computer Science
- Type
- article
- Projects
- Climb
- Date
- 2006-12-01
Abstract
Contrary to popular belief, Lisp code can be very efficient today: it can run as fast as equivalent C code or even faster in some cases. In this paper, we explain how to tune Lisp code for performance by introducing the proper type declarations, using the appropriate data structures and compiler information. We also explain how efficiency is achieved by the compilers. These techniques are applied to simple image processing algorithms in order to demonstrate the announced performance on pixel access and arithmetic operations in both languages.
Bibtex (lrde.bib)
@Article{ verna.06.ijcs, author = {Didier Verna}, title = {How to make Lisp go faster than {C}}, journal = {IAENG International Journal of Computer Science}, year = 2006, volume = 32, number = 4, month = dec, issn = {1819-656X}, abstract = {Contrary to popular belief, Lisp code can be very efficient today: it can run as fast as equivalent C code or even faster in some cases. In this paper, we explain how to tune Lisp code for performance by introducing the proper type declarations, using the appropriate data structures and compiler information. We also explain how efficiency is achieved by the compilers. These techniques are applied to simple image processing algorithms in order to demonstrate the announced performance on pixel access and arithmetic operations in both languages.} }