Balancing Efficiency and Flexibility: Cost of Abstractions in Embedded Systems
function calls (de-virtualization) CPin pin { GPIO_PIN_6 }; CLed led { &pin }; while (true) { led.toggle(); delay(1000); } 41Dynamic Polymorphism without de-virtualization 42: push 08000198 <_ZN4CPin5resetEv>: ... 080001b0 <_ZN4CPin3setEv>: ...Dynamic Polymorphism without de-virtualization Load the vtable address in r3. 43 : push {r0, r1, r2, lr} ldr r3, [pc, #28] 0x08000258 : 0x080001b1 0x0800025c : 0x08000199 CPin vtableDynamic Polymorphism without de-virtualization Load the address of the set method from the vtable into r3. 44 : push {r0, r1, 0 码力 | 75 页 | 2.12 MB | 5 月前3Embracing an Adversarial Mindset for Cpp Security
soon Shadow Stack Control-flow Enforcement Technology (CET)) CIG Code Integrity Guard Virtualization-based security (VBS) enclaves Redirection GuardCurrent Defensive Strategies Control flow high-jacking Out-of-Process ● Sandboxing ● AppContainers – Consider Low IL ● Secure Enclaves (Trusted Execution) ○ Virtualization-based Security (VBS) ○ Intel Software Guard Extensions (Intel SGX)Fuzzing ● LibFuzzer + Address0 码力 | 92 页 | 3.67 MB | 5 月前3Implementing Reflection Using the New C++20 Tooling Opportunity: Modules
compiler’s source code parser entirely! 6 0 Future stuff to be excited about!Alternative Field de-virtualization • every impl ptr to member being equally sized • But MSVC... • PtrToMember = 4 bytes for POD0 码力 | 53 页 | 1.43 MB | 5 月前3Service Mesh结合容器云平台的思考和实践
Scheduling Process Isolation Environment Management Resource Management Operating System Virtualization Hardware,Storage,Networking Spring Cloud Kubernetes + Spring Cloud 看起来很美背后 • 功能上的重叠 • 服务降级0 码力 | 28 页 | 3.09 MB | 5 月前3Shared Libraries
type_info objects • Template Instantiations 68Indirect Call Overhead • Recent (2020) work on de-virtualization in clang: • “Modeling the Invariance of Virtual Pointers in LLVM” Piotr Padlewski, Krzysztof0 码力 | 69 页 | 1.40 MB | 5 月前3Vectorizing a CFD Code With std::simd Supplemented by Transparent Loading and Storing
German Aerospace Center (DLR) Institute of Software Methods for Product Virtualization VECTORIZING A CFD CODE WITH STD::SIMD SUPPLEMENTED BY (ALMOST) TRANSPARENT LOADING AND STORINGMotivation: The0 码力 | 58 页 | 2.68 MB | 5 月前3Just-in-Time Compilation - J F Bastien - CppCon 2020
when using special hardware to help virtualize the guest operating system. In particular, the virtualization extensions are quite powerful, and so are paravirtualization techniques.Valgrind A Framework0 码力 | 111 页 | 3.98 MB | 5 月前3宋净超 从开源 Istio 到企业级服务:如何在企业中落地服务网格
Before using service mesh: 100+ Kubernetes cluster ● VM integration ● On-prem, AWS, Azure, GCP, OpenShift ● 10000+ core business apps ● Plan to move to public cloud in 18 months ● Using F5 to distribute0 码力 | 30 页 | 4.79 MB | 6 月前3julia 1.10.10
Note that the base level (generic) requires the cx16 instruction, which is disabled in some virtualization software and must be enabled for the generic target to be loaded. Alternatively, a sysimg could Illegal Instruction error Check if your CPU supports AVX while your OS does not (e.g. through virtualization, as described in this issue). 103.3 macOS You need to have the current Xcode command line0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
Note that the base level (generic) requires the cx16 instruction, which is disabled in some virtualization software and must be enabled for the generic target to be loaded. Alternatively, a sysimg could Illegal Instruction error Check if your CPU supports AVX while your OS does not (e.g. through virtualization, as described in this issue). 103.3 macOS You need to have the current Xcode command line0 码力 | 1692 页 | 6.34 MB | 3 月前3
共 18 条
- 1
- 2
相关搜索词
BalancingEfficiencyandFlexibilityCostofAbstractionsinEmbeddedSystemsEmbracinganAdversarialMindsetforCppSecurityImplementingReflectionUsingtheNewC++20ToolingOpportunityModulesServiceMesh结合容器平台思考实践SharedLibrariesVectorizingCFDCodeWithstdsimdSupplementedbyTransparentLoadingStoringJustTimeCompilationBastienCppCon2020宋净超开源Istio企业企业级服务如何落地网格julia1.1010Julia