No Silver Bullet – Essence and Accident in Software Engineeringneed… • a Container Management Platform, but to network it I need… • a Service Mesh, but to secure it I need… • an automated Certificate Authority, and for more security I need… • a Container scanning and access on a bunch of servers, but I need more servers so I need… • an Infrastructure as a Service platform, but for high availability I need… • another rack of servers, but to pay for it I need…Always ask0 码力 | 35 页 | 1.43 MB | 5 月前3
whats new in visual studiomacOS, and Linux C++ IntelliSense, debug & code browsing CMake, vcpkg and git integrations SSH/container/WSL remote experiences and much much more… https://aka.ms/cpp/code Thu 10/28 – 2pm An Editor Can Conformance 2. Code Safety 3. Cross-platform development 4. Developer and Team Productivity Visual Studio Agenda 1. Conformance 2. Code Safety 3. Cross-platform development 4. Developer and Team Productivity /std:c++latest Visual Studio Visual Studio Agenda 1. Conformance 2. Code Safety 3. Cross-platform development 4. Developer and Team Productivity Static Analysis ✴ New and improved checkers in0 码力 | 42 页 | 19.02 MB | 6 月前3
C++20 STL Features: 1 Year of Development on GitHubextension)) { continue; } // ... } }15 Erasing Elements16 Container Erasure Strategies • Erasing unwanted elements before C++20: • vector-like: erase-remove idiom 🐞 • Invalidating iterators while looping 🐞 • Skipping elements while looping 🐞17 Uniform Container Erasure • GH-236 and GH-566 implemented by SuperWig #include#include #include Layout compatibility; works with T within C structs • Near-identical interface • Encapsulates platform/architecture-specific code • atomic/atomic_ref support wait/notify_one/notify_all20 Highly Artificial 0 码力 | 45 页 | 702.09 KB | 6 月前3
基于Rust-vmm实现Kubernetes运行时Cloud Native and Open Source Liangyu Zhou Senior Software Engineer at Tencent Rich experience in Container and Kubernetes field, promote lots of K8S production practice in Tencent Motivation https:// isolation, but we will focus on pod-to-pod isolation in this talk, AKA Sandbox Isolation. • Container Escape docker.vh.neargle.com:8888/?command_exec=python3 -c "import docker;client = docker.Doc /proc/self/fd/ 4. Linux Kernel Patch Are those enough? NO https://landscape.cncf.io/category=container-runtime&format=card-mode&grouping=category Runtime Landscape cri- containerd runsc+gVisor kubelet0 码力 | 27 页 | 34.17 MB | 1 年前3
C++23: An Overview of Almost All New and Updated FeaturesSupport44 Defined in New adaptors on top of basic sequence containers Associative container interface (similar to std::map) unique keys (flat_map) fast retrieval of values based on a // "", "c", "d", "e", ""70 Changes to Ranges Library ranges::to(): Converts a range to a container E.g.: auto ints = std::views::iota(1, 5) | std::views::transform([](const auto& nts) }; std::print("{}", vec); // [2, 4, 6, 8]71 Changes to Ranges Library Converts container to container E.g.: // Convert vector to set with same element type. std::vector vec{ 33, 11, 22 }; 0 码力 | 105 页 | 759.96 KB | 6 月前3
hazard pointer synchronous reclamationPointer Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael templateclass Container { struct Obj : hazard_pointer_obj { Key k; /* etc */ }; hazard_pointer_domain dom_; // completion of destruction of Container. • Problem: High setup overhead of constructing/destroying per custom domain hazard pointers. • Even worse if many instances of Container are used by thousands of Pointer Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael template class Container { struct Obj : hazard_pointer_cohort_obj { Key k; /* etc */ }; hazard_pointer_cohort cohort_; 0 码力 | 31 页 | 856.38 KB | 6 月前3
陈东 - 利用Rust重塑移动应用开发-230618Flutter, is an open source framework by Google for building beautiful, natively compiled, multi- platform applications from a single codebase. - Single codebase - Hot reload - Rendering Engine 利用 Rust Rust 在移动端应 用的价值 Rust is the only advanced choice for cross platform development. 利用 Rust 重塑移动应用开发 Rust 的特点 Why Rust? - Cross platform - Performance - Thread Safe - Memory Safe - Love 利用 Rust Rust 重塑移动应用开发 Rust 在移动应用 开发中的应用 Why Rust? - Cross platform - Performance - Memory Safe - Love 利用 Rust 重塑移动应用开发 PhoTto / image / chart Keystone Keystone is aiming to develop the most secure and0 码力 | 22 页 | 2.10 MB | 1 年前3
NativeScript 101Hybrid Native “1st Gen” X-Plat Native Binary Choice Nativ e Hybri d ? Best experience ? One platform at a time ? Fast to market ? Compromise on UX https://info.dynatrace.com/rs/compuware/images/ APIs provide unified, cross-platform API o Dozens available out of the box o Easy for developers to add o All native APIs still available at JavaScript layer for platform-specific scenarios o NativeScript LiveSync $ tns run //For all connected devices/emulators $ tns run android //Target specific platform $ tns run ios --emulator o Refresh app with latest changes to JS, CSS, XML o No re-build o0 码力 | 90 页 | 40.11 MB | 1 年前3
唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023single-core CPU machine • Is serverless really the next stage of Internet? Or just a gimmick by cloud platform ➔ Wants to extend the financial computation/storage model to general cases • Limites of On-chain on any dimension. ➔ Multiple dimensions Dataset Models ➔ What is open data? Build an internet platform, but open its data to everyone. ➔ Why we need open data? The business of the closed data model traditional Internet app ➔ But everyone have the chance to download/sync all open data from this platform ➔ On the server side, it is a network, consisting of some/many nodes ➔ Every node has a blockchain0 码力 | 30 页 | 2.53 MB | 1 年前3
Making Libraries Consumable for Non-C++ DevelopersEnabling two or more disparate entities to work together.Why interoperability? No language or platform is good for everything. Fast inner loop Makes UX easy Has tooling for workload High performance Simplified Wrapper and Interface Generator (SWIG) – 1996 JVM – Java Native Interface (JNI) – 1997 .NET – Platform Invoke (P/Invoke), COM interop, C++/CLI – 2002, 2005 JVM – Java Native Access (JNA) – 2007 Go – scenarios with a Garbage Collector (GC). 1. Handles – Level of indirection. • Usually requires a “platform” API to use the memory. • .NET has GCHandle. • JVM, through JNI, exposes most memory as a handle0 码力 | 29 页 | 1.21 MB | 6 月前3
共 23 条
- 1
- 2
- 3
相关搜索词
NoSilverBulletEssenceandAccidentinSoftwareEngineeringwhatsnewvisualstudioC++20STLFeaturesYearofDevelopmentonGitHub基于Rustvmm实现Kubernetes运行23AnOverviewAlmostAllNewUpdatedhazardpointersynchronousreclamation陈东利用重塑移动应用开发230618NativeScript101pptx唐刚UsetoDeveloptheDecentralizedOpenDataApplicationRustChinaConf2023MakingLibrariesConsumableforNonDevelopers













