New course! Every coder should learn Generative AI!
Try a free lesson+ 12
I don't think 'C' is a low level language
Although it might be at the lower end of high level languages spectrum, but it still possess enough level of abstraction to be considered as a high level language.
+ 4
C and C++ are now considered low-level languages because they have no automatic memory management.
+ 4
sree harsha
If you consider a language low-level because it can be used for making system softwares, then here you go
Java is low-level: JX OS is written in Java
C++ is low-level: Symbian OS was written in C++
Rust is low-level: RedoxOS is written in Rust
Python is low-level: PyPy interpreter was written in Python
In fact, the compiler/interpreter (which are system softwares) for most languages is developed using the language itself, so in that sense almost every language is low-level.
Assembly is a low-level language. Here is a code with inline assembly I made a few months back that displays a pattern
https://code.sololearn.com/cUR2m4TG4Dox/?ref=app
Here is a C code that does the same thing I made in under a minute
https://code.sololearn.com/ciZatGqMTIPa/?ref=app
See the difference?
+ 2
Srikanth
Actually C is a middle level language... Because it serves both the aspects (low level language as well as high level language)..
1) It provide a vehicle for the programmer to specify action to be executed .(close to the machine)
2)It provide a set of concepts for the programmer to use when thinking about what can be done..(close to the problem to be solved)
+ 2
Srikanth
if a language is pre-compiled or interpreted isn't related with if it is a low or high level; it is more a design consequence.
There doesn't exist a mid level, it is more an underground term to describe a mix or transition between them.
The hard part of low-level is design the system, not write the code.
+ 2
The definition of low level has changed quite a bit since the inception of computer science. I would not qualify C as a low or high level language, but rather more like an intermediary language. The only true low level programming is machine code or assembly (asm). Assembly is as close as possible to what the CPU (the computer's processor) can execute, as it is literally a text translation of the binary code which the CPU understands. For example, compression libraries are typically built in C, and very specific parts would be built using assembly, but the amount of assembly is getting lesser because compilers are getting so much better at optimization.
I consider C a low-level language nowadays. Certainly, it is the primary language that Holberton uses in the low-level curriculum. So for me C is low level because when using it we have to manage our own application memory, it is not managed for us by the language. This requires us as engineers to take total responsibility for our actions. This means our mistakes will tend to be catastrophic but the rewards are substantial in terms of efficiency and power consumption on whatever device runs our code. Also, being a C programmer can be inherently satisfying if you like to understand the technical details of your work.
+ 2
C and C++ both are high level languages....
+ 1
C could be considered the assembler made language.
If is high or low level, it is relative to the criteria
+ 1
The problem is that the term changed along the time, thats why told you it is relative to the criteria.
When it was released decades ago it was high level compared with assembler and other langs.
But nowadays it is low-level, as much more higher level langs are around these days.
+ 1
Arsenic
Are you having any proof that C is not a low level programming
Any valid reason kindly let me know I need to know that
+ 1
Because the compiling of the C is faster than the High-level languages. The sintaxes is different too. The low language has sintax that is more undrestandable for computer, but less than for people. This is the different
+ 1
sree harsha I don't see C having any low level language feature maybe except inline assembly.
I am interested to know how you define a high/low level language.
0
Using C(and C++ ofcourse), you can access even the most smallest memory unit(a bit) from your computer memory. That is, using a C code, you can know if a bit is on or off in any memory location. Isn't that amazing? And C(and C++) provides lot of permission and access to the programmer. "Trust the programmer" is followed in these languages. So as a result, using these languages you can interact to the hardwares of your computer with the closest way possible. That's why C is called low-level and closest-to-hardware language.
C++ is just an upgraded version of C. So every feature(almost) in C is also in C++
0
It not low it intermediate
I mean it between low and hight
0
cause it's used for low level programming like os, hareware stuff you know did you get my point
- 2
C is said to be s low level language
Most of the system softwares are developed in C only
For example :
DOS is developed in C
UNIX is developed in C
LINUX KERNAL is developex in c
JVM in java is developed in C
SQL in database is developed in C
Drivers are also written in C
All these are system softwares
Since it is developing systems softwares it is called as systems programming language
Since it is very much close to system or hardware it is called as low level programming language
We are having keilc to develop mpmc applications
Embeddedc for EmbeddedSystems programming
All are related to hardware only
So C is ever low level programming
- 4
Martin Taylor
If you are accepted or not accepted
C is a low level language for ever
It is a universal fact
I am just one of the learners of C