Retiring the Singleton Pattern{ static Service services; return services; } Bloomberg 52 Grouping Dependencies// Refactored function that replaces singleton Response sendData(const Data& data, Service& services) { Request req; req; // Transform Data into Request // ... services.db_.save(req); services.cache_.save(req); services.mq_.send(req); services.comms_.send(req); } // keep original signature Response sendData(const Data& sendData(const Data& data, SERVICE& services) { Request req; // Transform Data into Request // ... services.db_.save(req); services.cache_.save(req); services.mq_.send(req); return services.comms_.send(req); } //0 码力 | 70 页 | 1.59 MB | 6 月前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 CodeFunctional Programming Principles ● ConclusionIntroductionAbout Me ● Robotics Engineer on the services team at PickNik Robotics ○ Contributed to a wide variety of client projects: remotely operated that leverages MoveIt to make it easier to create robotic arm applications ● Provide consulting services to companies that range from performing feasibility studies to developing robotics software and ROS 2 – creating code that is easy to understand, test, maintain, and extend ● At the end of a services project, code is handed over to the clientWhy give this talk? ● Engineers at PickNik experiment0 码力 | 200 页 | 1.77 MB | 6 月前3
Designing C++ Code Generator Guardrails20 years, there has been an effort to shrink executables to a growing network of schema-driven services. For each subtraction, there was an addition of a client library with supporting serialization Built to encourage the shift out of the containers, the Generator can create both frameworks for services and complete client libraries from the same XSD schema files. It works so well that developers many outside of the service network.© 2018 Bloomberg Finance L.P. All rights reserved. 15 For services, impressive flexibility provides the framework for networking, threading, logging, and metrics0 码力 | 48 页 | 2.71 MB | 6 月前3
High-Performance Cross-Platform Architecture: C++20 Innovationsneed the module’s services to proceed with their own development, and once they have settled on a version of the module should not be affected by the introduction of new services they do not need.0 码力 | 75 页 | 581.83 KB | 6 月前3
Embracing an Adversarial Mindset for Cpp Security•Race Between Offense and Defense •Focus on Higher Value Targets •Sophisticated Attackers •Cloud services, Containerization, Microservices architectures •Interconnected Components •Feature Richness Privilege Highest Privilege Untrusted Low Medium High System Malware Accessible Sandbox Services/Admin Service/Kernel ControlApp Scenario: Reduce and Isolate User Input AppUI.exe Parsing0 码力 | 92 页 | 3.67 MB | 6 月前3
Using Modern C++ to Build XOffsetDatastructureServer-to-server communication: • This includes RPC (Remote Procedure Calls) between different services. • 3. Data migration: • Large amounts of game data need to be migrated among different scenes offers a simpler definition: • 'An allocator is an object that provides the following two basic services: • Allocate – return a specified amount correctly-aligned memory for use by the client. • Deallocate0 码力 | 111 页 | 3.03 MB | 6 月前3
From Eager Futures/Promises to Lazy Continuations: Evolving an Actor Library Based on Lessons Learned from Large-Scale Deploymentsto be shared and/or moved between execution resources (i.e., cores) but for distributed/network services, the data is often only shared with other machines and bouncing the data unnecessarily between sharing the slowdown impacts everyone) (check out http://seastar.io for more examples of distributed services using actors)challenges building systems (1) you have to wait (2) you have state ✅chapters (1)0 码力 | 264 页 | 588.96 KB | 6 月前3
Modern C++ Tutorial: C++11/14/17/20 On the Flythat can be processed at compile time into the compile time, and only deal with those core dynamic services at runtime, to greatly optimize the performance of the runtime. Therefore, templates are also regarded included in the standard library. C++ is a high-performance language. In the development of background services, the use of regular expressions is also used when judging URL resource links. The most mature and0 码力 | 92 页 | 1.79 MB | 1 年前3
A Picture is Worth a Thousand WordsTalk: CppCon2020 17 Sep 2020 Honey Sukesan Senior Software Developer Jaguar Land Rover Ireland Services LtdA big “Thank you” to Almighty and all caring people and communities who has helped me, inspired0 码力 | 18 页 | 1.77 MB | 6 月前3
From Your First Line of Code to Your Largest Repo: How Visual Studio Code Can Help You Develop More Efficiently in C++CMake Presets support for Workflow and Package Presets • Automated CMake Installation • Language Services for CMake aka.ms/cmaketools Create & upvote GitHub issues and feature requests Come chat with0 码力 | 31 页 | 2.76 MB | 6 月前3
共 100 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
相关搜索词
RetiringtheSingletonPatternLeveragingFunctionalApproachforMoreTestableandMaintainableROSCodeDesigningC++GeneratorGuardrailsHighPerformanceCrossPlatformArchitecture20InnovationsEmbracinganAdversarialMindsetCppSecurityUsingModerntoBuildXOffsetDatastructureFromEagerFuturesPromisesLazyContinuationsEvolvingActorLibraryBasedonLessonsLearnedfromLargeScaleDeploymentsTutorial111417OnFlyPictureisWorthThousandWordsYourFirstLineofLargestRepoHowVisualStudioCanHelpYouDevelopEfficientlyin













