c++

Tag

Cards List
#c++

XeBoostLM: Native C++ Local LLMs for Intel NPUs & iGPUs

Reddit r/LocalLLaMA ↗ · 2026-09-16

XeBoostLM is a native C++ CLI tool for running local LLMs on Intel NPUs, iGPUs, and CPUs, offering optimized performance with zero Python overhead.

0 favorites 0 likes
#c++

Magic statics vs. std::call_once

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

The article compares two C++ techniques, magic statics and std::call_once, for caching computations, explaining when to use each based on factors like scope and initialization.

0 favorites 0 likes
#c++

Push-based vs Pull-based Customization

Lobsters Hottest ↗ · 2026-09-15 Cached

The article explores different approaches to implementing customization in C++, comparing pull-based and push-based methods for annotations, and proposes a push-based solution using reflection to address limitations in current C++ standards.

0 favorites 0 likes
#c++

High-performance garbage collection for C++

Hacker News Top ↗ · 2026-09-14 Cached

This blog post from V8 introduces Oilpan, a high-performance garbage collector for C++ used in Chromium, detailing its principles, features, and upcoming move to a library for broader developer access.

0 favorites 0 likes
#c++

Being lazy in C++

Lobsters Hottest ↗ · 2026-09-13 Cached

This article explains lazy initialization in C++ to optimize performance by deferring computations until necessary, using a helper struct to exploit conversion operators in std::optional.

0 favorites 0 likes
#c++

Optimizing a Spin-Lock

Lobsters Hottest ↗ · 2026-09-10 Cached

The blog post details optimizing a spin-lock in C++ to achieve a 5.7x speedup and 5.4x energy reduction through step-by-step improvements and benchmarks.

0 favorites 0 likes
#c++

Move in C++ without a std:move

Hacker News Top ↗ · 2026-09-01 Cached

The article explains how C++23 allows implicit moves in certain cases, reducing the need for std::move and improving performance via return value optimization and copy elision.

0 favorites 0 likes
#c++

On forcing all derived classes to implement a specific non-virtual method, part 2

The Old New Thing (Raymond Chen) ↗ · 2026-08-28 Cached

The article explains how to use deleted functions in C++ to enforce derived class implementations of specific methods, improving compile-time error messages and developer guidance.

0 favorites 0 likes
#c++

Qwen 3.8 27B for actual local programming

Reddit r/LocalLLaMA ↗ · 2026-08-23

This article questions whether the Qwen 3.8 27B local AI model can handle real-world systems programming tasks, such as building GTK4 or Qt 6 applications in Rust or C++ with external libraries.

0 favorites 0 likes
#c++

Sharp template to NInfer: -42% output tokens, same speed

Reddit r/LocalLLaMA ↗ · 2026-08-22

Sharp v22.1 template reduces Qwen model output tokens by 42% without speed loss, integrated into an NInfer fork for 5090 via C++ modifications.

0 favorites 0 likes
#c++

Reducing C++ template bloat by factoring out the type-dependent portions of the function, practical exam

The Old New Thing (Raymond Chen) ↗ · 2026-08-21 Cached

The article explains how to reduce C++ template bloat by factoring out type-dependent portions of functions, using a practical example with Windows DispatcherQueueHandler to de-templatize code.

0 favorites 0 likes
#c++

Reducing C++ template bloat by factoring out the type-dependent portions of the function

The Old New Thing (Raymond Chen) ↗ · 2026-08-20 Cached

This article explains techniques to reduce C++ template bloat by factoring out type-dependent code into helper objects or using span-based approaches, enhancing code efficiency and maintainability.

0 favorites 0 likes
#c++

On wrapping a callable in a lambda that just calls it with the same parameters

The Old New Thing (Raymond Chen) ↗ · 2026-08-19 Cached

The article explains that wrapping a callable in a lambda is unnecessary when the inner lambda can be used directly, highlighting that C++ lambdas are syntactic sugar for classes with function call operators.

0 favorites 0 likes
#c++

The Two Factions of C++

Hacker News Top ↗ · 2026-08-16 Cached

The article discusses the internal conflicts within the C++ community regarding ABI breaks and memory safety, alongside government warnings and big tech companies shifting towards Rust.

0 favorites 0 likes
#c++

Understanding std::counting_semaphore and std::binary_semaphore from C++20

Lobsters Hottest ↗ · 2026-08-08 Cached

This article explains C++20's std::counting_semaphore and std::binary_semaphore, covering their API, usage for limiting concurrency and signaling between threads, and important details.

0 favorites 0 likes
#c++

When Compilers Disagree About UTF‑8

Hacker News Top ↗ · 2026-08-05 Cached

A deep dive into optimizing UTF-8 decoding in the utfcpp library, revealing that Clang and GCC generate different assembly for ASCII fast paths, leading to significant performance differences.

0 favorites 0 likes
#c++

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 9

The Old New Thing (Raymond Chen) ↗ · 2026-07-30 Cached

Raymond Chen continues his series on building an agile Windows Runtime delegate in C++/WinRT, comparing how C++/WinRT, C++/CX, and WRL handle non-marshalable delegates and agile reference creation.

0 favorites 0 likes
#c++

C++ float-to-int conversion can be undefined behavior

Lobsters Hottest ↗ · 2026-07-30 Cached

A blog post highlights that C++ float-to-int conversion is undefined behavior when the value doesn't fit, and points out that Microsoft's GSL library's safe narrowing function 'gsl::narrow' also suffers from this UB, contrary to its documentation.

0 favorites 0 likes
#c++

Kimi K3 text-only for llama.cpp

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

Kimi K3 text-only model is now supported in llama.cpp, enabling local inference of this open-source LLM using the C++ inference engine.

0 favorites 0 likes
#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
← Previous
Next →
← Back to home

Submit Feedback