Replies: 4 comments
-
I guess that you might know more about the application of some software libraries than you indicate by such a wording.
💭 I suggest to reconsider this view in more detail for dependency management goals.
🤔 How do you think about to take another look at build generation tools?
For which actions would you become interested? |
Beta Was this translation helpful? Give feedback.
-
As a Pixelitor user I'm strongly against this idea. I'm using Pixelitor only because it's a pure Java application (together with JEdit, MuCommander, NetBeans,...). Please keep Pixelitor a pure Java application! |
Beta Was this translation helpful? Give feedback.
-
Well, this isn't going to happen for at least a year because even in Java 21, the Foreign Function & Memory API will still be in preview. Plus, it's going to be optional: the "core" (pure Java) Pixelitor will keep working even if you don't have or can't use the native libraries. Just like Pixelitor can use ImageMagick right now (through the command-line interface), but it doesn't require it. |
Beta Was this translation helpful? Give feedback.
-
In the meantime, I realized that in the C++ world there is no such thing as a universally accepted best practice for project setup. Therefore, the original question can't be answered, and I am closing this discussion. As for package managers, Conan seems to be the most popular. However, it is useless for our purposes since it doesn't have gegl and libgmic. |
Beta Was this translation helpful? Give feedback.
-
A lot of open-source code for image processing exists only as C/C++ libraries. To access C++ libraries, it may be worth using the Foreign Function & Memory API, even though it's still in Preview state in Java 19.
Some libraries we could use:
It was a long time ago (20 years...) when I was last seriously involved in C/C++ programming, I don't really know what would be the best way to use such libraries, I don't know what is good, what are the best practices, tradeoffs. I'd appreciate ideas in this area. As far as I understand, the best approach would be to copy the C/C++ source files into this repository, and have some command that builds .so and .dll files from them. It would be nice if all of this could also run in GitHub Actions.
(also see issue #235 the origins of this discussion)
Beta Was this translation helpful? Give feedback.
All reactions