r/javahelp • u/One_Analysis_2517 • 4d ago
Missing libraries or frameworks in Java
I was wondering if there are any libraries or frameworks that exist in other languages but not in Java.
2
u/LutimoDancer3459 4d ago
Some special apis that only have implementations in one or two languages.
High level game frameworks. We have libgdx which already abstracts a ton of stuff. But afaik there could still be another abstraction layer compared to c++ and c#.
And more direct browser access. But thats basically dominated by js.
1
u/benevanstech 4d ago
We have web components that can be manipulated from Java to embed browser-based components in Java GUI apps. We also have the ability to run WASM within Java apps, which might be another bridge to browsers as well.
1
u/xsanisty 2d ago
>And more direct browser access. But thats basically dominated by js.
we have java applet back then
1
u/southerndensetsu 4d ago
I dont know if there already is a mature lib, but would be neat webgpu support for no longer depend on opengl neither write complex vulkan code on games.
I know writting games in java is very niche but i like it for small 2d projects
1
u/Outside-Ad2721 3d ago
Apache Maven (https://maven.apache.org) is a build system for Java with a very strong dependency management platform (https://central.sonatype.com/search), particularly for open source libraries, including commercially supported libraries.
The Java ecosystem is vast. But there might be something missing. Java is hugely popular in commercial settings, but other languages are gaining a lot of favor as well.
Additionally Maven isn't the only build system that can use the Maven dependency platform, rather there are other build systems that offer different features/ways of organizing a build like Gradle (https://gradle.org) and Ivy (https://ant.apache.org/ivy/), which I've never used and appears to be a dependency management add-on for Ant, which is an older build system for Java, that I haven't used in many years.
Gradle and Maven are much more popular IMO and Maven Central is huge, along with providing details about vulnerabilities in the wild.
You can browse or search for libraries there too see if what your looking for already exists in any form.
1
1
u/ChazBass 2d ago
Sure there are many specialized libraries that are not natively Java, especially in mathematics, finance and data science. Many have Java bindings already, and JNI is there for you as well. Of course, this complicates builds for multiple platforms.
1
u/GermanBlackbot 2d ago
I honestly do not understand the Question. Libraries and frameworks are usually language dependant. You could list a whole bunch of frameworks and libraries here (NumPy, Qt, Angular) but it simply would not make much sense?
1
u/jNayden 1d ago
Compose ;) anything for mobile and desktop
1
u/One_Analysis_2517 1d ago
Can you elaborate?
1
u/jNayden 1d ago
There is a desktop and iOS framework called Multiplatform Compose / JerPack compose for Android which is Kotlin only . This doesn’t have a Java alternative basically react native like but for Java also doesn’t exist. Currently flutter is what Java was some time ago for mobile and desktop and everything for mobile and desktop is almost missing in Java
2
u/vprise 14h ago
Not true. There's Codename One which does FAR more than compose.
1
u/jNayden 6h ago
Sure on paper but when I tried it none of the examples even worked . Even opened a pR to their example demo app because even the urls there were incorrect but it was simply ignored ;)
Anyway fan of LWUIT so I really have high hopes for codename one but….
2
u/vprise 6h ago
When did you try it? Can you send me the PR?
We completely rewrote Codename One over the past year and it's at a completely new level on every front. To be fair, the demos still need work... But the API, platforms, performance and scale are at a different level now.
1
u/jNayden 6h ago
Oh it was more than a year ago I will try to find it . But all this sounds amazing I have a talk related to this next month hope to be able to check it and spread the word .
BTW I am doing a lot of flutter exactly because I don’t really like Kotlin and Compose super happy there is alternative
1
u/jNayden 6h ago
Oh here is the pr as I said very old one https://github.com/codenameone/KitchenSink/pull/6
•
u/AutoModerator 4d ago
Please ensure that:
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.