Message Handling with Boolean Algebra
Message Handling with Boolean Algebra Ben Deane / CppCon / 2024-09-16 1Alternative Title "The Unreasonable Effectiveness of Boolean Algebra in Software Design, Showing the Particular Application of of a Message Handling Library, with an Excursion into the Roots of Programming" 2Frontmatter No AI/LLM was used in the creation of this talk. Code is simplified for slides; may have some errors in this talk is about The workings of a message-handling library. How messages and the fields in them are specified. Efficiently identifying (with matchers) a message coming off the wire. The role of Boolean0 码力 | 103 页 | 4.37 MB | 5 月前3Object Oriented Programming
Object-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final Template method Destructor Interfaces Liskov substitution principle Covariant return type Duck Typing Traps Virtual in con- /destructor Slicing ShadowingObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality from the outside world. Information hiding Separation from interface and implementationObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality0 码力 | 38 页 | 752.99 KB | 5 月前3Back to Basics: Object-Oriented Programming
Andreas Fertig Write unique code! Back to Basics Object-Oriented Programming Presentation Material CppCon, Aurora CO, 2024-09-20© 2024 Andreas Fertig AndreasFertig.com All rights reserved All programs Fertig https://AndreasFertig.com post@AndreasFertig.com 5A class ■ C++ adds classes for object-oriented programming. ■ The constructors B are called when the object is cre- ated. ■ Data fields of classes0 码力 | 20 页 | 1.04 MB | 5 月前3Can Data-Oriented-Design be Improved?
1Can data-oriented-design be improved? Ollivier Roberge Collège Jean-de-Brébeuf 2A brief historic • 1960s • FORTRAN • Lisp • 1980s • OOP • Structured programming • Modules • 2000s • Template 3What is DoD about? • DoD (“Data oriented design”) • Not about cache lines, nor struct layout (at its core) • From wikipedia: ”As a design paradigm, data-oriented-design focuses on optimal transformations transformation Previous transformation Next transformation 8The opposite philosophy Data oriented code • Platform specific code • Procedural/imperative code • Problem/dataset specific code • Hand-optimize0 码力 | 39 页 | 1.18 MB | 5 月前3Pipes: How Plumbing Can Make Your C++ Code More Expressive
Dad John’s chromosomes From Mom42 THE CROSSING OVER From John’s Dad From John’s Mom To John’s kids To John’s kids43 THE CROSSING OVER From John’s Dad From John’s Mom To John’s kids To John’s kids From John’s Mom mux unzip To John’s kids To John’s kids transform (crossover)44 From John’s Dad From John’s Mom To John’s kids To John’s kids From John’s Dad From John’s Mom mux transform } else { return { momGene, dadGene }; } }45 From John’s Dad From John’s Mom mux transform (crossover) unzip To John’s kids To John’s kids auto const dadChromosome = std::string(250 码力 | 61 页 | 9.52 MB | 5 月前3How to start a VC-backed startup
startup? Three major motivation types: ● King ● Merchant ● MissionaryMindset Rejection Proof The Mom TestIt’s hard to survive in the jungle if you were trained in a zoo ● Build something impressive:0 码力 | 32 页 | 7.43 MB | 5 月前3Blazing Trails: Building the World's Fastest CameBoy Emulator in Modern C++
- -> In case option 3 is a no 3: come home in the comfort of Jax, me and mom. -> In case it hit deep 4: don’t give a F*** and say idc to stand up for yourself. -> Good0 码力 | 91 页 | 8.37 MB | 5 月前3Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code
facto middleware of choice across robotics academia and industry Why use Robot Operating System? Clip taken from: https://robots.ros.org/● Robot Operating System (ROS) is the de facto middleware of choice System? Clip taken from: https://robots.ros.org/● Robot Operating System (ROS) is the de facto middleware of choice across robotics academia and industry ● According to the ROS 2022 Metrics Report, Tests and documentation! Lots and lots of documentation! ● ROS 2 documentation encourages an object-oriented paradigm that can lead to trouble writing code that achieves the goalWhy give this talk? ● Engineers0 码力 | 200 页 | 1.77 MB | 5 月前3Trends Artificial Intelligence
is now within reach of solo developers, independent app builders, researchers on a laptop, and mom-and-pop shop employees. The cost collapse has made experimentation cheap, iteration fast, and productization assume zero users in 11/23 per Meta’s 12/23 blog post noting, ‘To chat with our AIs, start a new message and select “Create an AI chat” on Instagram, Messenger or WhatsApp. They’re now available to anyone0 码力 | 340 页 | 12.14 MB | 4 月前3Oracle VM VirtualBox 4.3.36 Programming Guide and Reference
the object-oriented web service (OOWS) . . . . . . . . . . . . . . . . . . . 25 2.1.1 The object-oriented web service for JAX-WS . . . . . . . . . . . . . . . . 25 2.1.2 The object-oriented web service service for Python . . . . . . . . . . . . . . . . 27 2.1.3 The object-oriented web service for PHP . . . . . . . . . . . . . . . . . 28 2.2 Using the raw web service with any language . . . . . . . . . . . easy-to-use classes that allow you to use the web service in an object-oriented, straightforward manner. We shall refer to this as the “object-oriented web service (OOWS)“. The OO bindings for Java are described0 码力 | 376 页 | 1.99 MB | 6 月前3
共 169 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17
相关搜索词
MessageHandlingwithBooleanAlgebraObjectOrientedProgrammingBacktoBasicsCanDataDesignbeImprovedPipesHowPlumbingMakeYourC++CodeMoreExpressivestartVCbackedstartupBlazingTrailsBuildingtheWorldFastestCameBoyEmulatorinModernLeveragingFunctionalApproachforTestableandMaintainableROSTrendsArtificialIntelligenceOracleVMVirtualBox4.336GuideReference