c++

Tag

Cards List
#c++

EDG is open source

Lobsters Hottest ↗ · 20h ago Cached

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.

0 favorites 0 likes
#c++

C++ futures part 5: std::future and std::shared_future

The Old New Thing (Raymond Chen) ↗ · 5d ago Cached

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.

0 favorites 0 likes
#c++

What are you doing this weekend?

Lobsters Hottest ↗ · 5d ago Cached

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.

0 favorites 0 likes
#c++

coopiano: A physically modelled piano synthesizer in C++17

Lobsters Hottest ↗ · 5d ago Cached

coopiano 是一个用 C++17 编写的物理建模钢琴合成器开源项目,通过琴槌、琴弦、音板与共鸣模型合成声音,支持 MIDI 文件渲染与 macOS 实时 MIDI 输入,无需任何采样或第三方库。

0 favorites 0 likes
#c++

Where did WIN32_LEAN_AND_MEAN come from? (2009)

Lobsters Hottest ↗ · 5d ago Cached

Raymond Chen 解释了 WIN32_LEAN_AND_MEAN 宏的起源:它在 Windows 95 时期被引入,用于在包含 windows.h 时排除大量头文件,以恢复 16 位 Windows 时代的最小化头文件理念并加速编译。如今由于摩尔定律和预编译头文件的普及,该宏已基本失去实际作用。

0 favorites 0 likes
#c++

C++ futures part 4: What if I want an immediate on-thread std::async?

The Old New Thing (Raymond Chen) ↗ · 6d ago Cached

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.

0 favorites 0 likes
#c++

C++26 Contracts: Introduction to Preconditions and Postconditions

Hacker News Top ↗ · 6d ago Cached

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.

0 favorites 0 likes
#c++

C++ futures part 3: The mental model for std::async

The Old New Thing (Raymond Chen) ↗ · 2026-10-14 Cached

Raymond Chen 解释 C++ std::async 的心智模型,说明 launch 策略的两个维度(立即/延迟、同线程/新线程)中哪些组合是标准允许的,哪些被禁止或由实现决定。

0 favorites 0 likes
#c++

C++ futures part 2: The mental model for std::promise, std::packaged_task

The Old New Thing (Raymond Chen) ↗ · 2026-10-13 Cached

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.

0 favorites 0 likes
#c++

C++ futures part 1: The mental model

The Old New Thing (Raymond Chen) ↗ · 2026-10-12 Cached

Raymond Chen 的《The Old New Thing》博客深入解析 C++ 标准库中 std::future 背后的内部实现机制,展示了 promise、packaged_task 和 async 共同依赖的底层 source 状态类的心智模型与代码构建过程。

0 favorites 0 likes
#c++

@GitHub_Daily: Many people's first reaction when wanting cameras in hallways to automatically detect trash is to find a model that can…

X AI KOLs Timeline ↗ · 2026-10-12 Cached

开源项目 CosmoEdge 发布 v1.1.0,提供 C++ 边缘 AI 引擎,可通过可视化控制台将摄像头视频流、AI 识别、规则判断与通知连成工作流,支持零重训练的提示词识别与视觉大模型判断,一键 Docker 部署至 Sophon、Rockchip 和 x86 平台。

0 favorites 0 likes
#c++

GitHub - giveen/Decapybara: Open-source C++20 and CUDA reconstruction of the MegaCapybara inference server

Reddit r/LocalLLaMA ↗ · 2026-10-11 Cached

Decapybara 是 MegaCapybara LLM 推理服务器的开源 C++20 与 CUDA 重构实现,面向 NVIDIA RTX 5090 Blackwell 硬件,支持 OpenAI 与 Anthropic 兼容 API、分层 KV 缓存及一整套 Blackwell CUDA 内核。

0 favorites 0 likes
#c++

C++ Insights – See your source code with the eyes of a Compiler

Hacker News Top ↗ · 2026-10-01 Cached

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.

0 favorites 0 likes
#c++

EDG C/C++ Compiler Project

Lobsters Hottest ↗ · 2026-09-30 Cached

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.

0 favorites 0 likes
#c++

EDG C++ front-end goes public

Hacker News Top ↗ · 2026-09-30 Cached

EDG宣布其拥有三十年历史的C++前端将于2026年9月30日开源,The C++ Alliance将成为其非营利托管方,提供社区贡献、维护和集体资助三个开发轨道,由John Spicer担任财政赞助委员会主席。

0 favorites 0 likes
#c++

D2300R11: `std::execution`

Lobsters Hottest ↗ · 2026-09-21 Cached

This paper proposes a standard C++ framework for managing asynchronous execution, introducing schedulers, senders, and receivers to enhance asynchrony and parallelism in C++ programming.

0 favorites 0 likes
#c++

Most Normal C++ Project: Coding a B2 Stealth Bomber in GTA 3

Lobsters Hottest ↗ · 2026-09-19 Cached

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.

0 favorites 0 likes
#c++

Comparing exception behavior of magic statics, std::call_once, and std::async

The Old New Thing (Raymond Chen) ↗ · 2026-09-18 Cached

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.

0 favorites 0 likes
#c++

Flyweight: open-source C++/CUDA engine for running MoE models bigger than your VRAM on one GPU + system RAM. First PyPI release, looking for contributors.

Reddit r/LocalLLaMA ↗ · 2026-09-18

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.

0 favorites 0 likes
#c++

std::call_once vs. std::async

The Old New Thing (Raymond Chen) ↗ · 2026-09-17 Cached

The article compares std::call_once and std::async for deferred execution in C++, discussing their differences in implementation, performance, and exception behavior.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback