Open In App

Lisp vs Erlang Programming Language

Lisp is the High-Level Programming Language invented by John McCarthy in 1958 at the Massachusetts Institute of Technology (MIT). Lisp is the second-oldest high-level programming language in widespread use today. The name Lisp is derived from ‘List Processing Language’. Lisp programs deal with source code as a data structure.

It is suitable for Artificial Intelligence programs because it processes symbolic information effectively.



Properties of Lisp:

Syntax:






(write-line "value to print")

Here write-line is the Print statement used to print some values

 

Erlang is a general-purpose language. Erlang was developed by Joe Armstrong, Robert Virding, and Mike Williams in 1986. It supports concurrency, distribution, and fault tolerance. When Erlang was created it was created to be used in several large telecommunication systems.

Now it is used in diverse sectors like e-commerce, computer telephony, banking sectors, etc.

Properties of Erlang:

Syntax:




% THIS PROGRAM IS WRITTEN IN ERLANG PROGRAMMING LANGUAGE %
-module(module_name). 
-export([start/0]). 
  
start() -> 
   io:fwrite("value to Print).

Following are some of the differences between LISP and Erlang:

 

LISP

Erlang

1. It is a High-level Programming Language It is a functional Programming language
2. It is machine Independent Language It is used in industries like e-commerce and banking sectors.
3. It supports object-oriented Programming It is used to create Database applications
4. In Lisp ” ; “ is used to add comments In Erlang ” % ” is used to add comments
5. It includes a complete I/O Library It has a Powerful set of Primitives
6. Lisp was developed by John McCarthy in 1958 Erlang was developed by Joe Armstrong, Robert Virding and Mike Williams in 1986.
7. It is an open source language. It is an open source language.
8. Lisp has high-level debugging system. It is heavily to create applications.

Article Tags :