r_cpp | Unsorted

Telegram-канал r_cpp - C++ - Reddit

-

Stay up-to-date with everything C++! Content directly fetched from the subreddit just for you. Join our group for discussions : @programminginc Powered by : @r_channels

Subscribe to a channel

C++ - Reddit

Why Great C++ Libraries Fail (And How to Fix That) - Mateusz Pusz - CppCon 2026
https://www.youtube.com/watch?v=q-usHgbMA5M

https://redd.it/1x0d2kb
@r_cpp

Читать полностью…

C++ - Reddit

(Imperfect) Emulation of Rust's borrow checker in C++23 with Clang Extensions

https://compiler-explorer.com/z/4nennEooe

Clang has had a somewhat abandoned extension 'Consumed Annotation Checking' for some time now. Surprisingly I've not seen many people talk about it, despite the potential it has.

It is a little buggy and has some limitations, but I believe a more fleshed out implementation could be very useful in catching lifetime bugs.

I've linked a toy example of how powerful this feature is. Don't expect me to defend any of the practices in it (namely the operator& overloads).

https://redd.it/1x09wv5
@r_cpp

Читать полностью…

C++ - Reddit

flat_map internals
https://quantdev.blog/posts/flat-map-internals/index.html

https://redd.it/1w9ifq7
@r_cpp

Читать полностью…

C++ - Reddit

Jean Frantz René: C++ Memory safety for safety-critical and non-safety critical applications.
https://youtu.be/lnuW6rznHWY

https://redd.it/1wzzutc
@r_cpp

Читать полностью…

C++ - Reddit

Qt moc now can handle basic C++ modules (Qt 6.12)
https://codereview.qt-project.org/c/qt/qtbase/+/757821

https://redd.it/1w9n9ai
@r_cpp

Читать полностью…

C++ - Reddit

Optimizing the Compressed Log Pipeline: https://github.com/Tencent/BqLog/blob/main/docs/Article%203_Why%20is%20BqLog%20so%20fast%20-%20Optimizing%20the%20Compressed%20Log%20Pipeline.MD

Repo: https://github.com/Tencent/BqLog

If you think any library is configured unfairly, let us know and we'll fix it and rerun. Feedback and bug reports are very welcome.


https://redd.it/1wzpsez
@r_cpp

Читать полностью…

C++ - Reddit

BqLog 2.6.0: a C++ logging library running on 30M+ devices daily, benchmarked against quill, fmtlog, spdlog and glog (time, CPU and memory)

BqLog is a cross-platform logging library open-sourced by Tencent two years ago. Since then it has gone through two more years of production use and improved a lot in performance, reliability, compatibility and developer experience. With 2.6.0 out, I'd like to introduce it here again.

BqLog is used in a number of Tencent's commercial products, including performance-sensitive mobile games such as Honor of Kings, as well as their server-side logic. It runs on more than 30 million devices every day, across a very wide range of hardware, networks and storage, so its stability and performance have held up in mature commercial products over a long time.

Design goals

Extreme speed is where BqLog starts, not where it stops. It is a mature, industrial-grade component, built for products that ship:

- Content to play a supporting role. On a modern machine a logging system should take as little of the system as it can. The logging threads and the consumer thread alike should use as little CPU, memory and disk I/O as possible. We do not optimize for benchmark scores; every optimization targets real use.
- Compression and encryption without giving up speed. The real-time compressed format is about 1/7 the size of text, and writing it is faster and uses less CPU than writing text. Hybrid RSA+AES encryption is supported and costs almost nothing in performance.
- Compatible everywhere it runs. Windows, macOS, Linux, iOS, Android, HarmonyOS, OpenHarmony and the Unix family; C++, Java/Kotlin, C#, Python, TypeScript/ArkTS and Go sharing one core and even one log object; game engines, mobile toolchains without an STL, strict -Werror builds.
- Built for the bad day. Logs written before a crash are recovered after it; a full disk neither crashes nor hangs the app; corrupted files are recovered as far as possible; log files can be encrypted to protect privacy.
- Care about the coding experience. One line to create a log, one line to write; the internals stay as transparent as possible, without complicated configuration; every interface is friendly to IDE code completion; integration tools such as UE Blueprints are provided.

Performance

2.6.0 comes with a new, complete benchmark against quill, fmtlog, spdlog, glog and Log4j2, and every result reports time, CPU and memory together. In short:

- Throughput: on macOS and Windows, BqLog has the shortest total time at every thread count. The compressed format is roughly 4 to 12 times faster than the fastest of the other libraries and also has the lowest CPU time; the text format is 1.5 to 4.6 times faster.
- Cost per call on the logging thread: BqLog, quill and fmtlog are in the same tier, with BqLog averaging under 20 ns per call on all three platforms; spdlog is more than an order of magnitude slower.
- Memory: with fixed-size buffers, BqLog's peak memory is in the lowest tier and barely grows with more threads; with growing buffers it is about half of quill's or less.
- File size: the compressed format is about 1/7 the size of text.

On Linux only latency is listed for now. On the VMs we tried, throughput was dominated by the VM's disk scheduling and varied by up to 2x between rounds, so we left it out. The test scripts are in the repo, and if you have a bare-metal Linux box we'd be glad to see your numbers.

Methodology, library configurations and full data: https://github.com/Tencent/BqLog/blob/main/docs/BENCHMARK.md

Technical write-ups

If you're curious why BqLog is fast, there are three articles:

1. High-Performance Realtime Compressed Log Format: https://github.com/Tencent/BqLog/blob/main/docs/Article%201Why%20is%20BqLog%20so%20fast%20-%20High%20Performance%20Realtime%20Compressed%20Log%20Format.MD
2. From Ring Buffer to Adaptive Data Bus:
https://github.com/Tencent/BqLog/blob/main/docs/Article%202Why%20is%20BqLog%20so%20fast%20-%20From%20Ring%20Buffer%20to%20Adaptive%20Data%20Bus.MD
3.

Читать полностью…

C++ - Reddit

A faster way to convert a timestamp ➜ Hour, Min, Sec
https://www.benjoffe.com/fast-time-of-day

https://redd.it/1w9nwdc
@r_cpp

Читать полностью…

C++ - Reddit

Latest News From Upcoming C++ Conferences (2026-09-08)

**TICKETS AVAILABLE TO PURCHASE**

The following conferences currently have tickets available to purchase

* **Last Chance – CppCon (12th – 18th September)** – You can buy late tickets at [https://cppcon.org/registration/](https://cppcon.org/registration/)
* **C++ Under The Sea** **(14th – 16th October)** – You can buy tickets at [https://sales.ticketing.cm.com/cppunderthesea2026/](https://sales.ticketing.cm.com/cppunderthesea2026/)
* **ADC – (9th – 11th November)** – Tickets for ADC can now be purchased at [https://ti.to/audio-developer-conference/adc-bristol-2026](https://ti.to/audio-developer-conference/adc-bristol-2026)
* **Meeting C++ (26th – 28th November)** – You can buy early bird tickets at [https://meetingcpp.com/2026/](https://meetingcpp.com/2026/)

**OPEN CALL FOR SPEAKERS**

There are currently no open call for speakers

**OTHER OPEN CALLS**

* **CppCon Call For Open Content** – CppCon are looking for presenters to give open content sessions during the conference which takes place from September 14th – 18th. For more information including how to apply visit [https://cppcon.org/cppcon-2026-call-for-open-content/](https://cppcon.org/cppcon-2026-call-for-open-content/)
* **ADC 26/ADCx Gather Call For Online Volunteers Now Open** – Interested volunteers have until September 27th to apply to volunteer online at ADCx Gather which is scheduled to take place on 16th October and/or ADC 2026 online conference which is scheduled to take place from 9th – 11th November. To apply visit [https://docs.google.com/forms/d/e/1FAIpQLScpH\_FVB-TTNFdbQf4m8CGqQHrP8NWuvCEZjvYRr4Vw20c3wg/viewform?usp=dialog](https://docs.google.com/forms/d/e/1FAIpQLScpH_FVB-TTNFdbQf4m8CGqQHrP8NWuvCEZjvYRr4Vw20c3wg/viewform?usp=dialog)
* **ADC26/ADCx Gather Call For Posters** – ADC is looking for
* Virtual Posters for ADCx Gather which is scheduled to take place on 16th October and/or ADC 2026 online conference which is scheduled to take place from 9th – 11th November. Find out more including how to apply at [https://conference.audio.dev/virtual-posters/](https://conference.audio.dev/virtual-posters/)
* Physical Posters for ADC 2026 which is scheduled to take place from 9th – 11th November in Bristol UK. Applications can be made by filling out the following form [https://docs.google.com/forms/d/e/1FAIpQLScKteDljM9Dc4tgQ6HC9xaPEaYfW7oe\_Qr21y-1Jxn5s9eAIg/viewform?usp=dialog](https://docs.google.com/forms/d/e/1FAIpQLScKteDljM9Dc4tgQ6HC9xaPEaYfW7oe_Qr21y-1Jxn5s9eAIg/viewform?usp=dialog)

**TRAINING COURSES AVAILABLE FOR PURCHASE**

Conferences are offering the following training courses:

**CppCon Online Workshops**

**9th – 11th September**

1. **Modern C++: When Efficiency Matters** – Andreas Fertig – 3 day online workshop available on 9th – 11th September 09.00 – 15.00 MDT – [https://cppcon.org/class-2026-when-efficiency-matters/](https://cppcon.org/class-2026-when-efficiency-matters/)

**21st – 23rd September**

1. **C++ Fundamentals You Wish You Had Known Earlier** – Mateusz Pusz – 3 day online workshop available on 21st– 23rd September 09.00 – 15.00 MDT – [https://cppcon.org/class-2026-cpp-fundamentals/](https://cppcon.org/class-2026-cpp-fundamentals/)
2. **C++23 in Practice: A Complete Introduction** – Nicolai Josuttis – 3 day online workshop available on 21st– 23rd September 09.00 – 15.00 MDT – [https://cppcon.org/class-2026-cpp23-in-practice/](https://cppcon.org/class-2026-cpp23-in-practice/)
3. **Programming with C++20** – Andreas Fertig – 3 day online workshop available on 21st– 23rd September 09.00 – 15.00 MDT – [https://cppcon.org/class-2026-programming-with-cpp20/](https://cppcon.org/class-2026-programming-with-cpp20/)

**26th – 27th September**

1. **Using C++ for Low-Latency Systems** – Patrice Roy – 2 day online workshop available on 26th– 27th September 09.00 – 17.00 MDT – [https://cppcon.org/class-2026-low-latency/](https://cppcon.org/class-2026-low-latency/)

**CppCon Onsite Workshops**

All onsite workshops will take place in the Gaylord Rockies in Aurora,

Читать полностью…

C++ - Reddit

Episode 411 : CppCast - Kevin Carpenter - Volunteering (and speaking) at C++ conference, and also making sure your credit card payment goes through (or don't)
https://cppcast.com/running_conferences_and_processing_credit_cards_with_kevin_carpenter/

https://redd.it/1wb63at
@r_cpp

Читать полностью…

C++ - Reddit

Implementation of GCC's Nested Functions (vs. C++ Lambdas)
https://uecker.codeberg.page/2026-09-05.html

https://redd.it/1wb98p8
@r_cpp

Читать полностью…

C++ - Reddit

Tuning a Server for Benchmarking
https://david.alvarezrosa.com/posts/tuning-a-server-for-benchmarking/

https://redd.it/1wzbg2s
@r_cpp

Читать полностью…

C++ - Reddit

When (Not) to Use alloca()
https://voithos.io/articles/when-not-to-use-alloca/

https://redd.it/1wbyuv3
@r_cpp

Читать полностью…

C++ - Reddit

I built MrDocs, an open-source C++ reference doc generator on the Clang/LLVM AST. Looking for feedback.

I'm Alan de Freitas, the lead developer of MrDocs. It's an open-source documentation generator from the C++ Alliance, built on Clang/LLVM. It reads your code from the compiler's AST, so the reference matches what the code actually compiles to. We also presented [a session](https://cppcon2026.sched.com/event/2RT70/mrdocs-reliable-reference-documentation-for-c++-using-the-clang-ast) about it at cppcon this year.

I implemented the tool this way because we couldn’t come up with a workflow that understood modern C++ in our Boost libraries. Tools that parse partially tend to misrender or not render concepts, niebloids, SFINAE, overload sets, and deduction guides. MrDocs treats those as first-class:

* concept constraints and requires clauses preserved verbatim
* niebloids and function objects can be documented as callables
* SFINAE and concept overload sets kept together
* explicit, noexcept, and consteval specifiers captured
* types in detail or private namespaces rendered as implementation-defined

The presentation layer is completely encapsulated. Generators support HTML, AsciiDoc, XML, JSON, or any custom format like Markdown and LaTeX, without forking the tool or creating another post-processing workflow. You can also write extensions to apply project conventions to the corpus or define new generators for any use case. The documentation has lots of examples.

If you maintain reference docs for a library, I'd appreciate it if you gave it a run (or tell your favorite agent to) and reported back on whether it saves you time, both while writing docs and while reviewing them. First-hand numbers would be especially useful to me. Issues are also always welcome.

Site:[ https://www.mrdocs.com](https://www.mrdocs.com/)Repo:[ https://github.com/cppalliance/mrdocs](https://github.com/cppalliance/mrdocs)

Happy to answer questions in the comments.

https://redd.it/1wz3115
@r_cpp

Читать полностью…

C++ - Reddit

How I speed up my overall build times by 4x and incremental builds by 9x for test builds

* I used faster tools:
* I switched from lld to mold optimized it mimalloc + pgo + lto + bolt (1.2x-3x faster than system lld)
* I optimized clang with mimalloc + pgo + lto + bolt (1.8x-1.85x faster than system clang)
* I optimized clang-scan-deps with mimalloc + pgo + lto + bolt (4x faster than system scanner)
* I used dynamic linking(3x-4x overall, much larger if you are editing tests)
* I used prebuilt binaries via packages rather than vendoring my deps.(huge)
* I switched fully to C++ modules(Incremental compilation times are so fast link times dominate now)

https://redd.it/1wet7rn
@r_cpp

Читать полностью…

C++ - Reddit

Henrik Fransson: From Prompt to Probe - Closing the Agentic AI Loop on Bare Metal
https://youtu.be/HsijmvjyePQ

https://redd.it/1w92ywl
@r_cpp

Читать полностью…

C++ - Reddit

Escaping `CreateProcess()` arguments on Windows
https://holyblackcat.github.io/blog/2026/09/05/escaping-createprocess-arguments.html

https://redd.it/1w7zs1r
@r_cpp

Читать полностью…

C++ - Reddit

New C++ Conference Videos Released This Month - September 2026

C++Now

2026-08-31 - 2026-09-06

Incremental Modernization - Refactoring Legacy C++ OOP Application Code with Functional Programming and Type Erasure Concepts - Jessica Ding - [https://youtu.be/FOzGlO5XaPE](https://youtu.be/FOzGlO5XaPE)
When Atomics Lose - Architecture‑Dependent Performance of C++ Synchronization - Sampad Acharya - https://youtu.be/Ehy9wutYYH8
Multi-Priority Graph-Based Parallel Execution Using Taskflow - Yun Kai Peng - [https://youtu.be/4I5jsK3zRv0](https://youtu.be/4I5jsK3zRv0)

ACCU

Software Abstraction in the Age of AI-Generated Code: Languages, Compilers, and Systems Engineering - Andrei Alexandrescu - https://youtu.be/-RWdevA0gWI

https://redd.it/1w9vra8
@r_cpp

Читать полностью…

C++ - Reddit

Full Meeting C++ 2026 program released
https://meetingcpp.com/mcpp/schedule/#2026

https://redd.it/1wzu6wk
@r_cpp

Читать полностью…

C++ - Reddit

New to c++

Hello everybody,im new to cpp,and want to learn it,i have some knowledge with C (about 2 years on it),and i wanted something more modern and intresting,so i take c++,where i can learn modern c++ 17 or 20 for free,and which standart to learn first (17,20,or 23)?

https://redd.it/1wzr9pb
@r_cpp

Читать полностью…

C++ - Reddit

BqLog 2.6.0: a C++ logging library running on 30M+ devices daily, benchmarked against quill, fmtlog, spdlog and glog (time, CPU and memory)

BqLog is a cross-platform logging library open-sourced by Tencent two years ago. Since then it has gone through two more years of production use and improved a lot in performance, reliability, compatibility and developer experience. With 2.6.0 out, I'd like to introduce it here again.

BqLog is used in a number of Tencent's commercial products, including performance-sensitive mobile games such as Honor of Kings, as well as their server-side logic. It runs on more than 30 million devices every day, across a very wide range of hardware, networks and storage, so its stability and performance have held up in mature commercial products over a long time.

**Design goals**

**Extreme speed is where BqLog starts, not where it stops.** It is a mature, industrial-grade component, built for products that ship:

- **Content to play a supporting role.** On a modern machine a logging system should take as little of the system as it can. The logging threads and the consumer thread alike should use as little CPU, memory and disk I/O as possible. We do not optimize for benchmark scores; every optimization targets real use.
- **Compression and encryption without giving up speed.** The real-time compressed format is about 1/7 the size of text, and writing it is faster and uses less CPU than writing text. Hybrid RSA+AES encryption is supported and costs almost nothing in performance.
- **Compatible everywhere it runs.** Windows, macOS, Linux, iOS, Android, HarmonyOS, OpenHarmony and the Unix family; C++, Java/Kotlin, C#, Python, TypeScript/ArkTS and Go sharing one core and even one log object; game engines, mobile toolchains without an STL, strict `-Werror` builds.
- **Built for the bad day.** Logs written before a crash are recovered after it; a full disk neither crashes nor hangs the app; corrupted files are recovered as far as possible; log files can be encrypted to protect privacy.
- **Care about the coding experience.** One line to create a log, one line to write; the internals stay as transparent as possible, without complicated configuration; every interface is friendly to IDE code completion; integration tools such as UE Blueprints are provided.

**Performance**

2.6.0 comes with a new, complete benchmark against quill, fmtlog, spdlog, glog and Log4j2, and every result reports time, CPU and memory together. In short:

- **Throughput:** on macOS and Windows, BqLog has the shortest total time at every thread count. The compressed format is roughly 4 to 12 times faster than the fastest of the other libraries and also has the lowest CPU time; the text format is 1.5 to 4.6 times faster.
- **Cost per call on the logging thread:** BqLog, quill and fmtlog are in the same tier, with BqLog averaging under 20 ns per call on all three platforms; spdlog is more than an order of magnitude slower.
- **Memory:** with fixed-size buffers, BqLog's peak memory is in the lowest tier and barely grows with more threads; with growing buffers it is about half of quill's or less.
- **File size:** the compressed format is about 1/7 the size of text.

On Linux only latency is listed for now. On the VMs we tried, throughput was dominated by the VM's disk scheduling and varied by up to 2x between rounds, so we left it out. The test scripts are in the repo, and if you have a bare-metal Linux box we'd be glad to see your numbers.

Methodology, library configurations and full data: https://github.com/Tencent/BqLog/blob/main/docs/BENCHMARK.md

**Technical write-ups**

If you're curious why BqLog is fast, there are three articles:

1. High-Performance Realtime Compressed Log Format: https://github.com/Tencent/BqLog/blob/main/docs/Article%201_Why%20is%20BqLog%20so%20fast%20-%20High%20Performance%20Realtime%20Compressed%20Log%20Format.MD
2. From Ring Buffer to Adaptive Data Bus: https://github.com/Tencent/BqLog/blob/main/docs/Article%202_Why%20is%20BqLog%20so%20fast%20-%20From%20Ring%20Buffer%20to%20Adaptive%20Data%20Bus.MD
3.

Читать полностью…

C++ - Reddit

LearnCPP taking 2.5 Go of RAM

It's crazy that with the number of adds on the website, learncpp eats 2.5Go of RAM... I'm forced to use an add blocker and it's a shame because I'd like to help learncpp.

https://redd.it/1wzp5j8
@r_cpp

Читать полностью…

C++ - Reddit

Colorado

**12th & 13th September**

1. **Advanced and Modern C++ Programming: The Tricky Parts** – Nicolai Josuttis – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-tricky-parts/](https://cppcon.org/class-2026-tricky-parts/)
2. **C++ Best Practices** – Jason Turner – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-best-practices/](https://cppcon.org/class-2026-best-practices/)
3. **Performance and Efficiency in C++ for Experts, Future Experts, and Everyone Else** – Fedor Pikus – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-performance-and-efficiency/](https://cppcon.org/class-2026-performance-and-efficiency/)
4. **Talking Tech** – Sherry Sontag – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-talking-tech/](https://cppcon.org/class-2026-talking-tech/)

 **13th September**

1. **AI++ 101 : Build a C++ Coding Agent from Scratch** – Jody Hagins – 2 day in-person workshop available on 12th & 13th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-AI101/](https://cppcon.org/class-2026-AI101/)

**19th & 20th September**

1. **AI++ 201: Building High Quality C++ Infrastructure with AI** – Jody Hagins – 2 day in-person workshop available on 19th & 20th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-ai201/](https://cppcon.org/class-2026-ai201/)
2. **Function and Class Design with C++2x** – Jeff Garland – 2 day in-person workshop available on 19th & 20th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-function-class-design/](https://cppcon.org/class-2026-function-class-design/)
3. **High-performance Concurrency in C++** – Fedor Pikus – 2 day in-person workshop available on 19th & 20th September – 09:00 – 17:00 – [https://cppcon.org/class-2026-high-perf-concurrency/](https://cppcon.org/class-2026-high-perf-concurrency/)

**OTHER NEWS**

* **(NEW) C++Online 2017 Dates Announced** – C++Online will take place online from the 10th – 12th March with post-conference workshops taking place afterwards. Find out more at [https://cpponline.uk/announcing-conline-2027-10th-12th-march/](https://cpponline.uk/announcing-conline-2027-10th-12th-march/)
* **(NEW)** **ACCU On Sea Videos Now Releasing** – The ACCU on Sea videos are now starting to be published to the ACCU YouTube Channel. Keep up to date when new videos are released by subscribing to the ACCU YouTube Channel – [accuconf" rel="nofollow">https://youtube.com/@accuconf](accuconf" rel="nofollow">https://youtube.com/@accuconf)
* **Schedule Announced For CppCon** – The schedule has been announced for CppCon. Visit [https://cppcon2026.sched.com](https://cppcon2026.sched.com) to view the full schedule.
* **Schedule Announced For ADC 2026** – The schedule has been announced for ADC 2026. Visit [https://conference.audio.dev/schedule](https://conference.audio.dev/schedule) to view the full schedule. More sessions and workshops will be added over the next few weeks
* **ADCx Gather Announced - FREE ONLINE EVENT!** \- ADC have announced ADCx Gather which is a **FREE** online event which will take place online on October 16th. For more information visit [https://audio.dev/adcx-gather-info/](https://audio.dev/adcx-gather-info/) and if you would like to attend, please fill out the registration form [https://docs.google.com/forms/d/e/1FAIpQLSeg0twh4PbYqCqcoPpl5cnFBeU6y5Ea3921V2kl3F7Wy03umw/viewform?usp=dialog](https://docs.google.com/forms/d/e/1FAIpQLSeg0twh4PbYqCqcoPpl5cnFBeU6y5Ea3921V2kl3F7Wy03umw/viewform?usp=dialog)

Finally anyone who is coming to a conference in the UK such as C++ on Sea or ADC from overseas **may now be required to obtain Visas to attend**. Find out more including how to get a VISA at [https://homeofficemedia.blog.gov.uk/electronic-travel-authorisation-eta-factsheet-january-2025/](https://homeofficemedia.blog.gov.uk/electronic-travel-authorisation-eta-factsheet-january-2025/)

https://redd.it/1watu7a
@r_cpp

Читать полностью…

C++ - Reddit

How I optimized clang for 1.73x-1.91x performance boost over apt clang

I wanted to have fast test and release builds, so I decided to "upgrade" my compiler.

What I used:

Musl Libc
LLVM libc overlay
Mimalloc
Thin LTO
PGO
Bolt via perf2bolt
Optimization flags like: -march -O3 -DNDEBUG -fno-semantic-interposition -fno-plt -fno-pie
No exceptions no RTTI

I tested the build speed with hyperfine with 2 test cases, one is sqlite.c the other is tu including eigen.

|Workload|Build mode|Optimized Clang speedup|Compile-time reduction|
|:-|:-|:-|:-|
|Eigen, C++23|-O0|1.69×|40.8%|
|Eigen, C++23|-O0 -g3 -fno-omit-frame-pointer|1.72×|41.9%|
|Eigen, C++23|-O3 -DNDEBUG|1.73×|42.2%|
|SQLite amalgamation|-O0|1.74×|42.5%|
|SQLite amalgamation|-O0 -g3 -fno-omit-frame-pointer|1.89×|47.1%|
|SQLite amalgamation|-O3 -DNDEBUG|1.73×|42.2%|

In case anyone is wondering, it also outperformed LLVM release binaries, by about %13 to %15 for each case, but having more performance than the system compiler is more cool so I'm not giving the table for that.

It is also very awesome to have a compiler not depend on glibc. If no errors arise, I'll probably never update my compiler for 2 years at least. As my build is portable(no march native just v3)

I'm planning on moving to cachyOS or any other optimized linux distro next, to finalise my build enviroment. I'm currently on Ubuntu.

https://redd.it/1wb2cq3
@r_cpp

Читать полностью…

C++ - Reddit

Bugbusters #1 | C++ in 2026: worth it? | Nathan Baggs
https://youtube.com/watch?v=kd-5hJHvKIY&si=shl6xp-4Fwrr7lrZ

https://redd.it/1wcdapk
@r_cpp

Читать полностью…

C++ - Reddit

C++26: Module improvements
https://www.sandordargo.com/blog/2026/09/09/cpp26-modules

https://redd.it/1wbel3t
@r_cpp

Читать полностью…

C++ - Reddit

boost.org has been rebuilt: new profiles, badges, search, and library filtering

The Boost website has been rebuilt. Here's a summary of what's changed:

Updated look and feel, with revised site navigation
New user profile pages
Badges tied to contribution and participation, which update as you contribute
Community features, including posts filtered by the topic of the page you're viewing
Site-wide search available from a search box in the header and via Ctrl+K
Library search and filtering, including browsing by category

The libraries, release process, and formal review process are unchanged. The work is limited to the website itself and how you navigate, search, and contribute to it.

Link: boost.org

Bug reports and feedback on navigation or search are welcome.

https://redd.it/1wbnddw
@r_cpp

Читать полностью…

C++ - Reddit

MSVC Build Tools Preview updates – September 2026
https://devblogs.microsoft.com/cppblog/msvc-build-tools-preview-updates-september-2026/

https://redd.it/1wbyyim
@r_cpp

Читать полностью…

C++ - Reddit

WasmBolt — The LLVM Project in your browser
https://anutosh21.github.io/WasmBolt/

https://redd.it/1wcbjng
@r_cpp

Читать полностью…

C++ - Reddit

Why do people on Windows mostly choose Visual Studio?



https://redd.it/1weku08
@r_cpp

Читать полностью…
Subscribe to a channel