Practical Security in Production: Hardening the C++ Standard Library at massive scalehttps://queue.acm.org/detail.cfm?id=3773097
❤1🔥1
Fil-C: achieves memory safety for C and C++ code by transforming all unsafe operations in LLVM IR into code that does dynamic checking to catch all violations of Fil-C’s ruleshttps://fil-c.org/how
🔥8😢5❤1🙏1
C++20 concepts are structural: What, why, and how to change it?https://www.foonathan.net/2021/07/concepts-structural-nominal/
www.foonathan.net
C++20 concepts are structural: What, why, and how to change it?
C++20 added concepts as a language feature.
They’re often compared to Haskell’s type classes, Rust’s traits or Swift’s protocols.
Yet there is one feature that sets them apart: types model C++ concepts automatically.
In Haskell, you need an instance, in Rust…
They’re often compared to Haskell’s type classes, Rust’s traits or Swift’s protocols.
Yet there is one feature that sets them apart: types model C++ concepts automatically.
In Haskell, you need an instance, in Rust…
🗿4
Patterns for Defensive Programming in Rust
https://corrode.dev/blog/defensive-programming/
https://corrode.dev/blog/defensive-programming/
Corrode Rust Consulting
Patterns for Defensive Programming in Rust | corrode Rust Consulting
I have a hobby.
Whenever I see the comment // this should never happen in code, I try to find out the exact conditions under which it could happen.
And in 90% of cases, I find a way to do just that.
More often than not…
Whenever I see the comment // this should never happen in code, I try to find out the exact conditions under which it could happen.
And in 90% of cases, I find a way to do just that.
More often than not…
👍5🥴2🤨1
hotos-ffi.pdf
471 KB
“Rewrite it in Rust” Considered Harmful?
https://goto.ucsd.edu/~rjhala/hotos-ffi.pdf
https://goto.ucsd.edu/~rjhala/hotos-ffi.pdf
👍10
Compiler Options Hardening Guide for C and C++
https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
OpenSSF Best Practices Working Group
Compiler Options Hardening Guide for C and C++
The Best Practices for OSS Developers working group is dedicated to raising awareness and education of secure code best practices for open source developers.
❤7🤯1
C++ Standard Evolution Viewer: interactive way to explore changes in the C++ standard by viewing side-by-side diffs of individual sectionshttps://cppevo.dev/
🔥2🗿2👀1🦄1
Event Driven Flows in C++
https://akrzemi1.wordpress.com/2025/11/16/event-driven-flows/
https://akrzemi1.wordpress.com/2025/11/16/event-driven-flows/
Andrzej's C++ blog
Event-driven flows
This post is in response to two claims about coroutines: Their reference function parameters may become dangling too easily. They are indistinguishable from regular functions from the declaration a…
🗿5
C++ Conference Videos (November 2025)
https://www.reddit.com/r/cpp/comments/1ozm8yv/new_c_conference_videos_released_this_month/
https://www.reddit.com/r/cpp/comments/1ozm8yv/new_c_conference_videos_released_this_month/
Reddit
From the cpp community on Reddit: New C++ Conference Videos Released This Month - November 2025 (Updated To Include Videos Released…
Explore this post and more from the cpp community
Memory is slow, Disk is fast (C)
https://www.bitflux.ai/blog/memory-is-slow-part2/
https://www.bitflux.ai/blog/memory-is-slow-part2/
🤯6💯4🥴3👍1
MinCaml.pdf
157.8 KB
MinCaml: A Simple and Efficient Compiler for a Minimal Functional Language
https://esumii.github.io/min-caml/paper.pdf
https://esumii.github.io/min-caml/paper.pdf
🔥2❤1
hyperfunctions.pdf
910.2 KB
Hyperfunctions: Communicating Continuations
https://doisinkidney.com/pdfs/hyperfunctions.pdf
https://doisinkidney.com/pdfs/hyperfunctions.pdf
🤯1😭1
The Arena: Custom Memory Allocators in Chttps://www.bytesbeneath.com/p/the-arena-custom-memory-allocators
Bytesbeneath
The Arena - Custom Memory Allocators in C
Easy, Flexible Memory Management
🗿6👍2
Writing Your Own Memory Allocators in C++
https://screwjankgames.github.io/engine%20programming/2020/09/24/writing-your-own-memory-allocators.html
https://screwjankgames.github.io/engine%20programming/2020/09/24/writing-your-own-memory-allocators.html
Screwjank Games
Writing Your Own Memory Allocators in C++
I’ve recently started working on a new game engine and, since I have no restraint, task zero was writing custom memory allocators. C++’s built in malloc() and new are great tools for getting a hold of raw memory, but they don’t leave any room for customization…
🔥2👍1
Rethinking C++: Architecture, Concepts, and Responsibilityhttps://blogs.embarcadero.com/rethinking-c-architecture-concepts-and-responsibility/
Embarcadero RAD Studio, Delphi, & C++Builder Blogs
Rethinking C++: Architecture, Concepts, and Responsibility
💊5😱1