Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sequential programming language?

What exactly is behind the notion of "sequential programming language" ?

I couldn't find a proper / deep description for that. I clearly see what a sequential algorithm is, but a programming language.

Sequential could be opposed to procedural, but...

What would be a language said "strictly sequential" ? Is it only a matter of giving or not the possibility to deal with functions ?

I know that this question is a bit too general and would require more than a simple Q&A, but an introduction and/or some good pointers on the subject would be greatly appreciated.

EDIT : Well, after further reading (thanks to msw and Edorka), I realize that the above quoted assumption is the result of my misunderstanding of some basic vocabulary and relies on nothing concrete. And consequently this question becomes pointless. But thanks for your time and precious developments guys!

EDIT :sequential would be better opposed to...

  • Event-driven programming
  • Concurrent computing
  • Parallel computing
  • Declarative programming
  • Quantum programming
like image 436
Gauthier Boaglio Avatar asked Jun 19 '13 13:06

Gauthier Boaglio


People also ask

What is sequential programming language?

Sequential languages are languages that were designed for writing sequential programs and have no linguistic constructs for describing concurrent computations.

Is Python a sequential language?

Python has the following built-in sequence types: lists, bytearrays, strings, tuples, range, and bytes. Python classifies sequence types as mutable and immutable.

Are all programming languages sequential?

For the most part, unless Multi-threading is used, code statements will run in the "main" thread and be executed in order, and will not go to the next statement until the previous statement has completed. If you use multi-threading there is no guarantee of the order of statements that occur in separate threads.

Is java a sequential language?

In a broad way JAVA is a sequential language. And the execution of a java program always happens in a sequential manner.


1 Answers

I would say — lacking further context — that sequential could be synonymous with imperative or contrasted with "event-driven", "concurrent", "parallel", "declarative", or "quantum".

I don't know where you got your quoted text, but if you unroll a procedural program it is "sequential" and so from a theoretical perspective, it's a useless distinction.

like image 56
msw Avatar answered Sep 30 '22 12:09

msw