Giter Club home page Giter Club logo

Comments (2)

meshula avatar meshula commented on May 21, 2024

As I mentioned on the PR, my preference is that zep be widely deployable to my projects as they stand, without needing to force compiler upgrades. Supporting multiple compiler standards is less attractive to me than deployability, so I'd prefer to see those structures in the rapidly evolving portions of std avoided through the use of less modern features. #ifdef'ing around std and language differences means that issues can fall through the cracks unless someone is testing and maintaining the variants across compilers and compiler versions. Regressing the affected code to less modern features would avoid that. I realize that has a knock on effect, so it's not a trivial suggestion, but I think chasing standards is also not trivial, over the long term.

from zep.

cmaughan avatar cmaughan commented on May 21, 2024

I'm somewhere in the middle here! I like to be able to use the more modern features, and I'm all for fixes that work with C++17/20. On the other hand, as @meshula noted, I have tried to keep Zep working on most compilers.
The change to signals is actually to a shared library; so no real knowledge of what the right thing to do there is; the PR looks fine for me. I should add attribution to the header here (it is MIT, but the right thing to do): https://github.com/fr00b0/nod
The same thing for the threadpool; I didn't write it, but that fix looks OK to me.
The explicit on the MString is obviously the right thing to do; and I need to be better about using that keyword.

As you can see, the heavy STL/template usage is usually in shared bits; I don't favour this style of coding myself; I find it hard to update/understand. So I think these fixes are OK, given their location and the needs of @nicolasnoble

from zep.

Related Issues (20)

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.