Skip to content

Japanese Lisp Machines

Abstract

Between the late 1970s and the late 1980s Japanese universities, laboratories, and computer makers built a series of computers designed to run Lisp, the language of artificial-intelligence research. A survey for IJCAI in 1979 already counted six Lisp machine projects in Japan. Kobe University’s FAST LISP (1979), built by a master’s student on bit-slice chips, ran its interpreter about as fast as compiled Lisp on mainframes; Osaka University’s EVLIS machine (1982) ran Lisp in parallel on several processors; RIKEN’s FLATS (1984) was a seven-cabinet machine for computer algebra. Three reached the market: Fujitsu’s FACOM α (1985), NTT’s single-chip ELIS (1987), and NEC’s LIME, which scheduled Japan Airlines’ flight crews from 1990. Several were measured against the test programs of Japan’s Lisp contests, whose report was edited by Ikuo Takeuchi; a function of his, misremembered by John McCarthy, became the TAK benchmark. Fujitsu shipped about 30 FACOM α machines and built no successor; NTT’s subsidiary left the ELIS business by 1993. General-purpose processors had caught up, as Fujitsu’s own developer put it, faster than a dedicated machine could be built.

Ikuo Takeuchi 2015
Ikuo Takeuchi, who edited the report of Japan’s second Lisp contest and led the TAO language system for ELIS, in 2015. Image: Haruhiko Okumura, CC BY 2.0, via Wikimedia Commons.

The Lisp Contests

Japan’s Lisp community measured itself in public. The working group on symbol manipulation of the Information Processing Society of Japan (IPSJ) held a first Lisp contest, reported in 1974, and a second in April 1978, in which about 20 Lisp systems took part, three of them from abroad. The report of the second contest, edited by Ikuo Takeuchi of NTT’s Electrical Communication Laboratories, listed each system’s hardware, memory, number of functions, and the times it took on a set of test programs. Toshiaki Kurokawa of Toshiba, surveying Japanese Lisp work for the International Joint Conference on Artificial Intelligence (IJCAI) in 1979, noted that these times were “cited at many places for performance evaluation,” and that Erik Sandewall had complained that the test programs did not reflect real AI applications.

A function Takeuchi devised travelled further than the contests. Richard Gabriel, in his book Performance and Evaluation of Lisp Systems (1985), explained how the TAK benchmark got its form: when Stanford’s computer science department received its first Xerox Dolphins, John McCarthy asked him to run a simple benchmark and tried to recall the Takeuchi function, which had wide circulation. “Of course, John misremembered the function,” Gabriel wrote, and by the time anyone noticed, many numbers had been gathered for the variant. In Gabriel’s suite TAK, which makes 63,609 function calls for the arguments (18 12 6), served as the test of function calls and recursion (see Benchmarks and Benchmark Gaming).

Kurokawa counted six Lisp machine projects in Japan as of April 1979: Eiichi Goto’s FLATS at RIKEN, Yasushi Hibino’s machine at NTT for experiments in parallel garbage collection, ALPS/I at Aoyama Gakuin University (running since 1977), Makoto Nagao’s NK3 at Kyoto University, a machine at Kobe University, and a multi-microprocessor Lisp system at Keio University; the Electrotechnical Laboratory was trying to put a Lisp machine on a few chips. Nagao’s group had decided in 1975 to build NK3 because their natural-language programs, written in Lisp, were too slow and needed co-routines that ordinary Lisp systems handled badly (see KT-1 and Japanese Machine Translation).

FAST LISP at Kobe

The Kobe machine was the one the others measured themselves against. Yukio Kaneda, an assistant professor, chose the topic in 1977, and Kazuo Taki, a master’s student, built it. Taki wanted to build something with bit-slice ALUs and microprogram control, and the plan that emerged was to put an entire Lisp interpreter into microcode. The interpreter was designed in spring 1978, the hardware from summer to autumn, and soldering of the circuit boards began in the autumn; the machine was completed on 10 February 1979, and nearly all bugs were gone within a week. The system was called FAST LISP. The computer itself was called TAKITAC-7, a name not publicized at the time, because it was Taki’s seventh computer.

It used four Am2903 bit-slice processors and an Am2910 sequencer, with a DEC LSI-11 as front end. The hardware stack was built from sixteen Intel 4-kilobit static RAMs with 70 ns access, which cost ¥10,000 each and were handled “like treasure.” Main-memory loads were delayed in the manner of later RISC processors, and the 56-bit microinstructions issued several operations at once, much like VLIW. With a 300 ns microcycle, the interpreter was on a par with Lisp compilers on large general-purpose computers. On the second contest’s problems, the IPSJ notes, it was slightly slower than the mainframe systems HLISP and OLISP, which was a good result for an interpreter on a laboratory machine. Taki, Kaneda, and Sadao Maekawa presented it at IJCAI in 1979. Its architecture was taken up in Fujitsu’s FACOM α and NTT’s ELIS, and the machine itself, listed among the IPSJ’s Information Processing Technology Heritage items for 2011, is on display at Kobe University.

The Kobe group went on to a Prolog machine, PEK, designed from January 1983 and complete by the end of 1984. It ran Prolog at about 40,000 logical inferences per second, slightly faster than the Fifth Generation project’s PSI workstation (see Dead End: The Fifth Generation Computer Project). When the group presented PEK at a workshop in 1984, the next talk was about the Warren Abstract Machine, the compiler technique that let Prolog run fast on ordinary processors.

EVLIS at Osaka

The Department of Applied Physics at Osaka University had built vacuum-tube computers and had worked on Lisp systems for general-purpose machines since the late 1960s. Its members believed that thought was associative and parallel, so in 1978 they set a master’s student to look for every place in a Lisp interpreter where work could be done in parallel. The result was the decision to evaluate the arguments of the function evlis in parallel, and the machine was named the EVLIS machine after it. It was proposed in 1979.

One of three master’s students, Hirotoshi Maekawa, proposed building a new processor, EVAL II, from logic ICs rather than ready-made bit slices; the students designed EVAL II, the parallel algorithms, and the management system, with Toshifumi Saito supporting the software and Hiroshi Yasui the hardware. Construction began in April 1980, and a benchmark program first ran at a meeting of the IPSJ symbol-processing group in Osaka in January 1982. The whole system, with about 2,500 ICs, cost about ¥3 million. The machine had three EVAL II processors (seven in the design), and it parallelized ordinary Lisp 1.5 programs automatically, handling the allocation of work, synchronization, and side effects that rewrote list structure. Even with a single EVAL II it outran the other Lisp machines of the time and matched the HITAC M-200H, the fastest machine at the large university computer centres. The work won the IPSJ’s best paper award, and the machine is kept at Osaka University’s Faculty of Engineering.

FLATS at RIKEN

FLATS was a Lisp machine for formula manipulation, named after Formula, Lisp, Association, Tuple, and Set. Goto, who held a University of Tokyo chair and led RIKEN’s information science laboratory, had developed HLISP, which used hashing for Lisp cells, and wanted to run the computer algebra system REDUCE on it (see Goto Eiichi and the Parametron and Computer Algebra Systems). Running REDUCE on a general-purpose machine, he liked to say, was like scratching the sole of your foot through your shoe. RIKEN invited REDUCE’s author Anthony Hearn to a symposium in 1977, and the project was funded from 1979 for five fiscal years, at about ¥400 million in all.

Mitsui Engineering and Shipbuilding built FLATS to RIKEN’s design, with help from Fujitsu. It had about 23,000 ECL logic devices and 11,000 MOS and TTL devices on about 2,000 circuit boards, filled seven cabinets, and drew about 100 kVA. It was completed in 1984. Its builders reported that it matched or beat a FACOM M-380 mainframe whose basic circuits were about eight times faster.

Three Products

FACOM α. Fujitsu Laboratories built its Lisp machine α in 1982 as a symbol of its artificial intelligence research; it was announced as the FACOM α in July 1984 and sold from 1985. Where most Lisp machines stood alone, the α was a back-end processor attached to a minicomputer or mainframe through a block multiplexer channel, using the host’s disks and terminals. It ran the UTILISP dialect of the University of Tokyo, served up to eight users at once, offered 16 MB of virtual memory, and gained most of its speed, about six times that of a general-purpose machine, from a hardware stack. Besides AI research it ran practical systems, among them an expert system for diagnosing steelworks blast furnaces; since a machine was kept in use as long as the furnace lasted, spare parts became a worry. About 30 were shipped.

ELIS. At NTT, Hibino began work on ELIS in 1978, aiming from the start at a single-chip processor. ELIS stood for ECL LISt processor, reviving the name of a list-processing system Nobuichi Ikeno had written in 1966. Hibino’s design centred on memory general-purpose registers that served as data and address registers at once, so that memory operations and arithmetic could run continuously and in parallel. When a new laboratory head pressed him to stop the prototype, a negotiation conducted on several walks around the laboratory, later remembered as the “walk incident,” ended with permission to continue only as a training exercise for a newly hired engineer, Kazufumi Watanabe. Conversion to LSI was attempted at the Musashino laboratories from 1982, and Hibino wrote his own CAD system after accidentally deleting his design tools. Hibino later got the prototype machine, named Hydrogen after the first element, fully working. On 9 September 1983, the day the clock-control circuit of the first trial chip was seen running, Takeuchi’s group started its microcoded interpreter for TAO on the prototype. TAO combined Lisp, logic programming, and object-oriented programming in one S-expression syntax; its interpreter had grown to more than 20,000 microcode steps while the hardware was still not working.

Practical development moved to NTT’s Yokosuka laboratories in 1985, with Oki Electric making the commercial chip. Hibino recalled that the first large run of the commercial chip, squeezed into the summer holiday of a mass-production line in Miyazaki, yielded three good chips; after a mask fix, a second run yielded more than 4,000. The 32-bit processor was presented at the International Solid-State Circuits Conference in 1987, next to a Lisp chip from Texas Instruments. NTT-IT, founded in 1987, sold the workstation as the ELIS-8100, followed by the ELIS-8200 in 1989 and a VME board version for embedded use; about 400 were made in all. From 1991 NTT-IT withdrew from the business, and by 1993 it was out.

LIME. NEC’s LIME was a back-end machine whose instruction set implemented UTI-Lisp, built on the architecture of CHI-II, a Prolog machine. It used 40-bit words with an 8-bit type tag and up to 320 MB of memory, and an evaluation put it at two to ten times the speed of the Symbolics 3600 at a similar machine cycle. In February 1990 Japan Airlines and NEC announced a system, developed from 1986, that used it to generate the monthly schedules of the airline’s 2,200 flight crew members.

Dead End

Hiromu Hayashi of Fujitsu Laboratories, first author of the α’s architecture paper of 1983, wrote the post-mortem in 2002. A language machine, however hard its builders tried, could reach at most about ten times the speed of a general-purpose machine. Processor performance doubled roughly every year and a half, and the α had taken four years to develop; after four years the advantage of a dedicated machine was very small. Fujitsu built no successor. The IPSJ gives the same reason for the α, and NTT-IT’s exit from ELIS followed a few years later.

Kurokawa had anticipated part of this in 1979. He expected 32-bit architectures to end Lisp’s memory problems and wrote that a portable Lisp on 32-bit hardware such as the VAX-11 and a special-purpose Lisp machine would be “good competitors.” In the United States, Symbolics and LMI met the same arithmetic in the same years (see The Lisp Machine Era and Expert Systems and the First AI Winter). For the dataflow machines built in Japan in the same years, see Japanese Dataflow Machines.

📚 Sources