Coder Social home page Coder Social logo

Migrate from Catch v2 to v3 about ensmallen HOT 3 CLOSED

coatless avatar coatless commented on August 22, 2024
Migrate from Catch v2 to v3

from ensmallen.

Comments (3)

conradsnicta avatar conradsnicta commented on August 22, 2024

Not sure I'm a fan of the changes between v2 and v3. A strong advantage of the catch v2 framework is its relative simplicity and single header code, even if this does come at the cost of increased compilation time.

Moving to a static compiled library (in v3) seems to be making things too complicated for what is essentially a straightforward testing framework.

Catch v2 is still perfectly functional for our purposes, and it seems to be still getting minor improvements and fixes since the v2.13.10 release: https://github.com/catchorg/Catch2/tree/v2.x

Even the ancient v1 branch seems to be getting critical fixes: https://github.com/catchorg/Catch2/commits/Catch1.x

PS. v3 requires C++14, while ensmallen has C++11 as the minimum supported C++ standard. The need to keep compatibility with C++11 will considerably decrease once RHEL 7 and CentOS 7 go EOL in mid-2024.

from ensmallen.

rcurtin avatar rcurtin commented on August 22, 2024

I have to agree, I don't see what converting from v2 to v3 gives us. It seems like it adds complexity and requires changes but there is not much benefit for us. I don't see a huge issue if someone does want to go through the effort of upgrading, but I'm not particularly excited about doing it myself.

At the very least, the C++11 vs. C++14 issue is a blocker here for now---we don't currently require C++14 and as @conradsnicta pointed out, we shouldn't until RHEL7 is EOL.

from ensmallen.

mlpack-bot avatar mlpack-bot commented on August 22, 2024

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍

from ensmallen.

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.