NativeScript UIDetroit has the largest municipal bankruptcy in US history. The city is an estimated $20 billion in debt. Michigan Fact #4 • 74% of the US’s tart cherries come from Michigan. Michigan Fact #5 • Mackinac0 码力 | 22 页 | 1.91 MB | 1 年前3
C++23: An Overview of Almost All New and Updated Featuresstd::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection SupportC++23 Core Language6 Agenda C++23 Core Language Explicit Object Parameters if std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support7 Explicit Object Parameters Instead of implicit this, explicitly specify the object std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support13 if consteval Syntax: if consteval { /* A */ } else { /* B */ } No condition0 码力 | 105 页 | 759.96 KB | 6 月前3
Making Libraries Consumable for Non-C++ DevelopersCallingConv.h • Don’t throw exceptions across the boundary.Memory model https://gchandbook.org/ Garbage collection is really “automatic memory management”. - Reference counted - C++ – std::shared_ptr- Python Sys_Query( ); Handle.Free( ); // Collection occurs. // Copy, compacting, etc. // obj now at 0x6800. // 0x9200 -> 0x6800 Sys_Query(hnd); hnd // Collection occurs. // obj now at 0x7200. // 0x9200 0x9200 –> 0x???? Sys_Query(hnd); // Collection occurs. // obj now “free”. // 0x9200 -> 0x7200 Sys_Done(hnd); hnd This is only one possible sequence.Memory model – Non-Reference Counted Common ways 0 码力 | 29 页 | 1.21 MB | 6 月前3
基于Rust-vmm实现Kubernetes运行时• Compiled to native code offering performance similar to C • Memory management without garbage collection • Designed for systems programming Rust is a multi-paradigm programming language focused on performance generated using bindgen. • vm-memory: abstractions over a virtual machine's memory. • vmm-sys-util: collection of modules providing helpers and utilities for building VMMs and hypervisors. Release Crates0 码力 | 27 页 | 34.17 MB | 1 年前3
Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!atomicare implemented (the split reference count technique) • Deferred reclamation, i.e., garbage collection in C++ Some assumed knowledge • You’ve heard of lock-free programming and know what a compare_exchange atomic are implemented (the split reference count technique) • Deferred reclamation, i.e., garbage collection in C++ Some assumed knowledge • You’ve heard of lock-free programming and know what a compare_exchange 0 码力 | 45 页 | 5.12 MB | 6 月前3
C++20: An (Almost) Complete OverviewC = Incrementable&& Decrementable ; void Foo(C auto t); The Standard defines a whole collection of standard concepts: same, derived_from, convertible_to, integral, constructible, … 0 码力 | 85 页 | 512.18 KB | 6 月前3
共 6 条
- 1













