r/cpp_questions • • Sep 24 '24

OPEN C++ as first programming language.

Hey guys! So i was wondering if its even possible to leaen cpp as ur first programming language or not? I know the python basics but not morw. Id like to hear yalls opinions

2 Upvotes

44 comments sorted by

View all comments

5

u/Pupper-Gump Sep 24 '24

c++ encapsulates all of the knowledge you'll need for any other language. With it, you can be as specific as setting a single register or as abstract as Python. However, with c++ you will need to know how to set up, debug, and google just about everything.

Once you learn it, languages like Java and Python appear very harsh and impractical rather than convenient. Although it is slower to make things with it. It's like walking on foot compared to driving a semi truck. The semi can go long distances on a well-paved road pretty quickly, but in town it's stuck to the roads and basically clogs up traffic.

If when you program, you want to make something new, use c++. If not, use most other languages. Also, Rust is overhyped.

0

u/[deleted] Sep 25 '24

[deleted]

1

u/Pupper-Gump Sep 29 '24

c++ translates almost directly to machine code.

0

u/[deleted] Sep 29 '24

[deleted]

1

u/Pupper-Gump Oct 01 '24

Other 0.1%

0

u/[deleted] Oct 01 '24

[deleted]

1

u/Pupper-Gump Oct 01 '24

It didn't post correctly. Look at the languages used in Linux Kernel.

C: 98.3%
Assembly: 0.7%
Shell: 0.4%
Python: 0.2%
Makefile: 0.2%
Perl: 0.1%
Other: 0.1%

No mention of Rust

0

u/[deleted] Oct 01 '24

[deleted]

1

u/Pupper-Gump Oct 04 '24

Less than 0.1% is in there? It must be important.