-
-
Notifications
You must be signed in to change notification settings - Fork 278
Use a single step setup for C++-API and all bindings #366
Copy link
Copy link
Closed
Labels
breaking changeBreaks backwards compatibility and users need to actBreaks backwards compatibility and users need to act
Milestone
Description
Currently, some bindings (C++, Python) use a two step setup, where first the SolverInterface object is created and then the SolverInterface is configured:
SolverInterface( String participantName, int rank, int size );
configure( String configuration );
Other bindings (C, Fortran) use a single step setup:
precicec_createSolverInterface(participantName, configuration, rand, size);
This is not consistent and (at least for me) there is no obvious reason why a two-step setup is necessary. Therefore, let's change all bindings to use a one step setup.
Note: If we want to have this change in v1.x, we have to maintain the API and therefore have to provide the two step setup. Only in v2.0 we can entirely get rid of the two-step setup.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changeBreaks backwards compatibility and users need to actBreaks backwards compatibility and users need to act