Sinisterly
Programming language FAQ and choosing guide - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Programming language FAQ and choosing guide (/Thread-Programming-language-FAQ-and-choosing-guide)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Programming language FAQ and choosing guide - Deque - 04-29-2013

(04-29-2013, 07:56 AM)Ex094 Wrote: @Deque Found bad links, the first, fifth, seventh and eighth link under GDI & GDI+

Ah, thank you. The links have been shortened with dots which renders them unusable. I will ask @Psycho_Coder to provide the complete links.


RE: Programming language FAQ and choosing guide - Psycho_Coder - 04-29-2013

(04-29-2013, 07:56 AM)Ex094 Wrote: @Deque Found bad links, the first, fifth, seventh and eighth link under GDI & GDI+

Thank you for pointing them out. Some links had changed (These were saved in a text file. But I have checked and fixed those.

(04-29-2013, 08:11 AM)Deque Wrote:
(04-29-2013, 07:56 AM)Ex094 Wrote: @Deque Found bad links, the first, fifth, seventh and eighth link under GDI & GDI+

Ah, thank you. The links have been shortened with dots which renders them unusable. I will ask @Psycho_Coder to provide the complete links.

I am sorry for the inefficiency. I have PM you the complete links again and fixed all.


RE: Programming language FAQ and choosing guide - Deque - 04-29-2013

(04-29-2013, 11:35 AM)Psycho_Coder Wrote: I am sorry or the inefficiency. I have PM you the complete links again and fixed all.

No problem. Thread is updated.


RE: Programming language FAQ and choosing guide - noize - 05-05-2013

Well, you're talking about C, C++ as low-level languages, I see.

Quote:A low-level language deals more with direct hardware interaction, and thus is more suitable for programs like device drivers code that really needs access to the hardware. Since a low-level language is subject to all the nuances of the hardware it's accessing, however, a program written in a low-level language is generally difficult to port to other platforms. These languages are almost always compiled.
A high-level language focuses more on concepts that are easy to understand by the human mind, such as objects or mathematical functions. A high-level language usually is easier to understand than a low-level language, and it usually takes less time to develop a program in a high-level language than it does in a low-level language. As a trade-off one generally needs to sacrifice some degree of control over what the resulting program actually does. It is not, however, impossible to mix high- and low-level functionality in a language.

From: http://www.cplusplus.com/info/description/

C++ is powerful and provides access to low-level functions as well as to high-level ones (Wikipedia defines it an intermediate-level language for this reason https://en.wikipedia.org/wiki/C%2B%2B ), but many consider it a high-level programming language. It is infact not restricted by the machine components, it is portable and object-oriented. I would define it a high-level language.

So for C, but I may be wrong. If someone has valid arguments against mine, I'd like to hear them.
This is what I think.


RE: Programming language FAQ and choosing guide - noize - 05-05-2013

Well, you're talking about C, C++ as low-level languages, I see.

Quote:A low-level language deals more with direct hardware interaction, and thus is more suitable for programs like device drivers code that really needs access to the hardware. Since a low-level language is subject to all the nuances of the hardware it's accessing, however, a program written in a low-level language is generally difficult to port to other platforms. These languages are almost always compiled.
A high-level language focuses more on concepts that are easy to understand by the human mind, such as objects or mathematical functions. A high-level language usually is easier to understand than a low-level language, and it usually takes less time to develop a program in a high-level language than it does in a low-level language. As a trade-off one generally needs to sacrifice some degree of control over what the resulting program actually does. It is not, however, impossible to mix high- and low-level functionality in a language.

From: http://www.cplusplus.com/info/description/

C++ is powerful and provides access to low-level functions as well as to high-level ones (Wikipedia defines it an intermediate-level language for this reason https://en.wikipedia.org/wiki/C%2B%2B ), but many consider it a high-level programming language. It is infact not restricted by the machine components, it is portable and object-oriented. I would define it a high-level language.

So for C, but I may be wrong. If someone has valid arguments against mine, I'd like to hear them.
This is what I think.


RE: Programming language FAQ and choosing guide - Psycho_Coder - 05-05-2013

(05-05-2013, 11:37 AM)noize Wrote: Well, you're talking about C, C++ as low-level languages, I see.

Quote:A low-level language deals more with direct hardware interaction, and thus is more suitable for programs like device drivers code that really needs access to the hardware. Since a low-level language is subject to all the nuances of the hardware it's accessing, however, a program written in a low-level language is generally difficult to port to other platforms. These languages are almost always compiled.
A high-level language focuses more on concepts that are easy to understand by the human mind, such as objects or mathematical functions. A high-level language usually is easier to understand than a low-level language, and it usually takes less time to develop a program in a high-level language than it does in a low-level language. As a trade-off one generally needs to sacrifice some degree of control over what the resulting program actually does. It is not, however, impossible to mix high- and low-level functionality in a language.

From: http://www.cplusplus.com/info/description/

C++ is powerful and provides access to low-level functions as well as to high-level ones (Wikipedia defines it an intermediate-level language for this reason https://en.wikipedia.org/wiki/C%2B%2B ), but many consider it a high-level programming language. It is infact not restricted by the machine components, it is portable and object-oriented. I would define it a high-level language.

So for C, but I may be wrong. If someone has valid arguments against mine, I'd like to hear them.
This is what I think.
C++ is a high level Language. C is a middle level language , wanna know why ??
Visit this link :- http://www.hackcommunity.com/Thread-Tutorial-Learning-C-with-Psycho-Coder-Part-1

I have explained there why C must be called a middle-level Langauge


RE: Programming language FAQ and choosing guide - Psycho_Coder - 05-05-2013

(05-05-2013, 11:37 AM)noize Wrote: Well, you're talking about C, C++ as low-level languages, I see.

Quote:A low-level language deals more with direct hardware interaction, and thus is more suitable for programs like device drivers code that really needs access to the hardware. Since a low-level language is subject to all the nuances of the hardware it's accessing, however, a program written in a low-level language is generally difficult to port to other platforms. These languages are almost always compiled.
A high-level language focuses more on concepts that are easy to understand by the human mind, such as objects or mathematical functions. A high-level language usually is easier to understand than a low-level language, and it usually takes less time to develop a program in a high-level language than it does in a low-level language. As a trade-off one generally needs to sacrifice some degree of control over what the resulting program actually does. It is not, however, impossible to mix high- and low-level functionality in a language.

From: http://www.cplusplus.com/info/description/

C++ is powerful and provides access to low-level functions as well as to high-level ones (Wikipedia defines it an intermediate-level language for this reason https://en.wikipedia.org/wiki/C%2B%2B ), but many consider it a high-level programming language. It is infact not restricted by the machine components, it is portable and object-oriented. I would define it a high-level language.

So for C, but I may be wrong. If someone has valid arguments against mine, I'd like to hear them.
This is what I think.
C++ is a high level Language. C is a middle level language , wanna know why ??
Visit this link :- http://www.hackcommunity.com/Thread-Tutorial-Learning-C-with-Psycho-Coder-Part-1

I have explained there why C must be called a middle-level Langauge


RE: Programming language FAQ and choosing guide - noize - 05-05-2013

(05-05-2013, 12:05 PM)Psycho_Coder Wrote:
(05-05-2013, 11:37 AM)noize Wrote: Well, you're talking about C, C++ as low-level languages, I see.

Quote:A low-level language deals more with direct hardware interaction, and thus is more suitable for programs like device drivers code that really needs access to the hardware. Since a low-level language is subject to all the nuances of the hardware it's accessing, however, a program written in a low-level language is generally difficult to port to other platforms. These languages are almost always compiled.
A high-level language focuses more on concepts that are easy to understand by the human mind, such as objects or mathematical functions. A high-level language usually is easier to understand than a low-level language, and it usually takes less time to develop a program in a high-level language than it does in a low-level language. As a trade-off one generally needs to sacrifice some degree of control over what the resulting program actually does. It is not, however, impossible to mix high- and low-level functionality in a language.

From: http://www.cplusplus.com/info/description/

C++ is powerful and provides access to low-level functions as well as to high-level ones (Wikipedia defines it an intermediate-level language for this reason https://en.wikipedia.org/wiki/C%2B%2B ), but many consider it a high-level programming language. It is infact not restricted by the machine components, it is portable and object-oriented. I would define it a high-level language.

So for C, but I may be wrong. If someone has valid arguments against mine, I'd like to hear them.
This is what I think.
C++ is a high level Language. C is a middle level language , wanna know why ??
Visit this link :- http://www.hackcommunity.com/Thread-Tutorial-Learning-C-with-Psycho-Coder-Part-1

I have explained there why C must be called a middle-level Langauge

That's exactly what I think.

The thing is, in the OP, @Deque spoke of C++ and C as both low-level languages.


RE: Programming language FAQ and choosing guide - noize - 05-05-2013

(05-05-2013, 12:05 PM)Psycho_Coder Wrote:
(05-05-2013, 11:37 AM)noize Wrote: Well, you're talking about C, C++ as low-level languages, I see.

Quote:A low-level language deals more with direct hardware interaction, and thus is more suitable for programs like device drivers code that really needs access to the hardware. Since a low-level language is subject to all the nuances of the hardware it's accessing, however, a program written in a low-level language is generally difficult to port to other platforms. These languages are almost always compiled.
A high-level language focuses more on concepts that are easy to understand by the human mind, such as objects or mathematical functions. A high-level language usually is easier to understand than a low-level language, and it usually takes less time to develop a program in a high-level language than it does in a low-level language. As a trade-off one generally needs to sacrifice some degree of control over what the resulting program actually does. It is not, however, impossible to mix high- and low-level functionality in a language.

From: http://www.cplusplus.com/info/description/

C++ is powerful and provides access to low-level functions as well as to high-level ones (Wikipedia defines it an intermediate-level language for this reason https://en.wikipedia.org/wiki/C%2B%2B ), but many consider it a high-level programming language. It is infact not restricted by the machine components, it is portable and object-oriented. I would define it a high-level language.

So for C, but I may be wrong. If someone has valid arguments against mine, I'd like to hear them.
This is what I think.
C++ is a high level Language. C is a middle level language , wanna know why ??
Visit this link :- http://www.hackcommunity.com/Thread-Tutorial-Learning-C-with-Psycho-Coder-Part-1

I have explained there why C must be called a middle-level Langauge

That's exactly what I think.

The thing is, in the OP, @Deque spoke of C++ and C as both low-level languages.


RE: Programming language FAQ and choosing guide - Deque - 05-05-2013

(05-05-2013, 11:37 AM)noize Wrote: Well, you're talking about C, C++ as low-level languages, I see.

As far as I can see I only stated that C was a low-level language. So I am not sure why the discussion arises.

Despite that low- and high-levelness is nothing that has a fixed or strict definition (you see the use of soft terms like "more suitable", "generally", "almost always", "focuses more"). What people see as low- or high-level changed over time when new languages occured that provided even a higher abstraction level than before.
When C came out first, no one would have called it low-level. Now most people do, because from their standpoint it has a lower abstraction than they see as normal. But for an assembly programmer or even someone who designs circuits, C is high-level up to now.

Quote:It is infact not restricted by the machine components, it is portable

I disagree with the portable part. It is a cross-platform language, but not a portable one. You have to compile the code for every platform separately.

For the FAQ I am only interested in the capabilities for hardware access and that's where C and C++ are equally good at. Once you write anything that needs that hardware access (drivers, or something GPU specific with CUDA) you are bound to the platform you wrote it for--no matter how widespread the compiler is.

To sum it up: The low- or high-levelness depends on your personal middle-level. That can be different for everyone.