C++ developers can get an assist in building asynchronous microservices, with a new open source framework intended to solve the problem of efficient I/O interactions.
Called Userver, the asynchronous framework offers a set of abstractions for “fast and comfortable” creation of C++ microservices, services, and utilities, according to the project’s GitHub repo. The project is currently in beta.
Userver promises to solve the issue of efficient I/O transactions transparently for developers. The developers behind the the framework say it offers the speed of C++, the simplicity of Python, and the coroutine model of Go. With Userver, operations that normally suspend the thread of execution do not do so; instead, the thread processes other tasks and returns to the handling of the operation only when it is guaranteed to execute immediately.