Skip to content
Snippets Groups Projects
  • Giovanni Bussi's avatar
    c4303330
    Using C++ interface in python · c4303330
    Giovanni Bussi authored
    I think python should use the C++ interface rather than the C one.
    The reason is that the C++ interface included in PLUMED 2.5
    rethrows exceptions and thus can be used to load
    a shared library compiled with a different compiler or
    linked against a different standard library.
    
    In perspective, this will allow compiling PLUMED with
    a different compiler/library than that used to compile
    python itself.
    c4303330
    History
    Using C++ interface in python
    Giovanni Bussi authored
    I think python should use the C++ interface rather than the C one.
    The reason is that the C++ interface included in PLUMED 2.5
    rethrows exceptions and thus can be used to load
    a shared library compiled with a different compiler or
    linked against a different standard library.
    
    In perspective, this will allow compiling PLUMED with
    a different compiler/library than that used to compile
    python itself.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.