cpponsea
cpponsea
  • 223
  • 1 132 262
Jason Turner - Workshop Interview - Understanding Object Lifetime For Efficient and Safer C++
Register Now for a C++ Workshop, or three day main C++ conference at C++OnSea 2024: cpponsea.uk/
Session Preview For Jason Turner's upcoming c++ workshop session, part of C++ On Sea 2024. More info: cpponsea.uk/2024/sessions/understanding-object-lifetime-for-efficient-and-safer-cpp.html
10:00-18:00, Tuesday, 2nd July 2024
Kevin Carpenter from @cppevents interviews Jason Turner ahead of his upcoming C++ workshop session for C++ on Sea 2024 - Understanding Object Lifetime For Efficient and Safer C++
---
C++ Workshop Details
Understanding Object Lifetime For Efficient and Safer C++
C++ has something very few other languages have: a well defined object life cycle. Understanding this key aspect of C++ is critical to writing clean, maintainable, and efficient C++.
Topics we will cover include:
Understanding RAII
What does the standard say?
Member variable lifecycle
How and why to limit variable scope
The as-if rule
std::move and std::forward
Passing values
Returning values
Lifecycle of lambda captures
How the C++ memory model and object lifetime relate
Gotchas
About C++OnSea 2024
C++ on Sea is an international C++ conference taking place by the sea, in the UK. Our venue is in Folkestone, Kent, near the entrance to the channel tunnel with stunning views across the English Channel.
New for 2024: we're running two pre-conference workshop days, as well as our usual three-day main conference. And we're back to four tracks!
-
Jason Turner
Jason has 2 decades of C++ experience and is a regular conference speaker, developer, and trainer. He has been publishing weekly C++ videos on his CZcams channel, C++ Weekly, since 2016.
Hosted by Kevin Carpenter: @cppevents
C++ on Sea is an annual C++ and coding conference, in Folkestone, in the UK.
- Annual C++ on Sea, C++ conference: cpponsea.uk/
- 2024 Program: cpponsea.uk/2024/schedule/
- Twitter: cpponsea
---
CZcams Videos Filmed, Edited & Optimised by Digital Medium: events.digital-medium.co.uk
#cpp​​ #programming​ #cplusplus #softwareengineer #softwaredeveloper #cpponsea #raii
zhlédnutí: 116

Video

Exclusive Interview With Dave Abrahams - Hylo: Generic-programming Language Built on Value Semantics
zhlédnutí 326Před 6 hodinami
Register Now for a C Workshop, or three day main C conference at C OnSea 2024: cpponsea.uk/ Session Preview For Dave Abraham's upcoming c talk session, part of C On Sea 2024. More info: cpponsea.uk/2024/sessions/hylo-the-safe-systems-and-generic-programming-language-built-on-value-semantics.html Scheduled for Wed 3rd July 2024 at 0915 Kevin Carpenter from @cppevents interviews Dave Abrahams ahe...
Designing and Implementing Safe C++ Applications - Workshop Preview & Interview With Amir Kirsh
zhlédnutí 214Před 9 hodinami
Register Now for a C Workshop, or three day main C conference at C OnSea 2024: cpponsea.uk/ Session Preview For Amir Kirsh's upcoming c workshop session, part of C On Sea 2024. More info: cpponsea.uk/2024/sessions/designing-and-implementing-safe-cpp-applications.html Scheduled for Monday 1st July 2024 at 1000 Kevin Carpenter from @cppevents interviews Amir Kirsh ahead of his upcoming C workshop...
C++ on Sea Lightning Talks: Omnibus Session 2 - C++ on Sea 2023
zhlédnutí 679Před 6 měsíci
cpponsea.uk/ C on Sea Lightning Talks: Omnibus Session 2 - C on Sea 2023 Ten coding lightning talks from the second, final day, of the C on Sea Conference 2023. Enjoy these short talks that cover a variety of topics on C programming and related themes. All hosted by Frances Buontempo! Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored by think-cell: www.think-cell.com/en/...
C++ on Sea Lightning Talks: Omnibus Session 1 - C++ on Sea 2023
zhlédnutí 1,2KPřed 6 měsíci
cpponsea.uk/ C on Sea Lightning Talks: Omnibus Session 1 - C on Sea 2023 An omnibus of the C on Sea coding lightning talks from day one of the C on Sea Conference 2023. We present eleven short talks, given by the learned C on Sea speakers, covering a wide range of Cpp programming topics from Parallelism to Undefined Behaviour. Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Spon...
Lightning Talk: Into the Lambda-Verse - Timur Doumler - C++ on Sea 2023
zhlédnutí 2,3KPřed 6 měsíci
cpponsea.uk/ Lightning Talk: Into the Lambda-Verse - Timur Doumler - C on Sea 2023 Some surprising and hopefully entertaining facts about how lambdas actually work in C ! Expect code examples that don't do what you expect, and wording that doesn't seem to make any sense :) Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored By think-cell: www.think-cell.com/en/ Timur Douml...
Lightning Talks: 5 Things You Didn't Know Your CPU Did For You - Matt Godbolt - C++ on Sea 2023
zhlédnutí 5KPřed 6 měsíci
cpponsea.uk/ Lightning Talks: 5 Things You Didn't Know Your CPU Did For You - Matt Godbolt - C on Sea 2023 A very super fast tour of the magic the microarchitecture of your CPU does for you without you even knowing! Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored by think-cell: www.think-cell.com/en/ Matt Godbolt I'm a C developer who's passionate about the seemingly o...
Lightning Talk: Controlling Uncontrollables in Mental Health - Dr. Allessandria Polizzi C++ on Sea
zhlédnutí 419Před 6 měsíci
cpponsea.uk/ Lightning Talk: Controlling Uncontrollables in Mental Health - Dr. Allessandria Polizzi - C on Sea We will review 5 ideas for addressing hazards to employee mental health from a cybersecurity perspective. Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored by think-cell: www.think-cell.com/en/ Dr. Allessandria Polizzi Owner of a 2022 Workplace Wellness "Hot Li...
Lightning Talk: Really Simple Machine Learning in C++ - Ben Huckvale - C++ on Sea 2023
zhlédnutí 1,4KPřed 6 měsíci
cpponsea.uk/ Lightning Talk: Really Simple Machine Learning in C - Ben Huckvale - C on Sea 2023 Join me on my learning machine learning journey, with a simple C example using std::vector and STL algorithms to train a single neuron. Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored By think-cell: www.think-cell.com/en/ Speaker I write software for DNA sequencing devices, ...
Lightning Talks: An Incredibly Fast Delegates Library for C++ - Andreas Schätti - C++ on Sea 2023
zhlédnutí 1,8KPřed 6 měsíci
cpponsea.uk/ Lightning Talks: An Incredibly Fast Delegates Library for C - Andreas Schätti - C on Sea 2023 I'd like to present the open-source library for replacing std::function with a more light-weight alternative: gitlab.com/rmettler/cpp_delegates Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored By think-cell: www.think-cell.com/en/ Andreas Schätti Two great kids. Te...
Lightning Talk: What Does ChatGPT Know About C++ and Why Fear the Global Namespace? - Roth Michaels
zhlédnutí 857Před 6 měsíci
cpponsea.uk/ Lightning Talk: What Does ChatGPT Know About C and Why You Should Fear the Global Namespace? - Roth Michaels - C on Sea 2023 The story of an experience I had preparing my C on Sea talk about concepts. I tried to get ChatGPT to help me with a confusing error; it gave me interesting answers and I found how concepts can behave differently in the global namespace. Slides: github.com/ph...
Lightning Talk: A Templated Grandfather Paradox in C++ - Jonathan Storey - C++ on Sea 2023
zhlédnutí 1,5KPřed 6 měsíci
cpponsea.uk/ Lightning Talk: A Templated Grandfather Paradox in C - Jonathan Storey - C on Sea 2023 Class templates that inherit from themselves look weird, but behave normally. Let's see if we can use them for fun and profit! Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored by think-cell: www.think-cell.com/en/ I'm a C developer with Oxford Nanopore Technologies, with ...
Lightning Talk: How Quick, Fast, and Valuable Feedback Helps Programming - Arne Mertz C++ on Sea 23
zhlédnutí 382Před 6 měsíci
cpponsea.uk/ Lightning Talk: How Quick, Fast, and Valuable Feedback Helps Programming - Arne Mertz - C on Sea 2023 The best feedback is as quick and valuable as possible. Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored By think-cell: www.think-cell.com/en/ Arne Mertz Arne Mertz has been working with modern and not-so-modern C codebases for over 14 years in embedded and...
Hidden Hazards: Unique Burnout Risks in Tech - Dr. Allessandria Polizzi - C++ on Sea 2023
zhlédnutí 677Před 7 měsíci
cpponsea.uk/ Hidden Hazards: Unique Burnout Risks in Tech - Dr. Allessandria Polizzi - C on Sea 2023 A 2022 study showed that the 2/3rds of IT workers feel physically and emotionally drained. And while we know that tech is largely an intellectual and knowledge-based effort, little has been done to address these issues beyond free snacks and foosball tables. We can do better. In fact, there are ...
Lightning Talk: Mismeasure for Measure (Part 2 of N) - Mateusz Pusz - C++ on Sea 2023
zhlédnutí 419Před 7 měsíci
cpponsea.uk/ Lightning Talk: Mismeasure for Measure (Part 2 of N) - Mateusz Pusz - C on Sea 2023 A talk series showcasing physical units-related engineering mishaps and how to solve them with mp-units library. Slides: github.com/philsquared/cpponsea-slides/tree/master/2023 Sponsored By think-cell: www.think-cell.com/en/ Mateusz Pusz A software architect, principal engineer, and security champio...
Lightning Talk: Mismeasure for Measure (Part 1 of N) - Mateusz Pusz - C++ on Sea 2023
zhlédnutí 563Před 7 měsíci
Lightning Talk: Mismeasure for Measure (Part 1 of N) - Mateusz Pusz - C on Sea 2023
Lightning Talk: C++ vs Haskell vs BQN - Conor Hoekstra - C++ on Sea 2023
zhlédnutí 2KPřed 7 měsíci
Lightning Talk: C vs Haskell vs BQN - Conor Hoekstra - C on Sea 2023
Lightning Talk: I Need a Different Variant in C++ - Robert Allan Hennigan Leahy - C++ on Sea 2023
zhlédnutí 1,8KPřed 7 měsíci
Lightning Talk: I Need a Different Variant in C - Robert Allan Hennigan Leahy - C on Sea 2023
Lightning Talk: Undefined Behaviour in C++ - Cassio Neri - C++ on Sea 2023
zhlédnutí 1,6KPřed 7 měsíci
Lightning Talk: Undefined Behaviour in C - Cassio Neri - C on Sea 2023
Lightning Talk: Multiple-Include Optimization in C++ - Elliot Goodrich - C++ on Sea 2023
zhlédnutí 1,8KPřed 7 měsíci
Lightning Talk: Multiple-Include Optimization in C - Elliot Goodrich - C on Sea 2023
Lightning Talk: C++ String Literals Have the Wrong Type - Jonathan Müller - C++ on Sea 2023
zhlédnutí 3,1KPřed 7 měsíci
Lightning Talk: C String Literals Have the Wrong Type - Jonathan Müller - C on Sea 2023
Lightning Talk: Six Ideas for Your Next Programming Job Hunt - Sandor Dargo - C++ on Sea 2023
zhlédnutí 883Před 7 měsíci
Lightning Talk: Six Ideas for Your Next Programming Job Hunt - Sandor Dargo - C on Sea 2023
Lightning Talk: Red/Green/What? - Colour Vision Limitation - Björn Fahller - C++ on Sea 2023
zhlédnutí 797Před 7 měsíci
Lightning Talk: Red/Green/What? - Colour Vision Limitation - Björn Fahller - C on Sea 2023
Lightning Talk: When C++ Singletons Fail... Richard Shepherd - C++ on Sea 2023
zhlédnutí 1,6KPřed 7 měsíci
Lightning Talk: When C Singletons Fail... Richard Shepherd - C on Sea 2023
Lightning Talk: Does AVX512 Reduce Power Consumption? - Andrew Drakeford - C++ on Sea 2023
zhlédnutí 1,2KPřed 7 měsíci
Lightning Talk: Does AVX512 Reduce Power Consumption? - Andrew Drakeford - C on Sea 2023
Lightning Talk: How Fast Are Computers (in Human Terms)? - Matt Godbolt - C++ on Sea 2023
zhlédnutí 5KPřed 7 měsíci
Lightning Talk: How Fast Are Computers (in Human Terms)? - Matt Godbolt - C on Sea 2023
Lightning Talk: How to Utilize Parallelism in Your Home Office - Tina Ulbrich - C++ on Sea 2023
zhlédnutí 889Před 7 měsíci
Lightning Talk: How to Utilize Parallelism in Your Home Office - Tina Ulbrich - C on Sea 2023
Automatic Caching for C++ Builds: Merging Git and the Compiler - Damien Buhl - C++ on Sea 2023
zhlédnutí 1,2KPřed 7 měsíci
Automatic Caching for C Builds: Merging Git and the Compiler - Damien Buhl - C on Sea 2023
Most Malleable Memory Management Method in C++ - Björn Fahller - C++ on Sea 2023
zhlédnutí 6KPřed 7 měsíci
Most Malleable Memory Management Method in C - Björn Fahller - C on Sea 2023
Endnote: AI-Assisted Software Engineering - Bryce Adelstein Lelbach - C++ on Sea 2023
zhlédnutí 1,9KPřed 7 měsíci
Endnote: AI-Assisted Software Engineering - Bryce Adelstein Lelbach - C on Sea 2023

Komentáře

  • @DomainObject
    @DomainObject Před 21 hodinou

    I so can't wait for Hylo 1.0 to come out. Tremendously excited by the idea of a mutable value semantics "all the way down" language.

  • @NickolayGerasimenko
    @NickolayGerasimenko Před 23 hodinami

    Why C++ doesn't have built-in support of JSON in 2024?

  • @AminAramoon
    @AminAramoon Před dnem

    Dave Abrahams with a "live Sean Parent" background for his zoom calls

  • @masondeross
    @masondeross Před 4 dny

    It looks like someone wants to force a core dump in a "portable" way, i.e. both on linux or windows using x32/x64 machines. I can't speculate on microcontrollers and such. I generally feel like its something people who learned C++ in the 90's (and still treat it like "C/C++" rather than two languages) would write, but there could be domains that still use it commonly beyond just being left in ancient library code.

  • @cunningham.s_law
    @cunningham.s_law Před 5 dny

    what lib are u using for the ascii animations

  • @JorgenFogh
    @JorgenFogh Před 7 dny

    I really hope this makes the '26 standard.

  • @AurraKo
    @AurraKo Před 7 dny

    based

  • @sallesvianagomesdemagalhae6181

    Could you please provide me a link to the top10 repository? (the one with the top programming challenges) I could not find it.

  • @dagahanfdm
    @dagahanfdm Před 14 dny

    This is why C++ is the worst language ever. An abomination.

  • @lowlevelcodingch
    @lowlevelcodingch Před 24 dny

    okay, i think that *(char*)0 = 0; means: cast "0" to a character pointer and "unpointer" it ( i think it is called dereference ) and then assign 0 to it. so to the character '0' assign 0

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

    You need the thing that closes each function down all neatly by clicking on the greater than symbol like in dark basic & Java. Pull out the MASM64 debugger with the void object.

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

    The gist of the talk: not gonna tell you how, join IMC and learn, we are hiring. Here, I saved you half an hour of your life.

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

    Your just saying, is this capable of that? So i can say, i am all capable, VOID OBJECT. Then you cannot have all capability, so you must write every single possible operation out by hand. So you cannot do this, now we must have a big bang to fill up every possible state, no stone left unturned. So we cannot do this, but people spend money, close enough for bills. In our next study; *_use every single register at one time to pivot table array the cache registers_*

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

    I'm not seeing the advantage. Why not instead trigger an event when an agent takes damage and update only the damaged agent? No need for iteration of all agents.

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

    How does c++ *still* not have reflection

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

    Actually I don't know if it's about the difficulty of this presentation or just is my adult ADHD that is to blame for the distortion in my mind, Thanx for the effort anyways

  • @01MeuCanal
    @01MeuCanal Před měsícem

    Great talk. Anyhow I still dont understant when structure binding discards const? const auto& [a, b, c] = tuple<int&, float&&, int> creates a confusion because it seems only c is const. P.S. I got it. Structure bidings in this case will work exactly like tuple elements works.

  • @Ninja-zb1yi
    @Ninja-zb1yi Před měsícem

    Можешь оставить ссылку на код // Can you give github repository

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

    13:53, but why not use binary protocols like protobuf, if we are talking about the footprint of a message?

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

      It would make the message smaller. However the difficulty here is credit card terminals. The come from multiple vendors, the harder problem would be getting every client updated. That plus the reasonable readability of json makes for easier support/troubleshooting in some situations.

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

    Literally the best video I've seen on this topic. Thankyou

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

    This is good stuff. Thank you.

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

    You can call it "Being Sold Out" however Linux, GCC, GNU and Unix all agreed to allow the Microsoft Team to come in to bring both compilers up-to-par into a multi platform conglomerate which will eventually eliminate the need for MingGW or MSYST. They made this agreement in 2014 and the trade off was for Microsoft to continue allowing accessibility for Microsoft's Gaming system, their win32 Lib and Sound and Media Codices for everyone. Microsoft officially calls this "Going Open Source" with their own compiler software. I call this "Being Blackmailed". It's already 2024 and Linux hasn't kept their agreed provision yet. And now Microsoft has added the entire Linux Build System, GNU and the GCC Compiler Libs into it's own massive Visual Studio Application. You can actually build an entire Linux distro or Linux applications in VS. And many are doing so. CPython is one of those teams using VS for every platform. Nice video but honestly everyone doing these videos is out on some Maximum Overdrive Mind Trip to out do the other guy that they are unknowingly leaving the normal everyday C++ programmer in the shadows. Mix things up a bit and do some videos on Lexing and Parsing and developing Compilers, that's where everyone is right now. Lol If you guys would post a single Video on only Lexing you would get the most views.

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

    I love that this guy taught me so much about c++ and that I could probably teach him kinda of the same thing on template and compile time c++ xD

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

    TL;DR try this on your modern Linux machine, you will get a SIGSEGV fault with core dump info

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

      It does work if you map memory there using mmap(), but on any version from the last >15 years there's a kernel setting called mmap_min_addr that prevents you from doing so for the first few pages in address space.

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

    I think that code by it self, its ok. someone is zeroing the first byte of the data segment in some segmented arch where in some platform that uses int like pointers (no hidden info in bits) who said that this code is run on common architecture/platform?

  • @0xbaadf00d
    @0xbaadf00d Před 3 měsíci

    On my first look I thought that it's not C++, but C. Based on that, my serious guess about why anyone ever would write this code would be that it's for some very specific compiler/device where it would do... something. Maybe cause a very specific error, in order to see that the device is actually loading this main. Maybe the device has some hardware trouble. Otherwise I'd say it's a badly made disgruntled employee bomb. #ifndef _DEBUG #define if(x) if(rand()<0.0001 && (x)) #endif Would be way more fun.

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

    This video is a gem!!!

  • @mustafa_el-rashied
    @mustafa_el-rashied Před 3 měsíci

    "Segmentation fault" if someone asked from personal experience

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

    It would be nice if he wasn't constantly dragging the talk to a halt to awkwardly insult imaginary people.

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

    We had an opensource project where people kept asking the same question and wouldn't read the simple "getting started" guide and look through the config file. We put 2 entries in the config file crash1=true and crash2=true at the bottom. If those were set we would essentially run code kind of like this. Just crash. The next time someone came in to our IRC (ye.. this was a long time ago..) with "its crashing on startup!" we could just tell them to RTFM.

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

    It was so dense. You should read a system programming book and take some operating system course to understand what he said.

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

    source code?

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

    If I got this question my reply would be "John Carmack's hellow world?"

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

    SIGSEGV Signal... segmentation?... ... V????

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

    Thank you very much! Really helpful.

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

      So pleased to hear that you found the presentation to be of help.

  • @ZapOKill
    @ZapOKill Před 4 měsíci

    another great example why not to use singletons

  • @xarcaz
    @xarcaz Před 4 měsíci

    Mason... is that Mason Murner of M++Meekly fame?

  • @mystmuffin3600
    @mystmuffin3600 Před 4 měsíci

    beautiful slides!

  • @0dWHOHWb0
    @0dWHOHWb0 Před 4 měsíci

    I feel like I only understood maybe half of this, damn

  • @AndreiGrosuMX
    @AndreiGrosuMX Před 4 měsíci

    I don’t know if this is addressed but there is a glaring problem (at least in some domains) with the cursor concept as implemented here: In the example, what if cursor<bool> binded to the gas stove knob …? The main gripe is that cursors can’t be that generic or we don’t get compile time type safety. You have to limit that interface ( with concepts, for example ). I mean it’s obvious here because of the simplicty of the example, but in a ‘real codebase’ with a lot of domain types and operations on them , type safety makes the cursors unwieldly unless concepts are used (and who has a concepts capable compiler in production …)

  • @Antagon666
    @Antagon666 Před 4 měsíci

    I'm so looking forward to std simd.

  • @def1nt
    @def1nt Před 4 měsíci

    I'm not that much into low-level stuff, but the talk was very insightful and even entertaining.

  • @jfbeam
    @jfbeam Před 4 měsíci

    I can't speak to the mind of the programmer, but I _can_ tell you what it actually does: *movb $0, 0* [writes zero to memory address zero.] There are plenty of embedded systems where this is a perfectly valid thing to do. (on any modern, high level system (i.e. PC), it. is. not.)

  • @ZachPetch
    @ZachPetch Před 4 měsíci

    Can someone explain how this was anything other than a waste of 50 minutes? Could he not have made that same point _equally_ effectively in, say, 4 minutes? I am feeling frustrated after having watched the whole thing, so maybe this is misdirected angst, but it seems to me that this whole talk was him explaining that this makes a good interview question for someone in this very specific field of computer science because the interviewee's answer demonstrates how well they know what they're talking about. If I had been attending this conference, I can't help but think that I would have been _very_ disappointed if I attended this in person.

  • @mydeveloperday9069
    @mydeveloperday9069 Před 4 měsíci

    31:00 the fact that clang-format implements some of the rules of clang-tidy just without the need for the full AST, I believe by definition makes it justifiable to be consider as a code analysis tool (of sorts), combine that with its ability to add/remove braces, rearrange includes and imports, rearrange const east/west, remove extraneous semi colons, gives it the capabilities to ensure and enforce code follow a user specific style guide. Ironically becuase of the speed due to the lack of a need for a real parser, most people run clang-format all the time, on commits, and on even on save, many of these other tools listed here are run once in a while often requiring hours of processing and post analysis for the debunking of false positives. When it comes to code conformance I believe clang-format has done more than most tool to ensure consistency.

  • @mydeveloperday9069
    @mydeveloperday9069 Před 4 měsíci

    29:20 you say that clang-format is breaking the compatibility between the settings, this is incorrect, the clang-format team does NOT break the configuration between releases, most options switch from being a "bool" -> "enumeration" -> "structure" during their lifecycle as the complexity of what is being introduced increases (people asking for more knobs and whistles), BUT we DO NOT break compatibility, we continue to provide mappings from the old to the new settings allowing you to stick with the old (if you must), it doesn't break the compatibility, we also don't require people to use the latest version but they cannot have new configuration but use an old binary, for that they must upgrade (and why wouldn't they? if its in their configuration). Some people have expressed that from version to version they can get small changes in Formatting, This often is not so much changes but corrections often caused by improvements to the clang-format parser which more correctly identifies the token real use. It would be nice if you give this presentation again that you correct this mistake.

  • @TheOnlyAndreySotnikov
    @TheOnlyAndreySotnikov Před 4 měsíci

    I like how, after 50 minutes, he goes, "That's the basics; let's talk about some details." Anyway, it was an excellent presentation!

  • @azizbangash8118
    @azizbangash8118 Před 4 měsíci

    What a useless talk.

    • @Bourg
      @Bourg Před 4 měsíci

      What a wonderful comment. So useful, full of depth and thought. I truly appreciate the precision and detail with which you make your argument. Then typesetting of the comment and its delivery is a wonderful extra! Keep these types of comment coming, I’m sure you’ll go far.

  • @Brad_Script
    @Brad_Script Před 4 měsíci

    put the byte 0 in the address 0

  • @KleptomaniacJames
    @KleptomaniacJames Před 4 měsíci

    This is disgusting. What the hell are the standard devs doing?