What is The Difference Between Occam And S-Lang, Programming Languages
Occam is a Procedural Programming Language, while S-Lang is an Interpreted Programming Language
What are Procedural Programming Languages
Procedural (imperative) programming implies specifying the steps that the programs should take to reach to an intended state. A procedure is a group of statements that can be referenced through a procedure call. Procedures help in the reuse of code. Procedural programming makes the programs structured and easily traceable for program flow.
What are Interpreted Programming Languages
An interpreted language is a programming language for which most of its implementations execute instructions directly, without previously compiling a program into machine-language instructions. The interpreter executes the program directly, translating each statement into a sequence of one or more subroutines already compiled into machine code. (Wikipedia)
While Occam is a Procedural Programming Language, and S-Lang is an Interpreted Programming Language
Let us now look at the difference between the two:
What is Occam Programming Language – A brief synopsis
It is an imperative procedural language that was developed by David May and his colleagues at INMOS. It is similar to Pascal. Occam-pi is a variant of Occam that has been extended to include nested protocols, recursion, protocol inheritance, array constructors and run-time process creation.
What is S-Lang Programming Language – A brief synopsis
Originally developed as a stack-based language, S-Lang has evolved as a language similar to C. It was developed by John E. Davis.
Sources
A Complete List of Computer Programming Languages
Other Posts