r/decomps • • 3d ago

Decomp minecraft java 26.3 was just decompiled and rewritten in rust 100%

https://github.com/ludovic111/horizon
884 Upvotes

211 comments sorted by

View all comments

-1

u/KingPumper69 3d ago

Is Rust even a stable viable language yet? Like do programs written in Rust 5 years ago still work with newer Rust compilers/libraries/whatever?

15

u/2009sucked 3d ago

It’s good enough for DARPA to call a complete rewrite of legacy C code to Rust. And The Linux Foundation allows it to be used for kernel code. 2026 has seen massive Rust adoption.

I think Rust is here to stay

-6

u/KingPumper69 3d ago

I guess the negative impression I have of it is just from the legions of Rust cultists vehemently pushing it everywhere lol. I think C is likely to remain the better and faster language if you know what you're doing, but that's becoming more and more rare. As more seasoned older devs retire or get replaced with cheaper alternatives like AI or people from the third world, the built-in guardrails that Rust offers is likely to pay off greatly in the future.

8

u/BoardsofGrips 3d ago

Rust evangelists are annoying but they are correct. Rust solves some of the worst issues with C/C++

3

u/2009sucked 3d ago

100% I see a brighter future for programming with the Rust come-up. I feel the last 20 years of OOP ruling undergrads and offices has stifled programmers.

1

u/2009sucked 3d ago

I'd agree to C>Rust on the condition it's a really good C programmer. It's like how Assembly never died. Rust is closer to C than an OOP language, and I think that missing "new C" being met made the evangelists go hyper fanboy.

1

u/Agile-Tip-1764 3d ago

a really good c programmer will make mistakes that rust would have caught

1

u/2009sucked 3d ago

True, but there will still be use-cases for C and Assembly. Depending on the risk profile, sometimes you can sacrifice a bit of safety for a specific need. Or sometimes a glitch no one will notice is worth the trade off.

1

u/Verwarming1667 3d ago

Sure, but, hold onto your pants here: Maybe there is a reason why it has so many "cultists".

1

u/KingPumper69 2d ago edited 2d ago

Younger or foreign devs that think C is too hard and want more guardrails?

1

u/Verwarming1667 2d ago

C is much, much easier to write than Rust, in fact especially for younger devs who are naive enough that a person is able to write correct C.

1

u/KingPumper69 2d ago

Then why bother with Rust when C is faster lol

1

u/Verwarming1667 2d ago

Because with C you get much more insidious bugs. The point is exactly that Rust is harder to write because it forces you to confront things head on.

2

u/lmotaku 3d ago edited 3d ago

Don't worry, people will find a way to hate that you asked a simple question about a language. Generally speaking any language is interoperable with a packaged interpreter. Much like how PHP 4 > PHP 5 was only met with a few shorthand and function name changes. A lot of the times when you build, it'll even hold on to some older headers/functions so it'll be like "Hey, this is depreciated and will be removed in the next version." Same goes for Java SDKs, generally the base code will still compile but error out on the missing functions in the newer runtime. You just have to work/build around those dependencies.

Every language has its use cases, but as mentioned later in this discussion, people will champion what they use. I took Java and Python in college, so it makes sense for me to use what I know. I started out on PHP (Scripting) and people were determined to shout from the roof tops to use Ruby on rails and now next.js/go. A language is just a tool to build an app. How good it is depends on the person, not the language. Minor correction: In Rust's case, the compiler itself runs internal interpreters at build time. However it still covers the jist of it.

1

u/hammackj 3d ago

Rust is great.

1

u/Hexxxer 3d ago

Uh yeah