[Rock-dev] PROPOSAL: change policy on vizkit3d plugin namespaces

Sylvain Joyeux sylvain.joyeux at dfki.de
Thu Apr 19 11:13:39 CEST 2012


The current policy for vizkit3d plugins is to put them in the vizkit 
namespace, regardless of which package defines them

This is wrong for the following reason:

  - this is inconsistent with the rest of the namespace policy (one 
namespace per library)
  - namespaces are used for a reason: avoiding name clashes
  - since vizkit plugins are loaded dynamically, name clashes silently 
cause weird problems at runtime between completely unrelated packages.

Background: I spent 2x 1.5 hours the last two weeks tracking down weird 
bugs that were due to name clashes between -viz.so libraries.

My vote: +1

Sylvain


More information about the Rock-dev mailing list