Giter Club home page Giter Club logo

cpp_sandbox's Introduction

Boost Licence

Bitdeli Badge

Travis Status

Build Status

Coverage Status

Version

Github Issues

Codeship Status for rafald/cpp_sandbox

cpp_sandbox

Sandbox to experiment with:

  • travis and coveralls integration
  • bjam / Boost.Testing build tool
  • modern C++ features

C++ tips:

  • reverse_iterators refer/dereference to the position right before the one they’re initialized with:
    • so for range it is ok to specify range: std::reverse_iterator(end_it), std::reverse_iterator(begin_it)
    • for translation of single iterator: std::reverse_iterator( std::next(iter) ) ) so iter can not be end()
  • more stuff goes here ...

Gurus:

  • Sean Parent
    • Write all code as if it where a library you intend to submit for standardization.

    • Focus on the interface.

    • Borrow, don’t invent.

    • Write complete and efficient types.

    • Use algorithms instead of loops.

    • Avoid inheritance and owning pointers in your interface.

    • Make your data structures explicit.

    • Use a task system, message queues, futures with continuations, and parallel algorithms, instead of threads, mutexes, semaphores, and condition variables. It is important to be able to scale down to a single thread as well as up to many.

    • Embrace nothingness.

    • Finally, don’t worry about how much space there is around parentheses, what line the curly brace goes, or if you use spaces or tabs. These are bike-shed arguments.

cpp_sandbox's People

Contributors

bitdeli-chef avatar gotchas avatar rafald avatar

Watchers

 avatar  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.