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 toprocedural
, 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...
Sequential languages are languages that were designed for writing sequential programs and have no linguistic constructs for describing concurrent computations.
Python has the following built-in sequence types: lists, bytearrays, strings, tuples, range, and bytes. Python classifies sequence types as mutable and immutable.
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.
In a broad way JAVA is a sequential language. And the execution of a java program always happens in a sequential manner.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With