Open In App

Lisp vs Erlang Programming Language

Improve
Improve
Like Article
Like
Save
Share
Report

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:

  • High-Level Programming Language 
  • Machine Independent Language
  • Include Object-Oriented Programming
  • Includes High debugging Feature
  • Includes full I/O Library
  • Expression Based Language

Syntax:

Lisp




(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:

  • Functional Programming language
  • Used in Industries like E-commerce and banking sectors
  • It has a small but powerful set of primitives 
  • It is suitable for Database applications
  • It is used for error containment and fault tolerance Processes.
  • It recasts the Communicating Sequential Processes (CSP) in a functional framework

Syntax:

C++




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


Last Updated : 25 Apr, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads