|1 day ago||6 days ago|
|THE BOOST SOFTWARE LICENSE 1.0||Boost Software License 1.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
The Curse of NixOS
35 projects | news.ycombinator.com | 24 Jan 2022
Many of the necessary fixes do end up getting pushed upstream, though, thinking especially of stuff like converting CMake projects to use the GNUInstallDirs standard, so there is a benefit to the strictness work that extends beyond even just the Nix community itself.
Of course, sometimes those kinds of changes just never get merged, for a variety of well-understood open-sourcey reasons, eg: https://github.com/pocoproject/poco/pull/3105
Higher level threading in C++
1 project | dev.to | 29 Apr 2021
This is why I generally prefer Threadpools, or a producer-consumer pattern. Both these patterns require a queue that contains the jobs or units of work. Worker threads will continually try to read items from such a queue and process the item. There are some libraries that offer threadsafe queue's and/or threadpools, such as poco, QT or boost, but it's actually fairly simple to implement your own, using only the STL. So let's implement one now!
How and where I can learn about Web sockets, APIs, Wrappers to connect with my C++ code?
5 projects | reddit.com/r/Cplusplus | 19 Apr 2021
Depends. I'd recommend spending 15 minutes browsing the documentation for sys/socket.h so you know enough of the basics, and then get started with a high-level framework depending on your needs. libcurl is amazing, but might not be optimal for your use-case. It might also be worth considering learning Boost.Asio or the new experimental::net proposal for C++23. If you need a major, integrated solution as part of a larger app already using a toolkit, POCO or Qt can work well. ZeroMQ is also amazing for specialized cases.
Ask HN: Best stack for cross-platform desktop app?
10 projects | news.ycombinator.com | 14 Apr 2021
What to do after intermediate c++ ? [ PLEASE GIVE ME IDEA ME BUILDING APPLICATION]
3 projects | reddit.com/r/cpp_questions | 4 Apr 2021
Suggestions for a minimal and simple http client library?
2 projects | reddit.com/r/cpp_questions | 2 Nov 2021
tuplet: A Lightweight Tuple Library for Modern C++
6 projects | reddit.com/r/cpp | 28 Sep 2021
What are some commonly used or underrated features provided by the Boost library that haven't been yet adopted by the STL?
2 projects | reddit.com/r/cpp | 20 Sep 2021
ASIO Updated in Boost 1.77: Holy Schitte, the NEW FEATURES !!!
1 project | reddit.com/r/cpp | 13 Aug 2021
And Chris wrote this example, which is faster than any of my other examples: https://github.com/boostorg/beast/tree/21cd552399aa8167ed53c21a74f3711c2c316d2f/example/http/server/fast
CMake Part 1 – The Dark Arts
2 projects | news.ycombinator.com | 10 Jul 2021
cmake -h. -Bbuild && cmake --build build
to work about 90% of the time. Far more luck than I've had with autotools.
> Its code is horrifying too, for example:
1) I'm sure I could find some horriffic code in meson too if I went digging. 2) The alternative to this is you having to write something equivalent in your own code, meaning that in my code I don't need to do stuff like  in my code to detect features; my build system handles it for me. 3) CMake supports more platforms and targets than I've ever seen in my life, and likely supports more compilers than are necessary. that's a blessing and a curse, but it means that if I write simple program to run on some crufty microcontroller with a bastardised gcc toolchain from the 90s, it's fairly likely that cmake supports it out of the box. Code like that is the price to pay for that level of support.
cpprestsdk in maintenance mode
17 projects | reddit.com/r/cpp | 8 Jun 2021
If you need an embedded C++ HTTP server then there are plenty of libraries/frameworks (in random order): Crow, RESTinio, Boost.Beast, cpp-httplib, http_backend, Pistache, RestBed, served, proxygen, Simple-Web-Server, drogon, oat++.
Building HTTP Service in C++ (Using Modern Tools)
1 project | dev.to | 5 Dec 2020
The HTTP service and is mostly based on this particular example from Boost Beast library. I modified it, replacing plaintext responses with json, and adding Boost Log library.
What are some alternatives?
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features
WebSocket++ - C++ websocket client/server library
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
libwebsockets - canonical libwebsockets.org networking library
cpp-netlib - The C++ Network Library Project -- cross-platform, standards compliant networking library.
RESTinio - Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library with the right balance between performance and ease of use
Proxygen - A collection of C++ HTTP libraries including an easy to use HTTP server.