McCarthy

October 25th, 2011  |  Published in Uncategorized  |  1 Comment

This morning comes the news that John McCarthy, creator of Lisp, has died.

I always thought the story of how he wrote the first Lisp interpreter was interesting. McCarthy and his students had developed Lisp notation, but they heard how much effort went into the Fortran compiler and didn’t think they had the resources for that, so when they actually wanted to run a program they translated it to machine code by hand. Then McCarthy wrote a paper showing that Lisp was Turing-complete, and in the process he wrote an eval function that could interpret an arbitrary Lisp expression. When one of his grad students read the paper, he realized that once they translated that function to machine code they would have an interpreter that could run any Lisp program, and they wouldn’t have to translate by hand any more.

Responses

  1. adam connor says:

    October 25th, 2011 at 9:17 am (#)

    Although, IIRC, McCarthy had to invent garbage collection to make Lisp work on the machines of the time.

Leave a Response

Social Widgets powered by AB-WebLog.com.