Coder Social home page Coder Social logo

yats's People

Contributors

highlife1911 avatar j-o avatar lawben avatar mflueggen avatar zanthelo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

highlife1911

yats's Issues

Add convenient header task.h

There should be an include task.h that imports names into the global namespace that are used in Tasks such as Input Output and OutputBundle. The alias name should be shorter like in out bundle.

Implement a template based is_unique

This should behave like a type trait and should take a tuple of input or output objects and should return true if the ID is different in all objects.

Add negative compilation tests.

We have multiple situations where we check if something is valid and then fail the compilation. This can not be tested with googletest because these tests are not compilable.
We need some kind of CMake function that adds targets and tries to compile them. This target should fail if these files can be compiled.

Setup CPPCheck

CPPCheck might be usefull finding problems, it might be a good idea to do this with travis.

Add lambda tasks

The lambda task can be added using the add function of the Pipeline. It should create a dummy task that works like every other node.

Abstract type interface

Make sure that every Abstract type that exists uses has a virtual destructor and is not copyable or moveable when its children are not copyable or moveable.

Update GoogleTest

Update GoogleTest and set up the new version as subrepository. Use a stable tag for this purpose and test if this works with Visual Studio 2015.5.

Remove names from pipeline

The pipeline and the add function contains a name parameter and stores the data in a map. Remove the name completely and store the data in a vector. Also adapt the build function in AbstarctTastConfigurator.

Refactor MakeHelper

Make helper should be better sorted and documented. Also check if every type is actually used.

Implement get_value_type

This for each should take a variable number of arguments and apply a type trait to all of them. I don't know the interface for this.

Implement Input template class

Implement Input template class that takes a type T and a c string. This class should construct implicit from T and should have a converting operator to T. The string should be parsed at compile time.

Input- and OutputProxy names

I find the names InputConnector and OutputConnector more suiting for the current names InputProxy and OutputProxy. May I rename them?

Split declaration and definition.

Split each .h that works with templates into a .h and .inl. The .inl should be included at the end of the .h and should not include anything themselves. Only the .h should have a #pragma once.

Remove Functional.h

Remove functional.h and replace its usage with a reinterpret_cast to void*. This is not unsafe at the position Functional is currently used but it removes an additional allocation.

Constexpr string hashing

We need a function which hashes a std::string / c string at compile time and returns a size_t. Additionally we should provide a user_literal with the same functionality.

OSX build times on Travis are very high

We should discuss how we want to deal with the long waiting times for OSX builds on Travis.

Options:

  • leave it as is and wait for jobs to be scheduled
  • limit OSX to build only release or debug
  • remove OSX from CI (probably worst of the ideas)

Derive from MakeHelper

Derive from a helper class instead of typing using = Helper..... I am not 100% sure but this might remove the need of always writing Helper:: before every type or constant.

Remove legacy feature header for C++11 and C++14 features

There are includes in this project that check the compiler version and define optional keywords introduced in C++11 and C++14. For example there is a line:
#define final
that activates when the compiler does not know this keyword. There is a checked in include and also some cmake code that tries to generate one.

AbstractTaskConfigurator input and output

I find the function names input and output misleading. input does not "input" somthing and output does not output something. I suggest to rename the functions to getInput and getOutput.

CI should run unit tests

Our CI services should run unit tests and check for their result. There is already a test target, that runs every unit test and that can be used.

Implementation of optional

We need an Implementation of std::optional that does not rely on C++17. Implement one yourself or search one on the Internet but also think about the license.

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.