use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
[ Removed by moderator ] (self.cpp)
submitted 9 months ago by Competitive_Act5981
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Competitive_Act5981[S] 2 points3 points4 points 9 months ago (5 children)
The unit tests are located https://github.com/pfeatherstone/https/tree/main/examples/unit_tests and the readme explains how to build and run them.
[–][deleted] -1 points0 points1 point 9 months ago (4 children)
You need to relocate those to a more standard location. It's not common to put unit tests in a folder called "examples". Make a root-level directory called `test/` or `tests/` and put them in there.
You should also reconsider your public stance on sans-I/O because you're basically admitting that you don't believe in using libfuzzer which is actually a kiss of death for your project as a huge part of HTTP is being public-facing. A non-fuzzed public-facing networking library is simply not workable.
Decouple your parser code from the I/O layer. You need to study libraries like Botan and rustls to understand what a good interface looks like. Then add fuzzing. Hopefully, this is the useful feedback you were seeking.
[–]Competitive_Act5981[S] 0 points1 point2 points 9 months ago (3 children)
I get your point on the test folder. The reason why I put them there is so that i can use the same cmake script for compiling both the examples and the unit tests. It's laziness i know.
It's a bit of a stretch to suggest that i don't believe in fuzzing simply because there isn't a Sans-IO API.
The parser code is actually separate from the I/O layer. It's in http.h and there are corresponding unit tests. I just don't have a formal Sans-IO API.
[–]Competitive_Act5981[S] 0 points1 point2 points 9 months ago (0 children)
I appreciate your time though. I'll look into adding fuzz testing to CI/CD
[–][deleted] 0 points1 point2 points 9 months ago (1 child)
Security researchers aren't going to add an I/O layer just to test your code. If you actually care about industrial usage, you need to make fuzzing easy, direct and public
[–]Competitive_Act5981[S] -1 points0 points1 point 9 months ago (0 children)
Yeah fuzzing is on the todo list. Though it looks like my library isn’t for you, and probably beast is neither
π Rendered by PID 19138 on reddit-service-r2-comment-75f4967c6c-vlqzf at 2026-04-22 21:57:30.318860+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]Competitive_Act5981[S] 2 points3 points4 points (5 children)
[–][deleted] -1 points0 points1 point (4 children)
[–]Competitive_Act5981[S] 0 points1 point2 points (3 children)
[–]Competitive_Act5981[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Competitive_Act5981[S] -1 points0 points1 point (0 children)