Giter Site home page Giter Site logo

Comments (11)

jcarpent avatar jcarpent commented on July 30, 2024 1

@nim65s You can now move on to this issue. #260 forces the switch to C++ 11 and more.

from hpp-fcl.

jcarpent avatar jcarpent commented on July 30, 2024

Why do say that hpp-fcl is C++11? This is not the case on my side.
I don't think that we need to go towards std::shared_ptr yet. For hpp-fcl 2.0, we already discussed a bit with @jmirabel on some improvements which may simplify hpp-fcl while also improving the whole performances.
See https://github.com/humanoid-path-planner/hpp-fcl/projects/1

from hpp-fcl.

jcarpent avatar jcarpent commented on July 30, 2024

hpp-pinocchio is not compatible with pinocchio v2.6.0, so I can't publish pinocchio v2.6.0

What do you mean exactly?
I do not see any reason why hpp-pinocchio should be not compatible with Pinocchio 2.6.0 as there is no API or ABI breaching coming from Pinocchio.

from hpp-fcl.

nim65s avatar nim65s commented on July 30, 2024

hpp-fcl is not yet C++11 only.

In this issue, I am suggesting to change this, because this would be easier to switch all HPP at once, instead of having boost::shared_ptr in "hpp-fcl" and std::shared_ptr in "all HPP but hpp-fcl".

This would require less work to get everything working again, and will be faster.

And anyway, I guess we'll want to switch to std::shared_ptr in hpp-fcl at some point. C++11 is 10 years old now. So from my point of view, the question is "What are we waiting for", given that waiting more would require more work.

For hpp-pinocchio, cf. humanoid-path-planner/hpp-pinocchio#146

from hpp-fcl.

jcarpent avatar jcarpent commented on July 30, 2024

For me, this will break compatibility with Pinocchio, because hpp-fcl objects are exposed in the current API of Pinocchio.
The only solution on my side will be to wait for Pinocchio 3.x which will make C++11 the default C++ version with template generation support.

My veto is to wait for Pinocchio 3.x. We can discuss in private to see what is missing to launch Pinocchio 3.x

from hpp-fcl.

nim65s avatar nim65s commented on July 30, 2024

ok, let's synchronize this with Pinocchio 3 then.

from hpp-fcl.

jcarpent avatar jcarpent commented on July 30, 2024

Thanks @nim65s for your compliance.

from hpp-fcl.

jmirabel avatar jmirabel commented on July 30, 2024

#256 raised the C++ 11 question again. It has been 9 months since this discussion was started. A few questions:

  • What prevents future 2.x release of pinocchio to be C++ 11 ?
  • Anyone else has an opinion on this ?

from hpp-fcl.

jcarpent avatar jcarpent commented on July 30, 2024
  • What prevents future 2.x release of pinocchio to be C++ 11 ?

As already discussed, starting from Pinocchio 3.x.

from hpp-fcl.

jmirabel avatar jmirabel commented on July 30, 2024

from hpp-fcl.

jcarpent avatar jcarpent commented on July 30, 2024

For, me the main reason is downstream users of Pinocchio who have to stick to C++98.
I don't want to abandon them at this stage and prefer to prepare the spirit with Pinocchio 3.x
This could be the same for hpp-fcl, with version 2.x and more, compliant with C++14 and more.

from hpp-fcl.

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.