3 ms·
Great writeup, especially that you are really fair to both and make good statements. > Java has a lot going for it, and I probably will keep using it for some
by merb 11y ago
Great writeup, especially that you are really fair to both and make good statements.
> Java has a lot going for it, and I probably will keep using it for some time.
Me, too. And I will always keep an eye on rust, especially since I also use Scala. ;)
However the only downside of rust, is that crates.io doesn't has so powerful things like Java has in maven. However comparing Libraries of a 20 year old language vs a "some" year old language is somewhat unfair. What I would like would be Java <-> Rust FFI.
- DannoHung 11y agoThis may make you happy then: https://github.com/sureshg/java-rust-ffi https://github.com/sureshg/java-rust-ffi
- voltagex_ 11y agoHeh, I wonder if I could write a Minecraft mod in Rust with this
- kitd 11y agoI have written a native extension library for Java in Rust. It's really no different from doing it in C. Mind you it was pretty simple. The only slightly bizarre bit is matching the java types to the libc equivalents, and telling rustc that you don't want to enforce snake naming.
- llogiq 11y agoThanks, glad you like it. > crates.io doesn't has so powerful things like Java has in maven Could you elaborate on this? I'm only using maven in a few projects and have only shallow experience with it.
- merb 11y agoYeah that was badly written. I meant in Maven are way more powerful libraries than in crates.io. Most things in crates.io aren't really "stable" or "useful" (yet). They are in a really early stage, while in Java you have access to thousands production ready / tested libraries. I.E. Pdfbox, Netty, Akka, etc..
- llogiq 11y agoAh, yes that's true. The java ecosystem had much more time to mature, and it shows.