Coder Social home page Coder Social logo

cosec-examples's Introduction

Examples for COSEC students

It is assumed you have made yourself familiar with ntc-cmake, what it automates and how, please start there (see dependencies below for the link).

  • Serialization:
    • schema-serial: usage of Flatbuffers as a serialization library with external schema specification and code generator.
    • interprocess-copy: benchmark of various interprocess data copy implementations.
  • Asynchrony:
    • thread-pool: simple thread pool and executor usage.
    • asio-basic: basic asynchronous tcp server with logging and error handling.
    • asio-advanced: multi-threaded tcp server with continuations that has operation limits.
    • asio-stackfull-coro: tcp server that uses stackfull coroutines based on Boost.Context.
    • asio-shared: server with shared state which uses strands for synchronization.
    • atomic: a small example on atomic usage.
    • select: server that implements basic asynchronous primitives using select reactor.
    • generator: synchronous generator based on C++20 coroutines.
  • Assembler:
    • asm-basic: basic usage of inline assembly and assembler modules.
    • anf: usage of SSE intrinsic functions.
  • Qt:
    • layouts-painting: basic use signals/slots, Qt Designer, layouts and mouse/paint events for custom-looking widgets.
    • item-models: usage of Qt Item Models and Views/Widgets.
    • block-scene: usage of QGraphicsScene, items and views.
    • gui-progress: offloading lengthy tasks to a non-gui QThread and communicating with it using queued signals/slots.
    • locale-resources: usage of resources and translations in Qt.
    • geohash: qtpositioning + simple use of QNetworkAccessManager from qtnetwork.
    • delegates-sql: use of queries and item models with qtsql and custom item delegates.
    • treeview: tree view item model example.
  • Miscellaneous:
    • et: use of expression templates to optimize evaluation of expressions.

Dependencies:

  • C++ compiler and standard library with sufficient support for C++20.
  • >=ntc-cmake-1.1.0 - see https://github.com/palebedev/ntc-cmake
  • >=Boost-1.74.0
  • >=Qt-5.15 (LinguistTools,Network,Positioning,Sql,Svg,WebEngineWidgets modules and their dependencies)
  • >=google-benchmark-1.5.0
  • >=FlatBuffers-1.12.0

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.