CppNow
CppNow
  • 702
  • 3 295 550
CppNow 2024 Session Preview with Bret Brown and @cppevents
www.cppnow.org​
www.linkedin.com/company/cppnow
---
C++Now 2024 Session Preview - Our Other C++ Interfaces
Mistakes to Avoid When Writing C++ Projects by Bret Brown
Kevin Carpenter from @cppevents sits down with Bret Brown to discuss his upcoming Keynote talk for C++Now 2024, titled Our Other C++ Interfaces - Mistakes to Avoid When Writing C++ Projects
Join Kevin and Bret for a sneak preview of this session from CppNow 2024!
---
Session Description:
When considering interfaces in the context of C++, software engineers typically think about C++ language constructs: namespaces, base classes, function prototypes, and other entities defined by the C++ standard.
However, the challenge for C++ library authors is to provide not just carefully-crafted code, but also well-considered projects that deliver functionality to users. Providing useful and reusable libraries means stepping outside the C++ syntax to consider other kinds of interfaces provided by our C++ projects.
This talk goes beyond the C++ syntax to fill in these gaps through an exploration of the other kinds of interfaces and contracts that are implicitly and explicitly provided by C++ projects.
During this discussion, contract-based thinking will be applied to the parts of C++ projects that are not C++ source code. Both conceptual tools and pragmatic recommendations will be suggested for use in maintaining C++ projects and rescoping the role of a C++ software engineer.
About C++Now Conference
C++Now is an onsite international C++ Conference which will run from 29th April - 3rd May 2024 in Aspen, Colorado.
Join us in-person for five days of C++ content, including C++ talks, group chats and networking at the Aspen Center for Physics which offers a unique and lively environment for thought, education, and collaboration. We’ll also have lightning talk sessions to participate in throughout the event.
---
Bret Brown
Bret likes making authoring and maintaining C++ codebases simpler and more intuitive by treating projects more like cattle and less like pets. He is especially interested in the software development lifecycle, development automation, modern build systems, packaging, code transformation, software governance, and code analysis.
Currently lead of Bloomberg's C++ Infrastructure team. Bret worked in embedded C++ and safety critical C++ for previous employers.
Hosted by Kevin Carpenter: @cppevents
---
CZcams Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#Boost​ #Cpp​ #CppNow​ #programming #cpplanguage
zhlédnutí: 268

Video

Keynote Session Preview - C++ Painkillers by Anastasia Kazakova with @cppevents
zhlédnutí 396Před 14 dny
www.cppnow.org​ www.linkedin.com/company/cppnow C Now 2024 Session Preview - Opening Keynote: C Painkillers The Evolution of C Toolability by Anastasia Kazakova Kevin Carpenter from @cppevents sits down with Anastasia Kazakova to discuss her upcoming Keynote talk for C Now 2024, titled C Painkillers The Evolution of C Toolability Join Kevin and Anastasia for a sneak preview of this session from...
Exclusive Interview With C++Now 2024 Program Chair Inbal Levi with @cppevents!
zhlédnutí 182Před 14 dny
Register Now for C Now 2024: www.cppnow.org​ www.linkedin.com/company/cppnow Exclusive Interview With C Now 2024 Program Chair Inbal Levi - Get the scoop on this years line up for the CppNow 2024 Kevin Carpenter from @cppevents sits down with Inbal Levi to discuss this year's program of cpp talks for C Now 2024 conference, running from the 29th of April - 3rd May 2024! About C Now Conference C ...
Get A Sneak Peek Of C++Now 2024! Exclusive Interview With Michael Caisse By @cppevents!
zhlédnutí 439Před 14 dny
www.cppnow.org​ www.linkedin.com/company/cppnow C Now 2024 Session Preview - Employing Senders and Receivers to Tame Concurrency in Embedded Systems by Michael Caisse Kevin Carpenter from @cppevents sits down with Michael Caisse to discuss his upcoming Keynote talk for C Now 2024, titled Employing Senders and Receivers to Tame Concurrency in Embedded Systems Join Kevin and Michael for a sneak p...
C++Now 2024 Session Preview - Interview With Katherine Rocha by @cppevents
zhlédnutí 214Před 14 dny
www.cppnow.org​ www.linkedin.com/company/cppnow C Now 2024 Session Preview - Newer Isn’t Always Better: Investigating Legacy Design Trends and Their Modern Replacements by Katherine Rocha Kevin Carpenter from @cppevents sits down with Katherine Rocha to discuss her upcoming talk for C Now 2024, titled Newer Isn’t Always Better: Investigating Legacy Design Trends and Their Modern Replacements Jo...
C++Now 2024 Session Preview - Interview With Zach Laine by @cppevents
zhlédnutí 516Před 21 dnem
www.cppnow.org​ www.linkedin.com/company/cppnow C Now 2024 Session Preview - Boost.Parser: A Parser Combinator Library for C by Zach Laine Kevin Carpenter from @cppevents sits down with Zach Laine to discuss his upcoming talk for C Now 2024, titled Boost.Parser: A Parser Combinator Library for C Join Kevin and Zach for a sneak preview of this session from CppNow 2024! Session Description: Boost...
Lightning Talk: Finding My First Compiler Bug - Braden Ganetsky - CppNow 2023
zhlédnutí 2,1KPřed 6 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Finding My First Compiler Bug - Braden Ganetsky - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 It's an exciting part of a C developer's early career. I found my first compiler bug! A piece of data is getting zeroed out at run time even though it's fine at compile time. For my first ever lightning talk, I want t...
Lightning Talk: Christie Mystique - Tony Van Eerd - CppNow 2023
zhlédnutí 1,2KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Christie Mystique - Tony Van Eerd - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 People ask what I do. This is what I do - projection mapping. It is cool stuff. Tony Van Eerd Tony has been coding for well over 25 years, and hopefully coding well for most of that. Previously at Inscriber, Adobe, and BlackBerry, ...
Lightning Talk: How to Leverage SIMD Intrinsics for Massive Slowdowns - Matthew Kolbe - CppNow 2023
zhlédnutí 2,7KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning talk: How to Leverage SIMD Intrinsics for Massive Slowdowns - Matthew Kolbe - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 What happens when you naively see an opportunity to apply a compiler intrinsic function? A lot more than you might think. I'll show the first performance-crushing consequence of typing "_mm" into...
Lightning Talk: Into the Lambdaverse - The Beginning - Timur Doumler and Fedor Pikus - CppNow 2023
zhlédnutí 1,6KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Into the Lambdaverse - The Beginning - Timur Doumler and Fedor Pikus - CppNow 2023 Fedor Pikus and Timur Doumler discuss some weird C code involving lambdas on the blackboard. Timur Doumler Timur Doumler is the Developer Advocate for C tools at JetBrains and co-host of CppCast. He is an active member of the ISO C standard committee...
Lightning Talk: Source/Sink vs. Ranges in C++ - What's the Difference? - Tony Van Eerd - CppNow 2023
zhlédnutí 3,1KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Source/Sink vs. Ranges, What's the Difference? - Tony Van Eerd - CppNow2023 Slides: github.com/boostcon/cppnow_presentations_2023 Quick bit of playing in Compiler Explorer showing what code a compiler generates for various ways of writing a function similar to std::copy, but using source() and sink() functions instead of iterators....
Lightning Talk: Hilbert’s Hotel - the Untold Bits - Tobias Loew - CppNow 2023
zhlédnutí 910Před 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Hilbert’s Hotel - the Untold Bits - Tobias Loew - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 Tobias Loew presents a maths based lightning talk at the CppNow Conference 2023 based on Hilbert’s Hotel (The Infinite Hotel, a thought experiment created by German mathematician David Hilbert). Tobias Loew The destro...
Lightning Talk: operator for - C++ Generator Ranges Without Coroutine Overhead - Jonathan Müller
zhlédnutí 2,5KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: operator for - C Generator Ranges Without Coroutine Overhead - Jonathan Müller - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 If you want to support the range-based for loop for your type, you have to write an iterator for it. Depending on the complexity of the range, this can be really complicated, since you n...
Lightning Talk: Into the Lambdaverse - Weird C++ Lambda Shenanigans - Timur Doumler - CppNow 2023
zhlédnutí 2,5KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Into the Lambdaverse - Weird C Lambda Shenanigans - Timur Doumler - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 Blackboard improv session about weird lambda shenanigans. Timur Doumler Timur Doumler is the Developer Advocate for C tools at JetBrains and co-host of CppCast. He is an active member of the ISO C st...
Lightning Talk: Writing a Lookup Table in C++ - Richard Smith - CppNow 2023
zhlédnutí 17KPřed 7 měsíci
www.cppnow.org​ www.linkedin.com/company/cppnow Lightning Talk: Writing a Lookup Table in C - Richard Smith - CppNow 2023 Slides: github.com/boostcon/cppnow_presentations_2023 Writing a lookup table in completely normal C code has never been this easy! In this talk we overcome a minor obstacle to implement such a lookup table, and hopefully learn something along the way. Richard Smith Richard i...
Lightning Talk: An Entry-Level Software Engineer Asks for 10 More Things From You - Katherine Rocha
zhlédnutí 1,7KPřed 7 měsíci
Lightning Talk: An Entry-Level Software Engineer Asks for 10 More Things From You - Katherine Rocha
Lightning Talk: The Guide to C++ Conferences for Swimmers - Sebastian Theophil - CppNow 2023
zhlédnutí 862Před 7 měsíci
Lightning Talk: The Guide to C Conferences for Swimmers - Sebastian Theophil - CppNow 2023
Lightning Talk: How we Grade C++ Assignments - Hans de Nivelle - CppNow 2023
zhlédnutí 2,3KPřed 7 měsíci
Lightning Talk: How we Grade C Assignments - Hans de Nivelle - CppNow 2023
Lightning Talk: Searching with C++ - A Fulltext Index Search Algorithm - Hana Dusíková - CppNow 2023
zhlédnutí 1,9KPřed 7 měsíci
Lightning Talk: Searching with C - A Fulltext Index Search Algorithm - Hana Dusíková - CppNow 2023
Lightning Talk: Powered by C++20 Meta-Programming (MP) - Kris Jusiak - CppNow 2023
zhlédnutí 2,1KPřed 7 měsíci
Lightning Talk: Powered by C 20 Meta-Programming (MP) - Kris Jusiak - CppNow 2023
Lightning Talk: Safe Arithmetic Speed-Run: Experimental C++ Library - Luke Valenty - CppNow 2023
zhlédnutí 2,4KPřed 7 měsíci
Lightning Talk: Safe Arithmetic Speed-Run: Experimental C Library - Luke Valenty - CppNow 2023
Lightning Talk: C++ Builds: Time to Slow Down - Damien Buhl - CppNow 2023
zhlédnutí 1,7KPřed 7 měsíci
Lightning Talk: C Builds: Time to Slow Down - Damien Buhl - CppNow 2023
Lightning Talk: Your Favorite Undefined Behavior in C++ - JF Bastien - CppNow 2023
zhlédnutí 7KPřed 7 měsíci
Lightning Talk: Your Favorite Undefined Behavior in C - JF Bastien - CppNow 2023
Lightning Talk: Static Reflection on the Budget in C++23 - Kris Jusiak - CppNow 2023
zhlédnutí 3,7KPřed 7 měsíci
Lightning Talk: Static Reflection on the Budget in C 23 - Kris Jusiak - CppNow 2023
Lightning Talk: Global API Injection in C++ - Ben Deane - CppNow 2023
zhlédnutí 3,8KPřed 7 měsíci
Lightning Talk: Global API Injection in C - Ben Deane - CppNow 2023
Lightweight Wrappers for Conscious std::transform_reduce Operation Safety - Richárd Szalay - CppNow
zhlédnutí 895Před 8 měsíci
Lightweight Wrappers for Conscious std::transform_reduce Operation Safety - Richárd Szalay - CppNow
Lightning Talk: A Journey Back In Time - C++ Evolution - Andrei Zissu - CppNow 2023
zhlédnutí 961Před 8 měsíci
Lightning Talk: A Journey Back In Time - C Evolution - Andrei Zissu - CppNow 2023
Lightning Talk: How Hard Can it be to SFINAE in C++03? - Christopher Fretz - CppNow 2023
zhlédnutí 3,1KPřed 8 měsíci
Lightning Talk: How Hard Can it be to SFINAE in C 03? - Christopher Fretz - CppNow 2023
Assembly, System Calls, and Hardware in C++ - David Sankel - CppNow 2023
zhlédnutí 30KPřed 8 měsíci
Assembly, System Calls, and Hardware in C - David Sankel - CppNow 2023
Carbon Language Successor Strategy: From C++ Interop to Memory Safety - Chandler Carruth - CppNow 23
zhlédnutí 20KPřed 8 měsíci
Carbon Language Successor Strategy: From C Interop to Memory Safety - Chandler Carruth - CppNow 23

Komentáře

  • @aajas
    @aajas Před dnem

    1:22:33 - my suspicion is that clang was spilling registers, which is always something to check for. They provide an amazingly wonderful tool called llvm-mca to do analysis llvm-mca takes as input the machine code and generates the intra-cycle pipeline analysis that it perceives a given processor architecture will execute.. (Most importantly where and why it will stall) AVX-512 with 32 regs was always somewhat of a wild idea, so it wouldn't be surprising that clang was not optimized for it

  • @v1kumar
    @v1kumar Před 2 dny

    I fail to understand Google’s obsession to come up with a language better than C++. It would have been more productive if people tried adopting latest of C++ and help shape its future. These three goals for carbon seems out directly from reasons for not-so-positive-response from Go. I personally like what people like Herb Sutter is doing with experiments like cppfront.

  • @kentvanvels
    @kentvanvels Před 7 dny

    Enjoyed this talk. I don't think I have laughed out loud at a cpp presentation. The crowd was in a good mood, too.

  • @coolwinder
    @coolwinder Před 8 dny

    Why is it so hard for people to explain CMake, this is perfect example, i just wasted an hour in this, gained zero.

    • @coolwinder
      @coolwinder Před 8 dny

      I suppose if it was expanded here, there would be no need for paid courses.

  • @Muhammed.Abd.
    @Muhammed.Abd. Před 10 dny

    That logging scheme were he doesn't store strings on the MCU but returns an identifier, and the local machines figures it out!! That is amazing 🔥🔥

  • @MichaelLauerDr
    @MichaelLauerDr Před 11 dny

    Great content, still a bit over my head, but I will rewatch later.

  • @kristofkiekens902
    @kristofkiekens902 Před 14 dny

    You just convinced me why I should use Rust🦀 , thanks!

  • @N....
    @N.... Před 18 dny

    I thought the obvious solution was to just pick one or the other to make immovable, but then I guess the same problem happens when it comes time to destruct one or the other, since the order of destruction shouldn't matter. Certainly a vexing problem.

  • @__hannibaalbarca__
    @__hannibaalbarca__ Před 21 dnem

    I love writing Library than writing Application, and almost all my application have a Libraries, so it make application so simple, and extensible, … and<operator>

  • @paulluckner411
    @paulluckner411 Před 22 dny

    48:00 there is some name shadowing for `new_coeffs` within `update_coeffs()`. I believe all but one on the first line should be something else, e.g. `new_storage`. Otherwise, thank you for this excellent talk!

  • @007LvB
    @007LvB Před 22 dny

    Best C++ talk on Modules I have seen so far! Most talks are either too abstract or too optimistic.

  • @philmarsh3859
    @philmarsh3859 Před 22 dny

    I'd like to add NUMA awareness to the EM solve openEMS which is severely memory-bandwidth bound

  • @Theawesomeking4444
    @Theawesomeking4444 Před 24 dny

    I really hope this gets added, finally a reason to upgrade c++ to a new version c++ is supposed to be fast, with this it will make it run 8 to 16 times faster. currently the main issue with simd is platform dependency, so if the standard is able to provide us with this and be able to automatically switch intrinsic instructions based on the platform without us worrying that would be a really big favor to everyone. Also i disagree with this guy at 1:17:25 complaining about the == mask, anyone who has programmed with shaders would already know that every operator or instruction you do will be applied to every element, thats why its called single instruction multiple data, it also helps us make the code more seamless, organized and more similar to shading languages.

  • @thunder852za
    @thunder852za Před 25 dny

    Its funny I always have considered python as the sister language to c++. They are just so complimentary in so many way.

  • @AlfredoCorrea
    @AlfredoCorrea Před 25 dny

    The ironic thing about the example specifically is that most likely implementations of operator<< are not going to be noexcept anyway. I know it is not the point of the talk, but one must be careful what to wish for.

  • @ic3man5
    @ic3man5 Před 27 dny

    I remember when learning std::cout almost 20 years ago and thinking "how is this better than printf"

  • @mhassaankhalid1369
    @mhassaankhalid1369 Před 29 dny

    this looks like a Renesas mpu RZ/T1

  • @elvispiss
    @elvispiss Před 29 dny

    if only the SML examples were written for humans and not boost contributers.

  • @user-ze6fs5ui6h
    @user-ze6fs5ui6h Před měsícem

    Thank you! Best talk I have seen on this topic😊

    • @BoostCon
      @BoostCon Před měsícem

      Thank you! So pleased to hear that you found the presentation informative.

  • @leonid998
    @leonid998 Před měsícem

    8:49.. if I'm correct the optimization actually meant should be loop invariant code motion (LICM) [and if to mention "common subexpression", common subexpression elimination (CSE) is something completely different]. Now, LICM would never do this particular code motion since it is not possible for a compiler to prove that this is an invariant with no side effects (it knows nothing about the pthread_* function implementation and it is definitely not a pure function)... maybe there should be a better example here (?)

  • @kuhluhOG
    @kuhluhOG Před měsícem

    One should also look at how Zig does it since they also have a data-oriented approach for their compiler which lead to a very fast compile time.

  • @PhoenixMoonbeam
    @PhoenixMoonbeam Před měsícem

    is there anywhere this has been uploaded without the horrific perpetual background coughing and footstamping?

  • @ska4dragons
    @ska4dragons Před měsícem

    What we will have to wait and see is if Carbon actually can achieve seamless C++ Interop. If we have both Carbon and CppFront offering a modern language and seamless C++ the future will be very exciting.

  • @surters
    @surters Před měsícem

    Undefined behaviour should have been SG13 ...

  • @binary132
    @binary132 Před měsícem

    1:14:00ish - thinking in terms of preconditions - those requirements need to be machine-enforceable. That might be more painful to use, but think of Concepts - these kinds of tools ought to help, not hinder us.

  • @Bolpat
    @Bolpat Před měsícem

    In 2024, it seems this went nowhere.

    • @anupanicker6700
      @anupanicker6700 Před měsícem

      Relocation optimisation is coming to c++26 in form of p2786 🎀

  • @binary132
    @binary132 Před měsícem

    It’s funny that he mentioned “community” as a Rust language feature he’d like to have in C++. Rust’s community is incredibly dysfunctional. That is a major reason I avoid Rust and prefer C++.

  • @VoidloniXaarii
    @VoidloniXaarii Před 2 měsíci

    Thank you so much, this talk blew my mind on so many levels

    • @BoostCon
      @BoostCon Před měsícem

      Thank you for your appreciation of Fedor Pikus' presentation and it is a pleasure to hear how impactful you found it.

  • @RishabhRD
    @RishabhRD Před 2 měsíci

    so much thanks for the great talks

    • @BoostCon
      @BoostCon Před měsícem

      So pleased to hear that you enjoy them!

  • @coding_with_thomas
    @coding_with_thomas Před 2 měsíci

    great talk 🚀🚀

  • @willw2596
    @willw2596 Před 2 měsíci

    I'm 15 minutes in and find this to be one of the best technical talks I've ever seen.

    • @BoostCon
      @BoostCon Před měsícem

      Thank you so much for your appreciative comment!

  • @JimmyMcG33
    @JimmyMcG33 Před 2 měsíci

    writing c++ isn't so bad, but getting an executable out of it makes me want to smash my keyboard. the learning curve for a newcomer is just insane.

  • @johnmcleodvii
    @johnmcleodvii Před 2 měsíci

    Im going to disagree with memory exceptions never being useful. Ive written code where there was memory that could be freed without too much loss as it was the oldest item on the undo stack. I can also see its usefulness in discarding cached data, which can be recreated later at either computational expense or data transmission expense. This only works if the memory exception does not allocate memory and the location it is thrown does not corrupt the data.

  • @AbuOm1
    @AbuOm1 Před 2 měsíci

    Attiny13 is old, it would be nicer if you replace it with the modern tinyAVR series like ATtiny412 8 pin smd package

  • @amaama4140
    @amaama4140 Před 2 měsíci

    This was one of the craziest C++ videos I've ever watched. Took me 4 hours to watch and (partially) understand what's going on. I am genuinely captivated by the ideas presented and the mindset behind these elegant solutions. Many thanks to Mr. Hagins for this great presentation.

  • @MuchaMainMan
    @MuchaMainMan Před 2 měsíci

    This was interesting, great light talk!

  • @AChannelINeed
    @AChannelINeed Před 2 měsíci

    Yet current state of Swift in 2024: - average performances (not even close to replace c/c++ perf wise). - overly complex type / generic / protocol / existential system. Not only making the program difficult to reason about but make compiling take so much longer, and you will spend most of your time fighting the type system instead of being productive. (try to serialize heterogeneous arrays just to give it a try). Arrays of existential which are supposed to give some flexibility actually uses twice more memory than concrete types and hinder performance with additional indirections. Also existentials do not conform to their own protocol and they stated this case is probably not solvable (so much for the "we think we can solve all issues" at the end of the conf). - broken compiler / debugger / autocompletion / diagnostics. You can't even print the value of a variable most of the time and it takes forever just to get a single value. We are back using print everywhere as breakpoints are so slow and so buggy. If you make mistakes in your code, (even worst in swiftUI), the compiler analysis will either give up, point to the wrong line or give you an unhelpful message. - Over complex concurrency with Actors that nobody gets correctly (also because of lack of documentation as usual with Apple) and which is brought up constantly on Swift Forums. - broken Macro system with huge performance issues. For the last two: some will say "it's new and we should be patient" but that's what we have been hearing since the beginning of Swift. And things *never* get fixed. We haven't been able to get reliable basic stuff like debugging or refactoring in 10y now. Just to name the latest one: Xcode 14 -> Xcode 15, same code, takes twice the time to compile. Still not fixed. The fun part of the talk is how McCall points all the issues of C/C++ but not WHY people have putting up with them for so long: performance. You want to replace C/C++, your language should be as performant as them. If not, you can solve every safety problems you want, it won't. People who don't need performance already switched to other programming languages with managed memory. What will replace C/C++? Zig, Odin, Jai, Rust, to name a few. The difference? Those languages are built bottom up and not top down with dogmatic principles like Swift or Haskell. You take Odin for example, not even 1.0, already battle tested in production with a huge and successful app showing incredible performance. Unlike Odin, Zig, Jai, who are created by performance expert from day 1, most programming languages are created by programming language theoreticians. That's their expertise: theory, not making products which is the end goal of all programming languages. Pragmatism vs Theory, pick your camp. I am a Swift programmer since day 1, but I am getting tired to wait for them to deliver on all their broken promises. So looking for alternatives.

  • @SentientNr6
    @SentientNr6 Před 2 měsíci

    Reminds me a lot about what Zig & Jai tries to do.

    • @sumofat4994
      @sumofat4994 Před měsícem

      Have done. Amazing that now everyone wants to join the party when they realise they are slow af.

    • @maxrinehart4177
      @maxrinehart4177 Před 29 dny

      ​@@sumofat4994 are you serious? Check your facts please, because Chandler is known in the compilers industry way even before Andrew worked in zig and Jon on jai. In fact they both watch his talks and started incorporating some of his ideas. Jon mentioned him multiple times on his streams.

  • @Neme112
    @Neme112 Před 2 měsíci

    1:05:10 How could `p` change? I get that the number that `p` points to could change, but how could the pointer itself change to something else? It's not a reference to a pointer, just a pointer, it's just a local variable in the function.

  • @AlfredoCorrea
    @AlfredoCorrea Před 2 měsíci

    Slides here: raw.githubusercontent.com/boostcon/2011_presentations/master/tue/spirit_qi_in_the_real_world.pdf

  • @rolandinnamorato1953
    @rolandinnamorato1953 Před 2 měsíci

    Nice presentation and style

  • @dgo4490
    @dgo4490 Před 2 měsíci

    The key to getting good auto factorization - use a static size (preferably cache line aligned) frame to iterate unknown size data , finish off any remaining items at the end in a separate loop, this way most of the ops are vectorized and only the unpadded remained is done in scalar.

  • @kwitee
    @kwitee Před 3 měsíci

    Anyone else get the feeling that C++ is conceding that Fortran got this (more) right after all (with ALLOCATABLE and POINTER)?

  • @GeorgeTsiros
    @GeorgeTsiros Před 3 měsíci

    "int main(int argc, char**argv)" is NOT what "don't repeat yourself" is about. First of all, there is not even any _repetition_ here. This _definition_ exists _exactly once_ in each program (the _declaration_ is implicit in the C standard itself). Bad example! Bad!

  • @GeorgeTsiros
    @GeorgeTsiros Před 3 měsíci

    99% "service level indicator" is laughable. If a piece of hardware running at a measly 1 MHz would be expected to fail every _tenth of a millisecond_ . It would _literally_ not have enough time to be brought to power before it halts.

  • @GeorgeTsiros
    @GeorgeTsiros Před 3 měsíci

    meanwhile, a CPU will execute _quadrillions_ of instructions each day and not fail _one_ A CPU will likely go through its entire life not misexecuting even one instruction. A heart has _worse_ availability, considering at a very old age it misses cycles.

  • @paulmoore7964
    @paulmoore7964 Před 3 měsíci

    '_' is not a wild card. It means 'i dont need the data' , rust will complain is you do not use a variable unless it starts with _

  • @killacrad
    @killacrad Před 3 měsíci

    What is precisely meant by no interaction between NUMA nodes if only talking to L3 cache at czcams.com/video/f0ZKBusa4CI/video.htmlfeature=shared&t=2005, in terms of effect on memory bandwidth?

  • @ruadeil_zabelin
    @ruadeil_zabelin Před 3 měsíci

    I would love a typescript-idea for C++. It would be so great. We can add things like compiletime reflection in a much easier way.. we can add things like the meta language Herb talked about previously. We can finally get rid of the extreme verbosity of the language. All the while maintaining full compatibility with normal real C++. I'm all for it. Also default package managers please! Please please for the love of everything please. Few things i'd like to see: noexcept by default (and specify when you do want it), lightweight exceptions by default which are syntactic sugar for error code returns, const by default unless you specify something isn't const. Don't make me write a const and non-const version of the same function. Dont make me write a ton of overloads for copy and move.