whats new in visual studioavailable directly from Visual Studio 2022 Step #3: Compile your code with the latest compiler 💡 Binary compatibility between the VS2022 and previous C++ runtimes (VS 2019, VS 2017, VS 2015) Step #4: in the command line and manifest). 🔢 Manifest Express your dependencies declaratively. 📦 Binary Caching Share the compiled libraries you consume locally with your development team and continuous0 码力 | 42 页 | 19.02 MB | 6 月前3
基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺PI System 以及文 件直接导入 数据源导入时,可定义规则引擎 TDengine: 与上下游应用的关系 TDengine = Time-Series Database + Caching + Data Subscription + Stream Processing Shell: Command Line Interface High Performance, Cloud0 码力 | 29 页 | 2.26 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南hellocmake.sln 作为“ IDE 眼中的项目”。 CMAKE_CURRENT_SOURCE_DIR 表示当前源码目录的位置,例如 ~/hellocmake 。 CMAKE_CURRENT_BINARY_DIR 表示当前输出目录的位置,例如 ~/hellocmake/build 。 project :初始化项目信息,并把当前 CMakeLists.txt 所在位置作为根 目录 和子模块的关系: PROJECT_SOURCE_DIR :当前项目源码路径(存放 main.cpp 的地方) • PROJECT_BINARY_DIR :当前项目输出路径(存放 main.exe 的地方) • CMAKE_SOURCE_DIR :根项目源码路径(存放 main.cpp 的地方) • CMAKE_BINARY_DIR :根项目输出路径(存放 main.exe 的地方) • PROJECT_IS_TOP_LEVEL 命令,将当前目录作为一个独立的子项目 这样一来 PROJECT_SOURCE_DIR 就会是子模块的源码目录而不是外层了。 这时候 CMake 会认为这个子模块是个独立的项目,会额外做一些初始化。 他的构建目录 PROJECT_BINARY_DIR 也会变成 build/< 源码相对路径 > 。 这样在 MSVC 上也会看见 build/mylib/mylib.vcxproj 的生成。 project 的初始化: LANGUAGES0 码力 | 166 页 | 6.54 MB | 1 年前3
C++20 STL Features: 1 Year of Development on GitHubuses lookup tables • Arrays are maximally space-efficient, very time-efficient • Sorted arrays: binary_search, lower_bound, equal_range • Now you can use constexpr algorithms • Easy: static_assert with {"."}) { const string extension = ent.path().extension().string(); if (ranges::binary_search(skipped_extensions, extension)) { continue; } // ... } from Developer Community, Azure Boards, todos • GH-713 boyer_moore_searcher • vNext issues affect binary compatibility • Will start vNext after finishing C++2031 cxx20 Issues32 Pull Requests • GH-7240 码力 | 45 页 | 702.09 KB | 6 月前3
Making Libraries Consumable for Non-C++ DevelopersWhat is interoperability? Don’t touch it! Glue code? Boiler plate? A nightmare? Application binary interface (ABI) Calling conventions Marshalling Was I supposed to free that? Was I not supposed made? void get_size(size_t dev, long* size); Non-C/C++ language. Caller of get_size(). C/C++ binary. Provides get_size(). gcc and clang, sizeof(long) == sizeof(size_t) MSVC, sizeof(long) == 4 Cygwin data_t get_data_from(size_t dev); How does this function fail? C++ exceptions have no universal binary contract. Meaning the consumer may not be prepared for a C++ exception – of any sort. The typical0 码力 | 29 页 | 1.21 MB | 6 月前3
NativeScript 101Device APIs Best of both? Compromises. Mobile Web - PWA Hybrid Native “1st Gen” X-Plat Native Binary Choice Nativ e Hybri d ? Best experience ? One platform at a time ? Fast to market ? Compromise com/rs/compuware/images/ Mobile_App_Survey_Report.pdf Nativ e Hybri d ? Fast to market ? Best experience Binary Choice Native JavaScript ? Fast to market ? Best experience Native App "JavaScript-Driven Native"0 码力 | 90 页 | 40.11 MB | 1 年前3
C++20: An (Almost) Complete Overviewlatches, barriers, … Two types: counting semaphore: models a non-negative resource count binary semaphore: only has 1 slot, i.e. only has two states: free slot or no free slot (perfect for a and library features Language feature test macros __has_cpp_attribute(fallthrough) __cpp_binary_literals __cpp_char8_t __cpp_coroutines … Standard Library feature test macros __cpp_lib_concepts0 码力 | 85 页 | 512.18 KB | 6 月前3
Borsh 安全高效的二进制序列化第三届中国 Rust 开发者大会 安全高效的二进制序列化 Daniel Wang @ NEAR Borsh • 运行、编码效率 • 确定性 • 跨平台兼容性 二进制序列化的问题 Binary Object Representation Serializer for Hashing • 字节级别确定性 • 执行速度快 Borsh • 轻量级 • 每一个对象与其二进制表示之间都存在一个双射映射0 码力 | 21 页 | 3.35 MB | 1 年前3
Analyzing MySQL Logs with ClickHouseclicktail start • To run as a service © 2018 Percona. 15 MySQL Logs Primer General Query Log Binary Log Slow Query Log Audit Log © 2018 Percona. 16 MySQL Audit Logs to ClickHouse © 2018 Percona0 码力 | 43 页 | 2.70 MB | 1 年前3
应用 waPC (rust) 做软件测试工具targets=\/v2\/m atches\/.*\/info" \ --header "Content-Type:application/octet- stream" \ --data-binary "@target/wasm32- unknown-unknown/release/examples/ $3.wasm" Mock rule based on path matching regex0 码力 | 30 页 | 2.50 MB | 1 年前3
共 10 条
- 1













