Paul Krill
Editor at Large

Seastar C++ framework looks to simplify coding

news
Feb 14, 20172 mins

Concepts capability that simplifies design will be featured in the next version of the event-driven framework

framework
Credit: Jan Tik

Seastar, an event-driven C++ framework for building applications for multiple processor cores, is adding the notion of concepts to make coding easier.

With concepts, recently hailed by C++ founder Bjarne Stroustrup, specified interfaces are provided to templates without runtime overhead; design is simplified and the amount of boilerplate code is reduced. Concepts will be included in Seastar 1.8, due in about six weeks. “[Concepts] simplifies the code,” said Dor Laor, CEO of Scylla, which makes Seastar and uses it as the engine of the ScyllaDB NoSQL database. 

Open source Seastar is used to build server applications, which can run on Linux or the OSv operating system for the cloud. Seastar is based on the concept of futures, for synchronizing program execution. The framework is tuned for performance by default, its documentation states.

Focused on high-throughput, low-latency, I/O-intensive applications, Seastar provides fast, scale-up infrastructure and makes it convenient to write asynchronous, non-blocking code, according to Scylla.

Proponents say Seastar unites a number of architectural innovations, including a shared-nothing model that shards requests onto individual cores; a choice of a network stack for Linux or OSv; and a futures and promises model for concurrent applications. It also features message-passing, for sharing information between cores without time-consuming locking, the company said. A native, sharded TCP/IP stack is included for better performance.

Seastar source code is available on GitHub.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author