CPPP Conference
CPPP Conference
  • 42
  • 47 766
As simple as 1 + 1 = 2 ? - Loïc Joly - CPPP 2021
github.com/CpppFr/CPPP-21
cppp.fr/
---
Do you know how integer arithmetic works in C++? Do you really know? For my part, the more I know about it, the more I discover how much I did not know, and I'm truly grateful that most of the time, it just works. In this lightning talk, I present a quiz about a simple addition that can give surprising results, when it doesn't just work.
---
Loïc Joly
Loïc is a C++ coder, speaker, teacher and expert. He represents France on the ISO C++ standardization committee and is also a member of the committee drafting the next version of the MISRA C++ standard for safety-critical systems.In addition to developing in C++, he has a special interest in teaching it and spreading good practices across the community. He is a frequent speaker at meetups and conferences and teaches at Telecom SudParis. Since he joined SonarSource in 2018, he has worked on static analysis for C++, both specifying rules to help other developers and having the fun of implementing them.
---
Streamed & Edited by Digital Medium Ltd - events.digital-medium.co.uk
Enquiries: events@digital-medium.co.uk
Graphic design: Oscar Larousse
Logo music: Agnès Vincent agnesvincent.com/
มุมมอง: 256

วีดีโอ

Formatting ISO 8601 date and time, fast - Pavel Novikov - CPPP 2021
มุมมอง 4882 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Comparing performance of 7-ish different ways to format ISO 8601 date and time. Pavel Novikov Pavel Novikov got an engineering degree in missilery from BMSTU. Loves C and knows how to cook it. Likes metaprogramming, multithreading and asynchronous programming, coroutine adoption enthusiast. Streamed & Edited by Digital Medium Ltd - events.digital-medium.co.uk ...
Artificial Problems - Ólafur Waage - CPPP 2021
มุมมอง 2152 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Programming always has something new to teach us, but we can get stuck in the same cycle of development, using the same tools and methods. What can we do to break out? Olafur talks about building artificial walls which we can climb, and it's in that climb where we will learn the most. Ólafur Waage Ólafur Waage is a Senior Software Developer at TurtleSec, he ha...
Why Clean Code Is Not The Norm? - Sandor Dargo - CPPP 2021
มุมมอง 2302 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Why clean code is still the exception and not the norm? An intriguing question I read recently. Most of the answers are so human but also so wrong. It's them! The project managers, the junior developers... But no. It's not them, it's us, senior devs. Let's discover why and what we can do against. Sandor Dargo Sandor is a passionate software craftsman focusing ...
Finding Nemo or Evolution of a for loop - Arseniy Zaostrovnykh - CPPP 2021
มุมมอง 942 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ C has undergone significant changes towards simplification of the code. In this talk, I will follow the evolution of a linear search algorithm across C standards. Arseniy Zaostrovnykh Arseniy Zaostrovnykh, PhD, is a static analysis enthusiast at SonarSource, one of developers of a C analysis engine aiming at improving code quality and security globally. Arseni...
Organizing a Conference - Fred Tingaud - CPPP 2021
มุมมอง 452 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Three years ago, I thought it would be cool to organize a C conference. It seemed like a great idea to meet fascinating people and learn a lot about C . In this lightning talk, I give a rapid feedback about that... Fred Tingaud Fred Tingaud works on C static analysis at SonarSource. He is the creator of quick-bench.com and build-bench.com, as well as being the...
SIMD in C++20 - EVE of a new Era - Joël Falcou - CPPP 2021
มุมมอง 3862 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ In those days and ages of GPGPU, Cloud Computing, and other bleeding-edge large-scale computing architectures, peoples often forget that 150% of their CPU comes with a layer of Instruction Level Parallelism: their SIMD computing unit. If writing code using SIMD systems was less of a nightmare then, yeah, people would use it. So, obviously, we had to write a li...
Keynote: On the Aesthetics of Code - Sy Brand - CPPP 2021
มุมมอง 2.7K2 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ We spend a lot of time discussing the functional aspects of code, but what about the aesthetic aspects? When and how can code function as art? How do we interact with code on an aesthetic level? This talk applies various philosophies of aesthetics to code in order to make you see it in a different light, from the ways language shapes our ability to express our...
A brief introduction to Time Travel Debugging - Chris Croft-White - CPPP 2021
มุมมอง 4782 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Time travel debugging enables developers to record an application as it's running - capturing the state of the application at every instruction - and then rewind and replay to inspect program state at any point in time. It's a bit like replaying a CCTV tape to see what happened. Watch this lightning talk to see how this works in practice. Chris Croft-White Chr...
Our Adventure building a massively scalable C++ remote compiler cloud - Damien Buhl - CPPP 2021
มุมมอง 2172 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Our journey implementing a massively scalable web application for tipi.build, in a mixed environment with many cloud vendors, REST APIs and multi-cloud capabilities. C web frameworks, REST server autogeneration, template metaprogramming and the learnings of building and running a rock solid cloud application with C and containers swarms. Damien Buhl CEO, tipi....
Correctly Calculating min, max, and More - Walter E Brown - CPPP 2021
มุมมอง 2962 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ The C standard library long ago selected operator < as its ordering primitive, and even spells it in several different ways (e.g., std::less). This talk will explain why operator < (and its aliases) must be used with care, in even such seemingly simple algorithms as max and min. We will also discuss the use of operator < in several other order-related algorith...
Using C++ as a C on steroids - Serge Guelton - CPPP 2021
มุมมอง 3832 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ Some people want to use the latest version C with all the bells and whistles. Some like it for only a few aspects, and would love to forget about the remaining parts. But is that possible? The answer is yes, and from freestanding C to a range of compiler flags, many a project do use C like this. Let's discover these choices and explore the consequence! Serge G...
Why you should move your legacy code to smart pointers - Sébastien Gonzalve - CPPP 2021
มุมมอง 2592 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ When working on legacy code, one often face the tricky question "when to move legacy code to modern features of C ". Changing "working" production to use smart pointer is usually seen as risky and have low return over investment. This talk aims to explain why the right moment to move you legacy code to smart pointers is now. Target audience are people trapped ...
Parameterized testing with GTest - Sandor Dargo - CPPP 2021
มุมมอง 1.7K2 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ At this talk, you will learn about how to keep your unit tests short, expressive and maintainable by using parameterized tests from the GTest library. First, we are going to cover why unit test code is as important as production code. Then, I'm going to show how we can make our tests less repetitive with different techniques. We are going to cover in detail, h...
Sandbox Games: Using WebAssembly and C++ to make a simple game - Ólafur Waage - CPPP 2021
มุมมอง 3.1K2 ปีที่แล้ว
github.com/CpppFr/CPPP-21 cppp.fr/ WebAssembly is an interesting environment, especially for C programmers. With tools like Emscripten becoming better and better and game development libraries starting to add support for WebAssembly it is worth taking a look into this world. We will go over what WebAssembly is, how a development environment might look like and then make a simple game that will ...
The Performance Price of Virtual Functions - Ivica Bogosavljevic - CPPP 2021
มุมมอง 2762 ปีที่แล้ว
The Performance Price of Virtual Functions - Ivica Bogosavljevic - CPPP 2021
Safer multithreading programming with C++ - Sébastien Gonzalve - CPPP 2021
มุมมอง 4422 ปีที่แล้ว
Safer multithreading programming with C - Sébastien Gonzalve - CPPP 2021
Keynote: Iterators and Ranges: Comparing C++ to D, Rust, and Others - Barry Revzin - CPPP 2021
มุมมอง 3K2 ปีที่แล้ว
Keynote: Iterators and Ranges: Comparing C to D, Rust, and Others - Barry Revzin - CPPP 2021
The concepts of concepts - Sandor Dargo - CPPP 2021
มุมมอง 1002 ปีที่แล้ว
The concepts of concepts - Sandor Dargo - CPPP 2021
Live-Testing bugs in legacy code with test data builders & mikado method - Philippe Bourgau CPPP 21
มุมมอง 1782 ปีที่แล้ว
Live-Testing bugs in legacy code with test data builders & mikado method - Philippe Bourgau CPPP 21
Performance is not (only) about micro-optimizations! - Clément Grégoire - CPPP 2021
มุมมอง 2812 ปีที่แล้ว
Performance is not (only) about micro-optimizations! - Clément Grégoire - CPPP 2021
The foundation of C++ atomics - Filipe Mulonde - CPPP 2021
มุมมอง 2282 ปีที่แล้ว
The foundation of C atomics - Filipe Mulonde - CPPP 2021
How I learned to stop worrying and love MISRA - Loïc Joly - CPPP 2021
มุมมอง 2172 ปีที่แล้ว
How I learned to stop worrying and love MISRA - Loïc Joly - CPPP 2021
Constructors and destructors: A few things you might want to know - Pavel Novikov - CPPP 2021
มุมมอง 1842 ปีที่แล้ว
Constructors and destructors: A few things you might want to know - Pavel Novikov - CPPP 2021
ctbench: compile time benchmarking for Clang - Jules Pénuchot - CPPP 2021
มุมมอง 1392 ปีที่แล้ว
ctbench: compile time benchmarking for Clang - Jules Pénuchot - CPPP 2021
Cross-Platform Development with CMake - Julien Jomier - CPPP 2021
มุมมอง 4372 ปีที่แล้ว
Cross-Platform Development with CMake - Julien Jomier - CPPP 2021
A Series of Unfortunate Bugs - Satabdi Das - CPPP 2021
มุมมอง 2692 ปีที่แล้ว
A Series of Unfortunate Bugs - Satabdi Das - CPPP 2021
The C++ rvalue lifetime disaster - Arno Schoedl - CPPP 2021
มุมมอง 5932 ปีที่แล้ว
The C rvalue lifetime disaster - Arno Schoedl - CPPP 2021
Zen and the art of Code Lifecycle Maintenance - Phil Nash - CPPP 2021
มุมมอง 1152 ปีที่แล้ว
Zen and the art of Code Lifecycle Maintenance - Phil Nash - CPPP 2021
What Classes we Design and How - Peter Sommerlad - CPPP 2021
มุมมอง 1842 ปีที่แล้ว
What Classes we Design and How - Peter Sommerlad - CPPP 2021

ความคิดเห็น

  • @MatthewWalker0
    @MatthewWalker0 ปีที่แล้ว

    A well-balanced, well thought-out, level-headed and detailed talk. Feels like being guided through a thesis on iterator styles. We've all been frustrated at the complexities and limitations of C++ iterators, and wondering what the alternatives are -- this talk gives you that knowledge, and lets you appreciate each point in the design space.

  • @MrAbrazildo
    @MrAbrazildo ปีที่แล้ว

    27:30, so are ranges slow in any language? 38:22, C++ is faster for most cases and, as long as I know/think, it's also better to build tools - _or is Rust better to make C++ things than the opposite_ ? 57:52, tsc, tsc, tsc... I guess the answer is here, for example. I appreciate C++ functionality even more than its speed.

  • @arealcomputerscientist7219
    @arealcomputerscientist7219 2 ปีที่แล้ว

    I keep getting function definition for INSTANTIATE_TEST_CASE_P not found. I am sure the variables are correct but it still will not recognize it.

  • @zoso25
    @zoso25 2 ปีที่แล้ว

    We could've defined constexpr int I = 1; constexpr int J = 1; leading to preprocessor not seeing the definitions while evaluating #if I + J == 2u to get the same "2 Not 2" output. Getting "2 2" is trivial.

  • @freak82music
    @freak82music 2 ปีที่แล้ว

    I believe in the `write2Decimals` function should be `+ 2*n` instead `+ n` ?

    • @PaulSkeptic
      @PaulSkeptic 2 ปีที่แล้ว

      Yes, you are right.

  • @peterevans6752
    @peterevans6752 2 ปีที่แล้ว

    Enjoyed your presentation on code as an artist medium. Truly leads to a discussion on what is... and how is...! I disagree with that mathematician's quote of listening vs doing. I think the bigger point is level of involvement as the consumer versus being the creator of the content. I did really like the "proofs from the book" ideas. Paul Erdos still having an effect on art and science. So many aspects to consider when thinking about Aesthetics.

  • @kwitee
    @kwitee 2 ปีที่แล้ว

    For backwards compatibility, can you beat Fortran? Still can compile early 70s FORTRAN IV code…

  • @MatthewChaplain
    @MatthewChaplain 2 ปีที่แล้ว

    I am also a Matt, and I also played and administered muds at around the same time (although ours were Envy-based rather than ROM based), and even today I have a fondness for Telnet and terminals. Awesome stuff!

    • @MattGodbolt
      @MattGodbolt 2 ปีที่แล้ว

      Fantastic! Thanks for sharing :)

  • @Youda00008
    @Youda00008 2 ปีที่แล้ว

    Matt playing MUD? Gold

  • @MykolasSimutis
    @MykolasSimutis 2 ปีที่แล้ว

    Thank you, this was entertaining as well informative!

  • @Nobody1707
    @Nobody1707 2 ปีที่แล้ว

    Oh, lovely, DikuMUD. The source code license that will take you to court for having a donation link for server costs in your game.

  • @broken_abi6973
    @broken_abi6973 2 ปีที่แล้ว

    I didn't know Bruce Dickinson was a C++ programmer.

  • @dack981
    @dack981 2 ปีที่แล้ว

    Diku was probably the grandfather of MUDs; I think almost every MUD was based on it. I'm glad that Matt let me time travel a little bit back to my youth and think about MUDs :)

    • @MattGodbolt
      @MattGodbolt 2 ปีที่แล้ว

      Glad to give you that nostalgia buzz!