-
Notifications
You must be signed in to change notification settings - Fork 18
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
Getting rid of shitty upstream depedencies #35
Comments
What is jpm? |
Sounds like Java ecosystem is in a mess. Or probably this is true for every language... |
Yes, this is because Java didn't have a module system or package management system long time ago. The community designed a format called "POM" (probably by maven) and it became the de-facto standard, but starting from Java 9 there is a new, official one. Part of the community is not willing to change, but we're not one of 'em. |
Seems to be a bad choice of Oracle for not officialize the community solution already. |
I don't know. There are pros and cons. The community solution relies on jars, while the official one is based on modules. By that, we can trim unused modules when packaging the application, giving rise to smaller releases. The jar-based solution often uses some hacks to remove unused classes |
Also maybe it's hard for the standard library to be modularized in a way the community do |
Idk |
I decide to delay this until we reach some late-milestone, like 0.12 or 0.15, after some major language features are worked upon. |
254: Use commonmark packaged by ourselves r=ice1000 a=ice1000 bors merge this part of #35 Co-authored-by: ice1000 <[email protected]>
|
Removing our own libraries:
|
540: Use javacs language server r=ice1000 a=ice1000 A big step of #35 Co-authored-by: `@imkiva` bors r+ Co-authored-by: ice1000 <[email protected]> Co-authored-by: imkiva <[email protected]>
Latest
|
It may look like more dependencies, but most of them are actually very small libraries maintained by us. So it should be an improvement. |
We are currently suffering from the following projects:
The plugin does not work with Java 19.doesn't support jpms, written in Java 8 with a return-void visitor (Add jlink-compatible Java9/Jigsaw module-info (not automatic modules) commonmark/commonmark-java#125). I think we can take some code from it, repackage, and add jpms support.There is an outdated attempt to add jpms: https://github.com/xzel23/commonmark-java/tree/0.14.0-jigsawAlready repackaged and redistrubuted, see https://github.com/aya-prover/commonmark-javaoutdatedJImGui -- it doesn't yet have jpms support, but I can add it in a minute since it's my project, so it's a small problem.Also, I propose removing the tgbot subproject since it's useless.
The text was updated successfully, but these errors were encountered: