Code Monkey home page Code Monkey logo

rajatjain / stroika Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sophistsolutions/stroika

0.0 2.0 0.0 190.27 MB

Stroika is a modern C++ application framework (class library) designed to make high performance, reliable and multi-threaded applications easier to write.

Home Page: http://www.sophists.com/Stroika/

License: MIT License

C++ 92.70% C 1.23% R 3.50% Batchfile 0.12% HTML 0.76% Java 0.01% Makefile 0.54% ASP 0.03% Visual Basic 0.05% Coq 0.01% Assembly 0.11% Shell 0.72% Perl 0.12% Perl 6 0.01% TeX 0.02% Lex 0.07% Dockerfile 0.01%

stroika's Introduction

Stroika v2.1


Stroika is a C++ application framework designed to make high performance, modern, reliable and threaded applications easier to write.

  • Nearly all public interfaces and methods are well documented; implementations are clear and well commented.
  • An elaborate system of built-in assertions (including thread-safety assertions) helps document and enforce usage patterns (without performance cost in production builds).
  • Each release is tested with Valgrind, Google Sanitizers, and a variety of platforms and compilers, as well as a large body of regression tests (including most documentation examples) to help assure library correctness.
  • Sample applications help show common use cases (like building a web server into your app to deliver web-service content and APIs). Quick start using pre-built Docker containers.

Stroika provides

  • Container classes (Collection, Queue, Mapping, Sequence, Set, and much more with rich variety of backend implementations).
  • DataExchange (VariantValue, rich collection of data format serializer/deserializers - like JSON, object to/from serialization mappings, and much more).
  • Execution pattern classes (external process runner, synchronization patterns, blockingqueue, threadpools, and much more).
  • Networking support (high level socket wrappers, Web client fetching).
  • Simple, elegant streams library, with adapters for cryptography, compression, text transforms, etc.
  • Seamless integration with many important libraries, including: boost, libcurl, lzma sdk, openssl, sqlite, xerces, zlib (e.g. wrap a compression stream - using for example zlib).
  • Framework libraries for network measurement, SSDP/UPnP, system performance monitoring, text editing/word processor, web server, web services, and much more.
  • and much more...

Trade-offs

  • Stroika's biggest strength is also its biggest weakness:
    • There are smaller, more focused libraries that do many of the things Stroika does. Being single purpose is a form of modularity (good) and allows for easy adoption/integration. But libraries that do anything of any complexity must create their own infrastructure for a wide variety of building block problems (e.g. Xerces has its own stream classes, pistache date classes, etc). And if you have two such libraries, they are unlikely to interact seemlessly, and their support classes (for stuff like date and streams above) certainly won't.
    • Stroika takes the approach of building its functionality in layers, leveraging other components (e.g. Streams and Containers) in lower layers (as well as standardized C++ libraries). This slightly increases the cost of adopting Stroika for something small (because pulling one thing in pulls many things in), but then pays dividends as you use it to accomplish a second or third task.

Versions

  • Stroika v2.0 is very stable, nearly complete, and requires C++14 or later. Stroika v2.0 is used to power a wide variety of open source and commercial applications.

  • Stroika v2.1 is more actively evolving, and requires C++17 or later.

Compilers / Platforms tested

  • Stroika v2.0
    Regularly tested on x86, arm, gcc5 thru gcc8, clang 3 thru clang 6, XCode 8 thru 9.
  • Stroika v2.1
    Regularly tested on x86, arm, gcc7 thru gcc8, clang 6 thru clang 7, XCode 10.

Random Features

  • Vanilla make based builds
  • Portable API (targets windows/mac/unix), and multiple processors

Summary

For more details on individual release changes, see:

    Release-Notes.md

"Getting Started" build instructions can be found in:

     Documentation/Building Stroika.md

Looking through the samples is also a good way to start:

    Samples/ReadMe.md

Please report bugs at:

    http://stroika-bugs.sophists.com

stroika's People

Contributors

lewispringle avatar jpringle13 avatar kjax avatar

Watchers

James Cloos avatar Rajat Jain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.