Coder Social home page Coder Social logo

bike's Introduction

Bike stuff

Different stuff. Currently consists of one library โ€” s11n (serialization).

s11n (unstable)

C++ serialization library with Boost.Serialization-like interface with such improvements:

  • Header-only. 2 files and less 2k lines of ubertemplatesgodkillskittenscode per one serializer format. Add one file for STL support
  • Serialization of objects, which code can't be changed (out of class serialization with few limitations)
  • Decreased compiler error lines per one mistake (it's more useful to read 50 lines of C++ errors than 100, yes?)

Other features:

  • Non-default constructors support
  • Serialization of inherited objects
  • Serialization of shared objects
  • Support for optional data with default values
  • C++11 ready, C++03 compatible

Has full-featured formats:

  • XML
  • Binary

And also lightweight for machine-independent encoding/decoding Streamed Binary.

Read how to use s11n Warning Library is not ready for production purposes, because there is no warranty of stability of serialization format and API until stable version releases.

Acknowledgements

Bike uses pugixml library (http://pugixml.org). pugixml is Copyright (C) 2006-2012 Arseny Kapoulkine.

Bike uses Google Test library (https://code.google.com/p/googletest/). Google Test is Copyright 2005, Google Inc.

bike's People

Contributors

aptakhin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

bike's Issues

Cross-platform type names

Need something more cross-platform (and cross-compiler) than std::type_info::name() for determination needed class for construction.

Support for serialization out of class

Need to deal with classes, which wasn't written with s11n support.
There must be function out of class, which will have access to class members by get_/set_ access.

Writing pod data

For short attributes writing in XML.
Must have in Binary format.

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.