Where is C++ being Used?
Вставка
- Опубліковано 29 вер 2024
- From Mars Rovers, Telescopes, Hollywood to Self-driving Cars, check what the different areas are where C++ can be used.
Interested in C++? Enroll Now in our Nanodegree program - bit.ly/340iuc7.
---
Connect with us on social! 🌐
Instagram: / udacity
LinkedIn: / udacity
Facebook: / udacity
X/Twitter: / udacity
For those who don't know, he's Bjarne Stroustrup, he developed C++.
Wow we did not knew that you are such a genius
Wow.. I didn't know that.. Wow
@@egretfx yeah, he is the father of c++
@@wbhtrb3008 yah he's like, he did, he gave birth to C++ litearly
@@jakubsebek yeah ofc, Dennis Ritchie would be proud of his grandson..
Even the water you drink, there is C++ in there.
Bjarne is 70 years old. Too hard to believe
This old man should learn c++ for sure. He sounds interested in c++.
Right? I think that he would love that! Maybe he would even contribute to the language a little bit? Who knows...
@@Jalapyno🤣I think they are making a joke
Khud seekh le pehle
Nah i think he hates Cpp
He fricking created C++. He's the creator of C++.
I thought debugging Python code was horrible because of the lack of type constraints, but reading C++ error messages got me years closer to the grave.
Try debugging java errors, especially while using web frameworks
as an electronic enthusiast who works mostly with c++ and assembly, i feel ya mate but its worth it since you get so much control over what your doing
@@tylerdurden9083 try debugging SQL errors, they don't even make any sense
As long as you know what you are doing, you will know where the error lies.
@@mtb2625 well yea, but isn't that the point? Error messages are the most important precisely when i *don't* quite know what I'm doing : p
This makes me feel good. I love C++ and everybody tries to push me towards python or Java, but cpp is so awesome.
yep its way too awesome :D and superior in every fuckin way :D
@@rickarmbruster8788 Same, I love CPP, java is good too. But I want to code in C++ FOREVER
python is for beginners in programming. Java is the most used in the world
@@ugochanneltv5600 plebs are the most common in the world, if you cant tell why plebs use java or similar languages depending on runtime enviroments and interpreters. You are a pleb, if you denie it, you betray yourself and the world. I wont do that, i use C/C++ its not only faster its secure, it keeps integrity. If you believe Oracle and Microsoft wouldnt betray, spy and take advantage of your runtime, you are a moron.
@@rickarmbruster8788 you don't need to use words like 'moron' when you argue...learn some respect
C++ with it's meta programming is phenomenal. It's so powerful and so hard to learn and hard if possible to debug, all at the same time.
The learning curve of meta programming itself i'd say is so steep it puts down so many people from mastering it
i barely touched it yet :D but that will come in future
I discovered meta programming years ago, before I knew what it was called. It is very powerful. When you get deep into generic template development, it just appears naturally in your solutions. That is when you discover what the real weaknesses and strengths of the language are. I was very happy that C++11 started the process of eliminating some of those weaknesses and making TR1 part of the STL.
@@johnshaw6702 thanks for your comment
That’s why people should start with easier languages first. C isn’t that hard once you learn the basics, but it’s hard to learn the basics in a language like C.
Also use an Package manager if you are trying to learn C. Either the built in package manager in Linux or use something like vcpkg for windows and visual studio. Vcpkg basically let’s you just install libraries from a command prompt and it auto integrates them to visual studio as well as builds their dependencies automatically for you.
+1. I was shocked when I discovered that C++ can do meta programming
I wonder if Bjarne had full hair before he had to debug c++ code. 🤣
How to find what languages/technology you should use:
1. Find an industry you enjoy
2. Find a job you would like to do in that industry
3. Look at what languages/technologies that job requires
4. Learn those languages/technologies
You can earn money and create incredible solutions with any language, so don't focus on the language, focus on what you want to do.
People too often start learning a language and then find out it won’t even be used in something they’re interested in.
Thanks for the suggestions! Very helpful for beginners like me.
You said the secret buddy 🤘🏽
@@HypnosisBear is it true that if you learn the logic behind coding and learn one language, it will be easier to learn other languages later on?
@@eLTIMIMI yes it is, once you have the logic it applies to all languages, and learning a new one becomes easier
@@eLTIMIMI yes it is! Only the syntax is different, logic behind programming is same for all languages.
Its great to see, how he can talk and whistle at the same time 😂, No wonder that he invented c++
C++ is an easy languages to get into but definitely hard to master. If this is your first starting programming language then good for you because its cover the fundamental of most programming concept. Which is why learning Python & Java later were easier for me.
I agree C++ was also my first language and after knowing the basics the rest of the programming languages are way easier
c++ is no different from java or python, same collection of garbage features added to compiler with every patch, the only difference is that c++ is compiled and statically typed. The only reason I would not choose C instead of C++ would be support for various libraries.
C++ is most definitely not easy to get into
My first was python and I am currently learning C. At first it seem quite easy. Till loops everything seems so similar in two languages.
@@jeniosk1097 It is if you ignore memory management
Funny thing about this man is that He looks exactly like how you imagine a creator of C++ would look like.
no further proof required. just one look and "yep he made c++"
Funny!
JavaScript itself is running on c++
And blokes go on asking to google "Is C++ a dying language ?"
Ha😂
They did the same thing with COBOL and FORTRAN, both, still used.... C/C++ Foundational language... I'm too stupid as of yet but getting there. Working Python and starting C soon. Strous, is the juice. I'll open myself up too whatever beatings come but? I built my killer little Pi station and found out, pretty quickly that i can get at and do anything I want on it, with Python, C and C++. I've only done a few small "hardware coding" projects but was stoked. I had never messed with hardware before. Good stuff.
I may not like C++ (Python fanboy), but it is one of the best languages for gaming, robotics, hardware, and self-driving cars. Only way to avoid it is to avoid industries that use it.
Why c++ is more oriented for that and python for finance and dataa?
@@joaquinms8600 Hardeware and high speed gaming needs language closer to the processor and fewer abstractions to move fast.
Python is a higher level language with lots of abstractions, thus making it better for programers at the cost of speed. Since data is usually an internal need rather than a user need, Python is more useful in that area.
@@akin242002 "...an internal need rather than a user need..."
Thanks a lot for this statement, I've just understood EXACTLY and REALLY why a particular programming language is chosen over another one.
Note: Starting in programming and beginning with C++ (Bjarne's book).
Thanks again. And good luck to me🙂🤞🏽
You still use it
Deep Learning heavily uses C++, but it's completely useless to learn C++ for deep learning, because all of your programming is in python.
It's kind of like telling a mechanic to learn java, because his tools run on java.
You have to be an engineer to write C++ for BMWs or almost all the things that he mentioned here. Don't think you can just learn the language and start programming vehicles. There's a wealth of other knowledge involved in that. You'll need to think about doing an engineering degree.
You need to have a good understanding of mathematics, IoT (microcontrollers), electricity/physics, etc. to write code for many vehicles these days. Most people in the field have Electrical Engineering, Computer Science or Computer Engineering Degrees.
@@MalamIbnMalam as an electronics enthusiast, yes knowing you way around basic electronics, or the hardware you are working on is absolutely mandatory, cuz when it comes to debugging, testing such code and since each hardware revision is unique there is no "getting used to it", but ngl its fun, messing with hardware + software is awesome as you are getting a physical product out of it
Actually there’s a lot of departments for writing software for cars, some do the stuff with the hardware, some do the networking, somr do the c++ hmi, some do service,.... You DO NOT have to know it all
@@MalamIbnMalam in short you need to inherit a high IQ from your parents, unless you have dumb parents which means you'll flip burgers
He whistles while he speaks! 😃
I love C++ but haven't coded much in it. C++ is used in stock market, camera, cars and several other areas where data processing is involved.
True
Time for rust to take the spot
Everybody talking about how great cpp is but forget about c
Same with A and B
NO, JUST NO. I interchange C and C++ as if its a great vinagrett. We dont forget C.
People will not come around of C anyway, because most lowlevel stuff like WinAPI is written in C.
And when i say i love C++ i mean i love C/C++ inherently.
I bet i speak for alot of DEVs out there.
● C++ is better than C in term that it contains the C stuffs and also the object oriented programming features that C doesn't have + new libraries .
● C is better than C++ in terms that it is faster and light weight .
@@ayoubab2120 Abslutely i love to mixw both together
He's only 25 years old 🙏
Guess Cpp has its pluses
Looks like industries need to start teaching C++ more. Especially for students in the field of Data Science.
No way, why would you want to introduce complexity and tons of bugs when you can use higher lever languages for the main parts while calling c or c++ low leven implementation in a transparent way.
This is what happens with Python, which by design is going to be slow when doing intensive work, but it's not and that's why it's the most used language in AI and Data Science in general
I don't think so. Every ML / Data Science library in python is written in C++ with a python wrapper around it. Even the numpy library is pretty powerful I would say.
Not happening. Too much love for Python in Data science. It makes it too easy for non-programmers with PHD's in other fields to learn.
I think all universities have at least one C/C++ course as a core for a CS degree
@@bekchanovj that's correct. Most universities make you use C/C++ in at least 2 courses (Computer Organization/Architecture and Operating Systems). However, some schools make it their main language e.g. CS1, CS2 and then Data Structures & Algorithms.
great to see an old wise guy being a big fan of c++ and sharing his experiences! :-)
I mean he created C++ so it's logical he's a fan of it.
@@astrovation3281 Damn boomer
Maybe he was working with Java and then c++ changed his life. I wish he could learn more about c++ and create some life changing things.
It so cool to get this info from the inventor of C++ himself. Having said tht, each tool is relevant, one cant use a hammer where a screw driver is needed or a plier is needed.
Hammer or plier or a screw driver, ultimately it's the creation that matters more than the tools used to create it. No?
What he forgets to mention is it is the go to language for programming microcontrollers. Applications range from simple home automations to controlling sophisticated machines like rovers. It is fast.
He doesn't forget, he created c++
@@denishpatel6038 of course
you just repeated everything he said on the video
@@geisonmcd Microcontrollers, I said microcontrollers.
@Ben Chuft agreed.
I love to play with pointer in C++ ❤️
I'm struggling with pointers in my C++ class rn :(
Just remember that a pointer is a variable holding an address. Technically it is just another integer type specific to addresses. The * just says goto that location in memory, where the data is, so I can read it. Therefore a pointer to a pointer is just a variable holding the address of a variable that holds the address of the location of the data. I am self taught and had a hard time with that one myself, but now I don't even think about it.
@@johnshaw6702 thanks a lot for your comment.
I'm a self-taught too, I'm two weeks in my programming journey, with C++.🙂🤞🏽
@@myownway07 Good for you.
Here's another for you. A reference is a type of pointer that is automatically dereference. What that means is that the compiler adds the * internally. If you name the pointer p (an indirect reference), then *p is a (direct) reference. The main advantage to using C++ references (not *p) is that the compiler ensures that a reference actually refers to something, while a pointer can point to any random address (if not assigned).
When in doubt, write small program to test your assumptions.
int data = 101:
int * p = &data; // A pointer to data
int ** pp = &p; // A pointer to pointer to data
int & r = data; // A C++ reference to data
// p = &r which is the address of data
cout
So is he saying that is is literally everywhere? And it will be in the future?
Ok, but who's whistling so much?
This man is a national treasure, you won't understand the beauty and power of C++ unless you have the desire to become a real programmer, it's as simple as that.
Drop that real programmer bullshit, FB is built on PHP, Instagram in Python, any language no matter how bad can make good software
Gatekeeping programming through c++ lol. There are dozens of other languages that "real programmers" use for all kinds of use cases.
Lol Real programmer😆. every one in Softare world are programmes you think javascript developers are not real . Even css html hold their position as VERY important languages.
@@rubbish9231 Javascript and css and php are languages for web development
@@willinton06 php is a language to integrate with database
The Udacity of you to ask such question.
c++, ++ for
1.type
2.thinking
3.headache
4.more than just shooting yourself in the foot
5.don't think your program is running that's a good sign until you manage to improve its performance, more work!
6.terrible error message
7.write your own message
even so, I stick with C++ :):):):):):)
That mouth whistle he does on every S sound is driving my dog to alcoholism.
C++ is the most beautiful thing never made ... it is just like an omnipotente and omnipresent language, you can handle lowest and high level,.... used for everything you can imagine..
Indeed!
On my way of mastering it.🙂🤞🏽
I swear C++ and balding go together. I am afraid
But more than 3 billion devices are running on java platform 😭
Pretty sure the code for the car starts like this...
include
😂😂😂😂
fr 😂
LoL 😂😆
Java is the best garbage collector language out there, but it can't compete with C++ or in the near-future Rust. For the moment, I choose to learn C, C++ and Rust for my carrier. Obviously, I'll try to code something in Java and Python sometimes(already know Python, well I can code scientific Python well), ah and learn WebAssembly for the future of web development, but I don't think I'll choose work with web if a have a chance, I could be back-end but in my country the IT market doesn't like C++ developers for being too low-level, figures. I'll try working with FOSS and embedded systems, well FOSS is difficult to gain some jobs here in my country, but I think I can take sysadmin Linux courses and certificates when I have a chill semester on College.
java is good, but golang is the best garbage collector language.
He whistles like Herbert the pervert when he talks
I tried Python, I can see the appeal. Dynamic typing is OK for learning and prototyping, but give me C++ and static typing any day for major commercial systems that will be maintainable.
I honestly don't know how people can trust dynamic typing in production code - I hate it, it's just begging to ruin your day at some point. Even in PowerShell I like to define variables properly - if I want an int, I want an int!
@@regiondeltas Interpreter: "This variable can't be used as an Int!" Programmer: Casts it to Int. Interpreter: "This int is NaN (Not-A-Number)"
Static typing for the win.
I thought that was just me goofing around and there's some standard way of introducing type constraints in python code.
Spent a good week trying to reverse engineer python code I wanted to use for my bachelor thesis, because everything could be anything and it could be defined anywhere.
Just noticed he whistles while talking, now can't unhear it
This guy seems pretty smart, he should learn C++
c++ is my first love, java and python I'm still learning, but C++ was definitely more enjoyable
I hope to get into columbia university for my masters and get to learn C++ from him! I love C++. BTW, he forgot that most deep learning technologies are also using C++ for computer vision and NLP tasks.
Did you ever get in?
@@kda_-uh3vj preparing for my GRE. Fingers crossed 🤞
@@bigphatballllz Ngl I was pretty shocked to know this guy is at Columbia.
Imagine Yann LeCun walking down from NYU to meet Strousup 😂
@@bigphatballllz any update?
This question should've been: "Where is C++ isn't being used?".
Thanks old man for giving us something valuable and we will take it a lot further than you can even imagine.....it's a promise form high school computer scientist ....love you......!
incidentally... majority of the embedded domain (specially 8 bit & 16bit controller) are still ruled by good old plain C... nothing can beat the performance of plain C. Cpp has a huge overheard for the features it brings in.. . worth only for larger memory & mips platforms
Well yeah, C++ is huge compared to C. It was not made for microcontrollers but for devices that can fully utilize it's power. On a modern PC the advantages C++ brings completely outweight the slight performance difference as compared to C. But in the world of Microcontrollers with very limited resources it's the other way around.
This guy should be a trillionaire
father remains father
True
Exactly 💯
Definitely the image i imagine the one who created C++
All serous embedded systems seems to use C++. I see it a bit like Latin. It's a classic which will never go out of fashion.
Respect to him for creating C++, but I find the constant push for its usage a bit too much marketing really
gay
@@Light-wz6tq Destroyed with facts and logic
I don't know how anybody could code would come up with arguments like xyz is a dead language or this language is better than that language. No, languages are just tools - what has language got to do with coding. You can't use HTML where C is required or Python where Java works perfectly. It's so stupid having these debates in industry.
B. Stroustrup : "The self-driving cars, a lot of that work is in C++ too"
Me : *prays every second for no segfault to happen while on the road*
This man has beautiful metallic hair.
«C++ isn't stressful»
Bjarne 26 y.o.
the goat
one of most difficult languages but among most useful for difficult work.
I have an accounts background.
Want to go in deep learning and have no programming knowledge.
I m in interested in learning c++ for that
So shall in step in programming via c++ or python ??
I'd suggest phyton, but don't avoid c++, master it later
@@child_of_god_ thanx
I'm beginning too and I'm starting with C++; thus, after mastering the GOAT, I'll be able to pick baby Python which I love too (visually at least) very easily.
Hope you did well on your own path so far. And good luck to me!🙂🤞🏽
Start with python, and when you start feeling constrained, go to C.
@@myownway07 if you put a few weeks in python prototyping, you’ll learn C much faster. With c it will take you a year just to learn a good bit of the std library and the containers and system apis. Python will do most of that for you and just give you an easy text editor and easy function based library.
With C++ you have to deal with references and objects, and inheritance and math and all kinds of stuff. You aren’t gonna learn programming as fast as if you just sit down with something basic and learn your loops, functions, std api and strings and stuff
It's funny how a man who created C++ is not even a millionaire
He is a managing director at Morgan Stanley. He's easily worth 10s of millions.
The telecom tower, your phone is also using it
C is a god of programming languages
I know a fair bit of Java and c++ deserves a lowercase letter and a stem talking to.
Everyone there is standing for python, zebra rhino .no body goes to c++.
I would sooner rub my behind on a Cactus than try to develop applications in C++. Though I reserve an impressive amount of appreciation for people who took their time to go through it and build more user friendly libraries and languages built on top of C++.
Where can I find the complete interview? I'm taking this nanodegree program right now
C++ is like csgo. Old but will never die
Ahhhhh.... My first programming language ❣️❣️❣️❣️
Don't look at him like an Ancient being. He is just old like our Dads.
who is this guy?
The GOAT.
Creator of c++
I'm glad Python is not used for all these things.
Dumb question
Why C++ Is not used on websites like JS is?
Web development requires a quite specific set of libraries, which C++ does not have.
Lots of whistling there bud.
This guy saying his s sharper than coach whistle
I see so you are my nightmare...
Bjarne has some whistles in his C’s
How is he not a billionaire like Elon or something robotic like Zuckerberg??
OOP sucks = C++ sucks = C better
he has a whistle in his mouth 😛
99.9% of all Video Games today are written on C++ .
Except Minecraft.
C++ in graphics! Theres only few color options about 16. Graphics are also not that quality.
the speed of light is absolute. and speed is distance/time
time that light travels. and yet absolute time exists.
Are there geometric objects that are invariants and are not composed of real components (they change when the coordinate system is changed). Do they form a group, field, or other algebraic structure
I feel smart : )
in Javascript, which most salty web developers use. :')
cool video)
Hmm, that's tough one... Perhaps at Guantanamo Bay detention camp?
Even web browsers are built using C++
Why does debugging and relevant understandable error messaging still seem to be in Beta . It's treated almost as an afterthought that everyone forgot wasn't working right--since day one ! And everyone just complains about it with no volunteers stepping up to deal with the monster or mess or challenge ?
That is correct. Numerical weather predictions also use C / C++ and fortran.
Hail oh, Master. The GNU/Linux and maker communities owes you a lot!
C++ was a bit more sensible before the syntax explosion, template mania, and reuse of all bracketing operators for many different things. It's a disjointed language with too much syntactic noise and ambiguity. But if you like it, use what you like.
I am working on gNodeB(5G NR Base station) software and we use C++
Why there is lack of tutorial on UA-cam for ml with c++😥
In C++, Personally I got abstraction with efficiency and also full control for whatever I do. This is my experience. How about you ??
He looks a little bit like Doc Brown.
Somebody give the guy a damn glass of water!
The whole animation and gaming industry is based on cpp
It's most fastest among Java and python
I like ya cut G
C++ related to super professional people only,NOT the others
Is he the best c++ programmer? I doubt. he created it but does he know it?