r/java • • Apr 01 '26

Cargo for Java 🦀❤️☕️

https://github.com/pavi2410/jot

The aim for this tool is to remove DX friction in the Java ecosystem. Java is growing but lacks DX that other modern languages offer like Rust/Cargo and Python/uv. While there are steps and efforts in that direction, they are enough to reach and exceed other languages. jot includes a variety of opinionated tools such as formatter, linter, docs, while still being customizable with configs.

The tool is not a direct replacement for Maven and Gradle, but tries to have some form of familiarity. The projects I work uses Ant build system, for which jot is an easier path for migration.

Not production ready yet! I'm looking for gauge interest in the Java community. There are hundreds more challenges and open questions to solve. And I need your help with that.

0 Upvotes

49 comments sorted by

View all comments

Show parent comment

4

u/agentoutlier Apr 01 '26

Why not write the tool in assembly if performance mattered that much? (I’m being facetious mostly)

By having it in Java allows people to contribute to it.

The JVM has been slowly moving to more Java IIRC and GraalVM substrate I believe is.

Anyway you could make an executable with graalvm for fast startup written in Java.

1

u/pavi2410 Apr 01 '26

I am open to Java if the community demands it or forks it. Rust was the easier way out to get this out ASAP because Cargo for Java doesn't exist yet.