c++

Tag

Cards List
#c++

Memory Safety Absolutists

Lobsters Hottest ↗ · 2026-07-25 Cached

The article critiques memory safety absolutism in programming language debates, arguing that new approaches like Fil-C have trade-offs and that dismissing Rust as unsafe ignores practical benefits.

0 favorites 0 likes
#c++

Fil-C: Garbage In, Memory Safety Out

Lobsters Hottest ↗ · 2026-07-23 Cached

Fil-C is a fully memory-safe implementation of C/C++. It bundles pointer values with boundary information using invisicaps at the LLVM IR stage, achieving high compatibility with a performance penalty of about 4x.

0 favorites 0 likes
#c++

Building a Fast Lock-Free Queue in Modern C++ from Scratch

Hacker News Top ↗ · 2026-07-22

A guide to implementing a fast lock-free queue in modern C++, covering techniques for concurrent data structures without locks.

0 favorites 0 likes
#c++

How Fast Can Reward Models Score? A Systems Study of C++ and PyTorch Inference Runtimes for RLHF

Hugging Face Daily Papers ↗ · 2026-07-22 Cached

This paper presents a systems study comparing C++ and PyTorch inference runtimes for reward model scoring in RLHF pipelines, finding that ONNXRuntime provides speedups on CPU while torch.compile leads on GPU, with batching strategy mattering more than language or runtime.

0 favorites 0 likes
#c++

Gecode 6.3.0 and 6.4.0 are released

Lobsters Hottest ↗ · 2026-07-16 Cached

Gecode 6.3.0 and 6.4.0 are released after a long pause, bringing a modernized build system (CMake) and updated MiniZinc integration.

0 favorites 0 likes
#c++

C++20 Improved the For-Loop Syntax

Hacker News Top ↗ · 2026-07-11 Cached

C++20 introduces a new syntax for range-based for loops that allows declaring an initializer in the loop scope, matching the convenience of languages like Python and Lua.

0 favorites 0 likes
#c++

Initial ET backend by marty1885 · Pull Request #24179 · ggml-org/llama.cpp

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

A pull request adds an initial ET backend to llama.cpp, expanding hardware support for LLM inference.

0 favorites 0 likes
#c++

@vivekgalatage: Better be late than never. I know C++26 is all around, but many of those features have baseline versions stemming from …

X AI KOLs Timeline ↗ · 2026-07-09 Cached

A detailed overview of all C++20 core language features with examples, serving as a cheat sheet.

0 favorites 0 likes
#c++

Trust your compiler: Modern C++

Hacker News Top ↗ · 2026-07-01 Cached

Article comparing old C++ performance tricks with modern compiler capabilities, showing that compilers can now optimize naive code better than hand-tuned hacks. Includes benchmarks on AMD Zen 5 with Clang 21.

0 favorites 0 likes
#c++

Show HN: A statically typed, cross-platform, easily bootstrappable build system

Hacker News Top ↗ · 2026-06-30 Cached

BUSY is a lean, statically typed, cross-platform build system for GCC, Clang, and MSVC toolchains, designed for easy bootstrapping and minimal dependencies.

0 favorites 0 likes
#c++

Core dump epidemiology: fixing an 18-year-old bug

OpenAI Blog ↗ · 2026-06-30 Cached

OpenAI engineers detail the diagnosis of seemingly impossible crashes in Rockset's C++ data infrastructure, revealing both a silent hardware corruption bug on Azure and an 18-year-old race condition in GNU libunwind, resolved through epidemiological analysis of crash data.

0 favorites 0 likes
#c++

A deep dive into SmallVector:push_back

Hacker News Top ↗ · 2026-06-29 Cached

This blog post explores an optimization for LLVM's SmallVector::push_back by tail-calling the grow-and-push path, which eliminates callee-saved register spills and improves the fast path performance.

0 favorites 0 likes
#c++

Success story with MiMo-V2.5-GGUF:UD-Q5_K_XL

Reddit r/LocalLLaMA ↗ · 2026-06-28

A user shares their success using the MiMo V2.5 quantized model (MiMo-V2.5-GGUF) with llama.cpp to generate and execute a C++ program that calculates compound interest, demonstrating effective model-assisted coding.

0 favorites 0 likes
#c++

Data Access Patterns That Makes Your CPU Really Angry

Lobsters Hottest ↗ · 2026-06-27 Cached

The article explores constructing the slowest possible data access pattern for summing integers in an array by exploiting CPU cache behavior, demonstrating that a carefully crafted pattern can be over 30% slower than randomized access.

0 favorites 0 likes
#c++

audio.cpp: 12 audio models (Qwen3-TTS, PocketTTS, VeVo2 etc) in 1 C++/ggml runtime — TTS up to 5x faster than Python on CUDA

Reddit r/LocalLLaMA ↗ · 2026-06-25

audio.cpp is a C++/ggml runtime that integrates 12 audio models including Qwen3-TTS, PocketTTS, and VeVo2, achieving TTS up to 5x faster than Python on CUDA.

0 favorites 0 likes
#c++

Efficient C++ Programming for Modern C++ CPUs, Chapter 4/part 2

Hacker News Top ↗ · 2026-06-20 Cached

This draft book chapter provides an infographic and detailed analysis of operation costs in CPU clock cycles for modern C++ CPUs, covering multiplication, division, and RTTI with latency tables for various architectures.

0 favorites 0 likes
#c++

Show HN: I wrote a C++ ray tracer from scratch without AI

Hacker News Top ↗ · 2026-06-15 Cached

A developer built Luz, a C++20 path tracer from scratch with zero dependencies, featuring Monte Carlo path tracing, global illumination, BVH acceleration, and a Blender-to-Luz exporter.

0 favorites 0 likes
#c++

The beauty and simplicity of the good old C-style void* in C++

Hacker News Top ↗ · 2026-06-06 Cached

The article discusses the pros and cons of using C-style void* pointers versus uint8_t* and std::span for passing memory blobs in C++, arguing for the simplicity and readability of void*.

0 favorites 0 likes
#c++

The C++ Standard Library Has Been Walking Itself Back for Fifteen Years, and the Receipts Are Public

Lobsters Hottest ↗ · 2026-06-04 Cached

A detailed catalogue of C++ standard library features that have been formally deprecated, informally discouraged, or are effectively broken but cannot be fixed due to ABI constraints, spanning from C++11 to C++26. The article argues a consistent pattern of the C++ committee shipping replacements for its own features, including a benchmark showing 58x P99 latency difference between Rust and C++ standard library containers.

0 favorites 0 likes
#c++

Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 3

The Old New Thing (Raymond Chen) ↗ · 2026-05-29 Cached

The article discusses a C++/WinRT pattern for caching the result of a Windows Runtime IAsyncOperation, including handling failures, so that multiple coroutines can share the cached result or exception.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback