How to make Lisp go faster than C

From LRDE

Revision as of 16:26, 29 January 2019 by Bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.}
}