Tag
EDG's C++ front end went open source on September 30, 2026, with The C++ Alliance becoming its nonprofit home to provide fiscal sponsorship, technical continuity, and community-driven contributions under a three-track development model.
Raymond Chen wraps up his C++ futures library series by explaining std::future and std::shared_future, how they manipulate the underlying 'source', and offers his alternative naming suggestions for the futures library components.
A developer shares progress on porting marginalia search's inverted index from Java to C++, noting improved expressiveness, possible halving of line count, and the usefulness of std::span for contiguous memory handling.
coopiano 是一个用 C++17 编写的物理建模钢琴合成器开源项目,通过琴槌、琴弦、音板与共鸣模型合成声音,支持 MIDI 文件渲染与 macOS 实时 MIDI 输入,无需任何采样或第三方库。
Raymond Chen 解释了 WIN32_LEAN_AND_MEAN 宏的起源:它在 Windows 95 时期被引入,用于在包含 windows.h 时排除大量头文件,以恢复 16 位 Windows 时代的最小化头文件理念并加速编译。如今由于摩尔定律和预编译头文件的普及,该宏已基本失去实际作用。
Raymond Chen explores workarounds for creating an immediate on-thread std::future in C++, using std::promise, std::packaged_task, or a deferred std::async that is waited on immediately.
An introductory tutorial on the C++26 contracts feature (P2900), showing how preconditions and postconditions replace traditional assert-based checks, along with compiler options, evaluation semantics, and common pitfalls.
Raymond Chen 解释 C++ std::async 的心智模型,说明 launch 策略的两个维度(立即/延迟、同线程/新线程)中哪些组合是标准允许的,哪些被禁止或由实现决定。
A follow-up blog post in Raymond Chen's C++ futures series explaining the mental model behind std::promise and std::packaged_task, showing how a shared 'source' state is managed via shared_ptr and how packaged_task wraps a promise to store call results for retrieval by a future.
Raymond Chen 的《The Old New Thing》博客深入解析 C++ 标准库中 std::future 背后的内部实现机制,展示了 promise、packaged_task 和 async 共同依赖的底层 source 状态类的心智模型与代码构建过程。
开源项目 CosmoEdge 发布 v1.1.0,提供 C++ 边缘 AI 引擎,可通过可视化控制台将摄像头视频流、AI 识别、规则判断与通知连成工作流,支持零重训练的提示词识别与视觉大模型判断,一键 Docker 部署至 Sophon、Rockchip 和 x86 平台。
Decapybara 是 MegaCapybara LLM 推理服务器的开源 C++20 与 CUDA 重构实现,面向 NVIDIA RTX 5090 Blackwell 硬件,支持 OpenAI 与 Anthropic 兼容 API、分层 KV 缓存及一整套 Blackwell CUDA 内核。
C++ Insights is an open-source Clang-based tool that performs C++ source-to-source transformation, revealing compiler-provided magic such as special member functions, lambdas, range-based for-loops, and structured bindings. It helps developers and educators see code through the compiler's eyes, with a hosted online version available.
EDG has open-sourced its well-known C/C++ compiler front end, including parsing compatibility with Clang, GCC, and MSVC, a C/C++-generating back end, a prelinker, and extensive documentation for developers and AI agents.
EDG宣布其拥有三十年历史的C++前端将于2026年9月30日开源,The C++ Alliance将成为其非营利托管方,提供社区贡献、维护和集体资助三个开发轨道,由John Spicer担任财政赞助委员会主席。
This paper proposes a standard C++ framework for managing asynchronous execution, introducing schedulers, senders, and receivers to enhance asynchrony and parallelism in C++ programming.
A developer explains building the open-source RE3 project for Mac, fixing mouse input bugs, and planning to add a B2 Stealth Bomber to GTA 3, focusing on software engineering methodology.
This article compares exception handling behaviors in C++ concurrency mechanisms: magic statics, std::call_once, and std::async, explaining their differences and providing usage recommendations.
Flyweight is an open-source C++/CUDA inference engine for running large MoE models on consumer GPUs with system RAM, offering optimized performance and compatibility with models like Qwen and DeepSeek.
The article compares std::call_once and std::async for deferred execution in C++, discussing their differences in implementation, performance, and exception behavior.