Getting Started with C++ - Michael Price - CppCon 2023
HTML-код
- Опубликовано: 7 сен 2024
- cppcon.org/
---
Getting Started with C++ - Michael Price - CppCon 2023
github.com/Cpp...
Getting started with C++ can be intimidating, especially if you are learning on your own. Where do you even start?!
This talk walks you through getting started with C++, from obtaining a compiler toolchain and useful libraries, to finding learning resources and deciding whether you should be using source control and continuous integration. If you are already on your C++ journey, there’s likely stuff you weren’t familiar with that could make your life a bit easier. If you are a C++ expert, it’s useful to remind yourself of the challenges that beginners face so that we can help them avoid all the mistakes we made along the way.
---
Michael Price
Michael Price (he/him) is an experienced software engineer, currently working as a Product Manager with the Microsoft C++ team. His experience working at major software companies for over 18 years informs his thinking about how to enable C++ developers around the world to achieve more. His current focus is on enhancing C++ tooling to take advantage of the PaaS (platform-as-a-service) and IaaS (infrastructure-as-a-service) offerings from organizations like GitHub and Microsoft Azure.
In his spare time, Michael enjoys playing recreational soccer and spending time with his wife, two sons, and several household pets. He particularly likes playing board/card games and video games with his children.
---
Videos Filmed & Edited by Bash Films: www.BashFilms.com
RUclips Channel Managed by Digital Medium Ltd: events.digital...
---
Registration for CppCon: cppcon.org/reg...
#cppcon #cppprogramming #cpp
Is it fair to say C++ is the most complex programming language in the world? It feels like I can never know it all.
I would say C++ is both complex and highly nuanced. You might know all there is to know in C++, but I guarantee you that the compiler always has a *gotcha* somewhere up it's sleeve. Plus, the STL doesn't help, with operations like .front(), .pop() and .close() not having precondition checks to help the programmer, or all the different behaviours your code can produce when compiled with different c++ compilers, or the template instantiation or overloading error messages hell, or even the lack of a standard reference site that provides an unambiguous documentation of C++ librarys(STL included, and no cppreference isn't standard and it only includes the STL). I mean there are so many ways you can blast your foot off with C++. Nonetheless, I really like most of the features and concepts the language has and embodies.
Why do you want to know it all? That's the beauty of the language. It offers you the opportunity to learn something always. That's why I was shock when the white house guys ask developers to move away from it because of security. Very soon America would be crying that they need developers in that area but it would be too late.
Other languages do this with frameworks. Not sure if the difference matters.
I feel that in the last 30 years my understanding of it slightly improved but there still lot of shady areas
Yes. C++ has been accumulating ever more bizarre features for decades. I don't believe any single human understands all of C++'s syntactic and semantic features and how all those features interact with each other. I have even seen the creator of the language, Bjarne Stroustrup, stumbling over the meaning of a page of code shown up on screen at a conference. You can never know it all and I suggest not even starting to learn it.
Thank you, a lot of "experimented old folks" need to see this !
What's new there ? Did you reallylearn something ?
Thanks. Nice melange of ideas.
27:05 Also: You can't have space in paths or file name. You can't even escape it.
So, if you need to (which can happen if your install directory for example has a space and you have an install target in make) it can break.
I love c++ since I started learning it in 2009, but I couldn't find any job in my entire career (15 years),😢 C#, Java and Python are way more popular, unfortunately, it seems I will never get the chance to get paid to work using c++
Talk is wonderful, thank you!
However, even with those fancy command (which nobody uses) CLion setup (with TDM-GCC / MinGW) is still much faster.
I believe that if a person works for a large tech company, it should be stated in the title of the video, as it is clear to see that the video will be biased. Especially microsoft is trying to push their employees through standardization conferences to make microsoft things the next standard and norm.
I introduced myself and the fact that I work for Microsoft at the 0:50 mark in the video. My bio on the CppCon website mentions that I work for Microsoft, and that text is reproduced in the description of this video here on RUclips.
I think the only points where I would disagree with you would be that such a disclaimer should be in the title of the video and that it should be limited to "large tech companies". Every speaker at a conference should be up front about who they are, who their employers are, and what their background is. All of that is essential to understanding any biases or points-of-view for the material they are presenting.
If feel that I and the organizers of CppCon have done more than enough to give people the proper context for this recorded conference session.
another msvc ad?
33:45 Hypocrite.
You cannot really skip that login. W/o even community version will stop working in 30 days.
I do not understand why you would throw out an insult. I skipped the login to show that you can get started with C++ quickly. If you want to continue with C++, of course, there's more that you'll need to do. Thanks for watching the video however. Hopefully there was something, even if something small, that you learned from it.
Who the hell would want to start programming in c++ in 2024 when we have plethora of interesting more ergonomic and effective languages? We don’t need this bloated over complex inefficient dinosaur without own build system or package manager and with stupid header files mess
Indeed. I would not recommend anyone youngsters wasting time learning C++. They may never find work using it, in which case learning it was a waste of time. Worse still they might find work using it, in which case they will be miserable, perhaps for an entire career.
However I don't see that we have a "plethora" of suitable alternatives. If you need the speed, abstractions and other characteristics of a compiled language there is only one alternative that I would consider, Rust.
Whilst C++ is "bloated" in terms of the massive and complex language syntax and semantics I don't know why you say "inefficient", if you want performance in your finished product C++ is top rate.
ok, if the talk is MSVC ad, I supose this comment is a Rust ad
Such as? All languages have friction. They often just outright force you into paradigms. JavaScript has its frameworks, Rust has its cargo and forced paradigm... You're missing the point. All tools have flaws. Consequently, all tools have reasons to exist.
Header files? Really? God bless you, but you might be lost in the sauce here.
It's as much of a dinosaur as windows 11 is. As in it receives updates.
Also "inefficient" 😂 what? Skill issue.
Also, nuget package manager built into vs.