-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propagate conventions into the C and Fortran APIs #311
Comments
what were you thinking about? because "convolve" went through I believe ... |
There are still |
Yes, in this sense I strongly agree with @cschwan: PineAPPL is the project where stability should be taken most seriously. Especially, when there are third-party tools not that actively maintained around. And supporting them is a selling point of PineAPPL. What you could do is instead a "long term" deprecation plan (as @cschwan also proposed): just extend the API with the new conventions, and mark as deprecated the old one. |
well as said 2a8a991 broke already the interface ... I can see your point and I agree with it, but as Germans would say "the child already fell into the well" (in English this even rhymes 🤣 ) |
@felixhekhorn The CAPI wasn't broken by this commit, in fact you can still use the old functions as is done in |
I see ... so the commit didn't break the CAPI (which is the relevant information), but the Fortran API |
Removing the Fortran binding was probably unintentional and that will break compilation, but existing programs should not break when you just replace the compiled library. Maybe that's even a good strategy to force people to upgrade. |
Existing statically-compiled programs :P (and I still consider better to adopt the deprecation plan explicitly, not to nudge users to upgrade just "breaking something, but not everything") |
Dynamically-compiled programs, actually, because the CAPI function is still there. |
My idea was that ultimately we will have to fix the Fortran API in order to be able to use it in https://github.com/NNPDF/sihp-pp, and therefore take that opportunity to polish things and propagate the conventions. I do understand indeed that this will have to be done with the utmost care, and I agree with @cschwan's plan. |
The renaming conventions should be propagated into the C and Fortran APIs as well as in the
examples
folder.The text was updated successfully, but these errors were encountered: