Quote:
Originally Posted by
gabam
I have always been hearing that C/C++ are relatively low-level as compared to Java/C# etc. Could you please tell me some low-level qualities of C/C++?
I wouldn't put C and C++ in the same bag.
C is undoubtedly lower level than Java/C# in the sense in can do a lot - but not all - what can do the real low level programming languages which are assembly languages. Also, you can write C code that doesn't depend on a runtime/library, even the standard C library, with C. That's why the vast majority of operating systems kernels are written in C.
C++ is a different story. It is kind of a superset of C however, if you use C++ specific features, you are adding dependencies that make your code much higher level and runtime dependent. That would make for example C++ quite a poor choice for writing a kernel.
Quote:
And I think disk deframenters are written in C/C++, please correct me if I am wrong.
You are probably correct but a disk defragmenter is not that much an example of code requiring a "low level" programming language. You certainly can write a disk defragmenter in Java, or python or whatever.