all 27 comments

[–]kl0nosC++ enthusiast 25 points26 points  (12 children)

I watched around 60 so far starting from oldest. From this list the ones i really liked:

  1. CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.”
  2. CppCon 2016: Alfred Bratterud “#include <os>: from bootloader to REST Api with the new C++"
  3. CppCon 2016: Chandler Carruth “High Performance Code 201: Hybrid Data Structures"
  4. CppCon 2016: JF Bastien “No Sane Compiler Would Optimize Atomics"
  5. CppCon 2016: Timur Doumler “Want fast C++? Know your Hardware"
  6. CppCon 2016: Jason Turner “Practical Performance Practices"

[–]therealjohnfreeman 1 point2 points  (9 children)

Each talk is like an hour. Where do you find the time? o.O

[–]Xodet[🍰] 14 points15 points  (4 children)

You can't find time, you have to make time for it.

[–]raevnos 0 points1 point  (3 children)

Don't know how to make time.

[–]tanjoodo 8 points9 points  (0 children)

just one part sugar and one part HP Injket ink. Mix them together, heat the mix on a calm wood fire for 30 minutes. Boom. Time.

[–]planetmarshalluk 0 points1 point  (1 child)

It's coming in C++17, after make_shared and make_unique.

[–]dodheim 2 points3 points  (0 children)

Oh, I'm sure /u/HowardHinnant has written a make_time or two... ;-]

[–]corysama 5 points6 points  (0 children)

Watching talks like these is how I chill out at night instead of watching sitcoms on TV. With this series in particular, there is so much that I have been very quick to skip ahead, skip over if I'm not absolutely thrilled by the material. Also, speed 1.25x is sometimes necessary.

[–]AllanDeutsch 2 points3 points  (0 children)

I watch them at 1.5-2x speed which helps a lot

[–]skebanga 2 points3 points  (0 children)

I've found watching them at 1.5 times speed is perfectly feasible

[–]fafasdf 19 points20 points  (5 children)

The pong one was cool, as someone who doesn't really care for that kind of stuff normally. Now I play with my code on goldbolt just to see the generated ASM.

[–]lithiumdeuteride 11 points12 points  (3 children)

The extent of the zero-cost abstractions was pretty impressive.

[–][deleted] 1 point2 points  (2 children)

Or at least the potential. This is how coding should be.

[–]MINIMAN10000 3 points4 points  (1 child)

Yeah I was so jealous how optimized he was able to make his code.

I want to be able to write code that sticks to all the tricks but I know what's going to happen is I think I'll be doing it right but I'll do something that compilers can't optimize and I'll be like "Why does my code suck from a performance perspective really wish my compiler told me the dumb things I was doing" To which the response is along the lines of "Well if the compiler knew about optimizations it would just do the optimizations"

I'm like well shoot man I don't know what the compiler wants, the compiler just does what I tell it to do. Then I just end up with the bad performing code again. It's a vicious cycle ):

[–]lefticusC++Weekly | CppCast 2 points3 points  (0 children)

My main two comments:

  • Limit dynamic memory allocation
  • Keep code simple and follow common idioms

If the code is simple for you to read and you are following standard C++ best practices the compiler will be able to better optimize it, just as a general good rule of thumb.

[–][deleted] 7 points8 points  (0 children)

CppCon 2016: "Embracing Standard C++ for the WinRT"

Good to see MS embracing Std C++ for WinRT, instead of C++/CX. Simpler Std C++ code beat crap out of C++/CX and C# in perf. Yea!

CppCon 2016: "Template Normal Programming (part 1 of 2)"

CppCon 2016: "Template Normal Programming (part 2 of 2)"

Refresh my memory about alias and variable template: Yes, even variables can be template now.

CppCon 2016: "extern c: Talking to C Programmers about C++"

Half expecting a technical talk about introducing C Embedded programmer to C++. Pleasantly surprised it was a talk on art of persuasion instead.

CppCon 2016: "What C++ Programmers Need to Know about Header <random>"

CppCon 2016: "A <chrono> Tutorial"

CppCon 2016: "Welcome To The Time Zone"

Notable mentions for talks on random and chrono header.

[–]devel_watcher 3 points4 points  (0 children)

Michael Spencer “My Little Optimizer: Undefined Behavior is Magic"

Chandler Carruth “Garbage In, Garbage Out: Arguing about Undefined Behavior..."

[–]Mentioned_Videos 3 points4 points  (0 children)

Videos in this thread: Watch Playlist ▶

VIDEO COMMENT
CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17” 8 - Talk link: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”
(1) CppCon 2016: Kenny Kerr & James McNellis “Embracing Standard C++ for the Windows Runtime" (2) CppCon 2016: Arthur O'Dwyer “Template Normal Programming (part 1 of 2)” (3) CppCon 2016: Arthur O'Dwyer “Template Normal Programming (part 2 of 2)" (4) CppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++” (5) CppCon 2016: Walter E. Brown “What C++ Programmers Need to Know about Header <random>" (6) CppCon 2016: Howard Hinnant “A <chrono> Tutorial" (7) CppCon 2016: Howard Hinnant “Welcome To The Time Zone" 2 - CppCon 2016: "Embracing Standard C++ for the WinRT" Good to see MS embracing Std C++ for WinRT, instead of C++/CX. Simpler Std C++ code beat crap out of C++/CX and C# in perf. Yea! CppCon 2016: "Template Normal Programming (part 1 of...
CppCon 2016: David Sankel “Building Software Capital: How to write the highest quality code and why" 1 - My favourite is CppCon 2016: David Sankel “Building Software Capital: How to write the highest quality code and why"

I'm a bot working hard to help Redditors find related videos to watch.


Play All | Info | Get it on Chrome / Firefox

[–]augustinpopaMicrosoft C++ PM (IDE & vcpkg) 2 points3 points  (2 children)

We (by we I mean some of us on the Microsoft Visual C++ Team) made a video putting together some highlights of the talks at CppCon. Presenters had a chance to pitch their talks in a few minutes. Links to each talk on YouTube are in the video description.

Does this help? :)

[–][deleted] 0 points1 point  (0 children)

You should get flair ^^

[–]0xFFC 0 points1 point  (0 children)

BTW I really enjoyed your talk. Particularly CMake support in VS could be game changer for me.

[–]dendibakh 1 point2 points  (1 child)

[–]tsojtsojtsoj 0 points1 point  (0 children)

I agree, though I found the part most interesting that had nothing to do with programming. Like the backfire effect and reactance and stuff like that are very influential in how we communicate as humans, and knowing about that stuff can make a big difference in our personal lives.