Thomas F Burdick's Road to Lisp

I, Thomas F. Burdick?, do solemnly offer these my responses to The Road to Lisp Survey:

When did you first try Lisp (meaning here and throughout the survey "any member of the Lisp family") seriously, and which Lisp family member was it?

I had dabbled a bit in Emacs Lisp, Scheme, and Common Lisp, but when I tried Lisp seriously, it was Common Lisp, in 1999.

What led you to try Lisp?

I was working on some hairy C++ code, and according to the profiler, I needed to make it faster. Constantly referring to the assembly output, I rewrote the affected functions and got a significant speed gain. Unfortunately, the resulting code was impossible to follow, and had what looked like an "obvious" bug (even I was tempted to "fix" it, and I knew why it was there!). So, I tried again, and rewrote the code readably, but this time paying close attention to efficiency. Now I had clear, maintainable code that should have been fast, but for one problem -- gcc wouldn't give me as efficient code as I wanted. I knew that the compiler should be free to make certain optimizations on the code, but I had no way of communicating this to the compiler: I had to choose between readability and optimizability.

My solution? I figured that I needed a way to pass promises/hints/transforms to the compiler. I wanted to be able to write my code for human beings, and provide the extra information the compiler needed to transform it into more efficient code. I was already a big fan of Literate Programming, so this seemed like a natural enough desire. I got the gcc source code, and started hacking at it, to give myself the tools I needed. After some success on small examples, I ran into a problem trying to implement what I needed for the production code. It seemed there was a bug in the gcc internals, or maybe I just couldn't understand the code. At this point, I turned to a gcc guru I knew, and asked him if he could help me figure out what was going on.

He was (in retrospect, justifiably) horrified. He pointed out that no one would want to use my custom, hacked C++ compiler, and that I was working hard against the C++ way of doing things. He told me that I should look at Lisp, which is a language that explicitly supports what I was trying to do: its macros are really program-transformations, and it has compiler-macros that are almost exactly what I was (badly) reinventing.

I decided to learn Lisp for real, especially this new world of macros. Skipping past all the cute recursion/closures stuff filling up the beginnings of Lisp books, I picked up Paul Graham's On Lisp, and jumped straight to Chapter 7, "Macros".

If you were trying Lisp out of unhappiness with another language, what was that other language and what did you not like about it, or what were you hoping to find different in Lisp?

C++ promised abstraction, and efficiency, but it could only deliver on one at a time. I wanted to be able to write custom transforms, and generally assist the compiler, so my abstract, readable code would turn into well-tuned machine code.

How far have you gotten in your study of Lisp? (I know, that is hard to measure)

I've gotten quite good at working with Python (the CMUCL/SBCL compiler) to get the machine code I want, from my readable source code. I'm a good, competent applications programmer, and I've worked some in implementation. I still learn things all the time (this is a good thing to me).

What do you think of Lisp so far?

I love it! I still learn new languages, but the desperate search for Something Better is gone. I'm happy using it. I may later discover new Holy Grails that I need to search for, but for now, I've found mine: I can copy pseudo-code out of notes, or papers, and build the Lisp system up to the point where it can run it; not only run the pseudo-code, but do so efficiently.


Switch Date 1990s RtL Word of Mouth RtL Greenspun's Tenth

This page is linked from:

Kenny's RtLS Top-Ten RtL Highlight Film

Other pages sharing this page's categories:

Abhijit Rao Albert Krewinkel's Road to Lisp Alejandro Guillen Road to LISP Alexander Lehmann's Road to Lisp AlexPeake AlexTibbles Andrew Jones-Gonzales's Road to Lisp Andrew Main's Road to Lisp Andrew Philpot's Road to Lisp Artie Gold's Road to LISP Arto Bendiken's Road to Lisp August Sigov's Road to Lisp Ben Holm's Road to Lisp Bill Birch's Road to Lisp Bob Bane's Road to Lisp Bob Bechtel BobHutchison Brad Beveridge - Road to Lisp Bradford W Miller BradMight Brandon Corfman Brendan Van Horn Brian Mastenbrook - Road to Lisp Brian T. Rice Bruce Durling's Road to Lisp Bruce Woodward's Road to Lisp Bulent Murtezaoglu C E C Artime Charlie McMackin Chris Laux's Road to Lisp Chris Smith's Road to Lisp Chris Sonnack's Road to Lisp Chris Van Dusen Chris-Perkins Christian Lynbechs Road to Lisp Christian Nybø Coby Beck Conrad Barski Constantine Vetoshev Damien Sullivan's Road to Lisp Dan Muller Daniel Barlow's Road to Lisp Daniel Pezely's Road to Lisp DARose Dave Fayram's Road to Lisp Dave Pearson Dave Roberts David Douthitt David Golden's Road to Lisp David Mercer David Rush David Thompson's Road to Lisp Denes Cselovszky's Road to Lisp Dirk Gerrits's Road to Lisp DJ Clark's Road to Lisp Donald Fisk's Road to Lisp Donnie Cameron's Road to Lisp Doug Tolton's Road to LIsp Drew Crampsie Drew McDermott Duane Rettig's Road To Lisp Edi Weitz' Road to Lisp Eduardo Muñoz Emre Sevinc Erann Gat's Road to Lisp Eric Hanchrow Erik Enge's Road to Lisp Erik Winkels's Road to Lisp Espen Vestre's Road to Lisp Gabor Melis's Road to Lisp Gareth McCaughan's Road to Lisp Gary King's Road to Lisp Gary Klimowicz's Road to Lisp Geoff Wozniak's Road to Lisp GeoffCant GeoffKnauth George Rogers Road to Lisp Glenn Ehrlich Glenn Ehrlich Road to Lisp Gordon Weakliem Heow's Road to Lisp Hoan Ton-That's Road to Lisp Ivan Toshkov's Road To Lisp Jacek Generowicz James Fleming's Road to Lisp Jeff Shrager's Road to Lisp Jimmy Miller's Road to Lisp Jochen Schmidt's Road to Lisp Jock Cooper Joel Ray Holveck John Pallister's road to Lisp John Sturdy John Williams JP Massar Justin Dubs Justin Heyes-Jones's Road To Lisp Kamen Tomov Karl K.'s Road to Lisp Kean Lau's Road to Lisp Kenny Tilton's Road to Lisp KevinZzz Kristian Sørensen - Road to Lisp Larry Clapp's Road to Lisp Lars Brinkhoff's Road to Lisp Lars Wirzenius Lasse Rasinen Lennart Staflin Louis Theran Mackram Raydan's Road to Lisp Marc Mertens's Road to Lisp Marco Baringer's Road to Lisp Mark Hurd Mark Triggs Mark Wilson MarkBrady Marko Kocic Martin Mikelsons Matthias Benkard's Road to Lisp MattKnox Michael J Forster Michael Naunton's Road to Lisp Mikael Jansson's Road to Lisp Mike Travers Mikel Evins' Road to Lisp Mostafa Razavi's Road to Lisp Myron Wu's Road to LISP Nathan Bloomfield's Road to Lisp Naveen Garg Nick Levine Nicolas Sceaux's Road to Lisp Nikodemus Siivola'a Road to Lisp Nonya B's Road to Lisp Ola Rinta-Koski Ora Lassila's Road to Lisp Pascal Costanza's Road To Lisp Patrick Logan Paul Clevett Paul Foleys Road To Lisp Paul Graham's Road to Lisp Paul Potts Paul Snively PaulKhuong's Road To Lisp Peder O Klingenberg's Road to Lisp Pekka P Pirinen Pete Kirkham Peter Housel's Road to Lisp Peter Lewerin's Road to Lisp Peter Santoro Peter Seibel's Road to Lisp Peter Van Eynde's Road to Lisp Pierre Thierry's Road to Lisp Rainer Joswig's Road to Lisp Ralph Richard Cook Randall Randall's Road to Lisp Reini Urban Robbie Sedgewick's Road to Lisp Robert Marlow Robin Felix's Road to Lisp Robin Kåveland Hansen's Road to Lisp RtL Brian Cully RtL Russell Snow RtLMartinGinkel Sanjay Pande Scott L Burson's Road to Lisp Scott McIntire Scott Michel's Road to Lisp Sean Champ Sebastian Stern's Road to Lisp SimonHeath Sivaram N Slobodan Stephane Belmon's Road To Lisp Steven Harris' Road to Lisp Tage Stabell-Kulø Tayssir John Gabbour's Road to Lisp The Road Jeff Caldwell Took The Road to Lisp Questions Thomas M. Hermann's Road to Lisp Thomas Müller Thomas Munro's Road to Lisp Thomas Stenhaug's Road to Lisp Tim Kerchmar TimHaynes Toby Davies' Road to Lisp Tomer Altman tony yelacic VikasGP Vladimir Sedach William Maddox Yuri Niyazov Zach Beane's Road to Lisp Zachery Bir