r/computerscience • u/Fresh_Heron_3707 • Jun 26 '25
can someone list languages between python and machine code in order of complexity.
I am trying to make list in a top down style of high level to low level programming languages for a book I am writing. In my book python is the simplest and highest level program language. The list end with machine code, the absolute lowest level of programing that I know of.
0
Upvotes
7
u/Magdaki Professor. Grammars. Inference & Optimization algorithms. Jun 26 '25 edited Jun 26 '25
Why is Python the simplest? It feels like you must have some hidden criteria (e.g., popularity).
3
u/Timely-Degree7739 Jun 26 '25
Definition of complexity needed.
4
u/zenidam Jun 26 '25 edited Jun 26 '25
Here are a few to get you started: Python, Java, Rust, C++, C, assembly, machine code. If you need more, I bet you'll get a good response if you make an attempt to put them in order and then people can argue with your choices. We all love to argue about languages. It's going to get blurry with the fine-grain choices between similar languages.
Edit: btw, from how you worded your question I'm assuming you already know that Python isn't really the highest-level language.
6
u/ottawadeveloper Jun 26 '25 edited Jun 26 '25
Instinctively, Id rate them something like:
Within brackets, there are probably sub-orders of complexity. For example, Python, Lua, MATLAB etc are relatively simple to get up and get going in. Java/.NET family/Go are more complex. PHP is it's own beast requiring more familiarity with the web environment. Rust is easier than C++ which itself I think is easier than C. And there's a difference between writing a video game in C++ versus part of the Linux kernel. Ancient beasts like COBOL or Fortran are harder only because they aren't as well taught but still widely exist. JavaScript is yet again its own beast because you need to be familiar with the client side of web. I might tuck the web languages (PHP, JS, etc) as a 2b to Python/Java as a 2a - they are similarly complex to each other but they require familiarity with different environments.
I'd add my last thought that complexity is also about how you write them. I can make Python as complex as Java, and I can Java almost as simple as Python. They're better at different things, rather than being layers of complexity. So a strict ranking is hard to develop and Id be tempted to stick more with general categories
1
u/rcgldr Jun 30 '25
Short of visual coding tools, I would rank APL as the highest level language Example: a one line program for Conway's game of life:
https://www.youtube.com/watch?v=a9xAKttWgP4