userver
liblifthttp
Our great sponsors
userver | liblifthttp | |
---|---|---|
4 | 1 | |
2,172 | 51 | |
2.9% | - | |
9.9 | 0.0 | |
1 day ago | 4 months ago | |
C++ | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
userver
-
REST APIs using C++. (Is this even done much?)
I think userver (https://userver.tech/) is good way for you. 🐙 userver is the modern open source asynchronous framework with a rich set of abstractions for fast and comfortable creation of C++ microservices, services and utilities.
-
Who is using C++ for web development?
Yandex uses a lot for backend. Also released this framework
liblifthttp
-
Ask HN: What are some tools / libraries you built yourself?
https://github.com/jbaldwin/liblifthttp
I created a C++17 HTTP client which is backed by curl and libuv (linux only! sorry windows). I think a lot of people have done this or something similar but almost all of the ones I looked at either exposed the curl api directly in some fashion or had extremely weak async support. So my main motivation was extremely easy asynchronous queries for high throughput with a very modern C++ API that has as good as you can get memory safety, or at least as good as modern C++ will let you get. No raw curl calls or api exposed at all. I used to find it extremely difficult to make C++ HTTP calls, now its a real breeze.
My next project is a bit more ambitious: https://github.com/jbaldwin/libcoro/ -- I'd like to make a C++20 HTTP client from the ground up with first class coroutine support, and I'll be using lift as a benchmark to beat performance wise.
What are some alternatives?
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
microservices-framework-benchmark - Raw benchmarks on throughput, latency and transfer of Hello World on popular microservices frameworks
libpqxx - The official C++ client API for PostgreSQL.
hook - Open source (free to use) high-performance network communications library including Http server/client support. Header only and designed using the latest C++ standards to provide for a full featured and modern API. Supporting for a wide range of platforms (including embedded, IoT & MCUs).
lithium - Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
Seastar - High performance server-side application framework
WebGui - An example demo of IMGUI (Immediate Mode GUI) on the web. Using only WebGL, GLFW and ImGui. Suitable for being compiled to web assembly (WASM).
Firefly - Firefly is an asynchronous web framework for rapid development of high-performance web application.
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
socketwrapper - Async/Sync networking library including UDP, TCP and TLS/TCP socket classes written in C++ 17 that utilizes epoll and kqueue as backend.
flappybird - The famous game made with C++ and SFML
asyncgi - An asynchronous FastCGI web microframework for C++