What is The Difference Between Occam And Awk, Programming Languages
Occam is a Procedural Programming Language, while Awk is a Scripting 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 Scripting Languages
Scripting languages are programming languages that control an application. Scripts can execute independent of any other application. They are mostly embedded in the application that they control and are used to automate frequently executed tasks like communicating with external programs.
While Occam is a Procedural Programming Language, and Awk is a Scripting 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 Awk Programming Language – A brief synopsis
Awk was born in the Bell Labs in the 1970s. It is used for processing text-based data in data streams and files and uses the string datatype, arrays, and regular expressions.
Sources
A Complete List of Computer Programming Languages
Other Posts