Anuken / Mindustry-Suggestions

Repository for Mindustry suggestions and feedback
131 stars 58 forks source link

Rewrite in Rust #3664

Closed TheAirBlow closed 1 year ago

TheAirBlow commented 2 years ago

Describe what you would like changed, and why.

Mindustry should be rewritten in rust, because rust is a multi-paradigm, general-purpose programming language. Rust emphasizes performance, type safety, and concurrency. Rust is the first language to enforce memory safety โ€” that is, that all references point to valid memory โ€” without requiring the use of a garbage collector or reference counting like other memory-safe languages. To simultaneously enforce memory safety and prevent concurrent data races, Rust's borrow checker tracks the object lifetime and variable scope of all references in a program during compilation. Rust is popular for systems programming and low-level memory management, but also offers high-level features including functional programming constructs.

Describe the changes you want to propose. Include possible alternatives.

image

SMOLKEYS commented 2 years ago

quite the intriguisting sight

deltanedas commented 2 years ago

marko zajc

Anuken commented 2 years ago

PRs accepted

Anuken commented 2 years ago

:)

IVV-NCX commented 2 years ago

Honestly, Rust is pretty much universally better in terms of performance...

But... it's another very, very long project to rewrite a whole game.

TheAirBlow commented 2 years ago

PRs accepted

ok

Anuken commented 2 years ago

if I don't see that PR with 100% game feature coverage within the next week you are a fake rust fan

markozajc commented 2 years ago

wrong,

markozajc commented 2 years ago

https://docs.rs/jni/latest/jni/

Anuken commented 2 years ago

image

completely unacceptable

code-explorer786 commented 2 years ago

ultimate suggestion

Arkanic commented 2 years ago

https://github.com/mTvare6/hello-world.rs

this is an excellent project if you want reference on how 2 rust!!!!

pls use rust :rocket:

code-explorer786 commented 2 years ago

Honestly, Rust is pretty much universally better in terms of performance...

But... it's another very, very long project to rewrite a whole game.

Yeah, would take like months or so. 1 week feels too short for a large game like this.

IxGamerXL commented 2 years ago

I might be asking a stupid question or something, but does Rust have any Javascript/Java support, or will there be support coming from other file types? If there is no support for Javascript or Java, lots, and lots, AND LOTS of mods will be hardlocked as unsupported.

If there is legacy support for older mods and in general, that might be fine then.

Arkanic commented 2 years ago

yesyes its already confirmed mindustry will be 100% rust in the next 6 hours

now go back to your slave camp and transpile some code

markozajc commented 2 years ago

done https://github.com/Anuken/Mindustry/pull/7062

IxGamerXL commented 2 years ago

https://github.com/mTvare6/hello-world.rs

this is an excellent project if you want reference on how 2 rust!!!!

pls use rust rocket

that has >300 lines for just saying hello what in the name of trigonometry and algebra-

yesyes its already confirmed mindustry will be 100% rust in the next 6 hours

now go back to your slave camp and transpile some code

I'm not saying I disagree or anything, but I am saying that javascript and java support is heavily required if you don't want thousands of mod developers (and mod users) to get furious. Conversion to Rust in terms of everything including external sources is like kicking out most of the people who make mods and barely leaving any to make mods, and they might not even be good at making mods or they might've even stopped making mods altogether.

If there is no support, this has got to be the biggest middle finger in the history of Mindustry Modding.

Arkanic commented 2 years ago

@IxGamerXL zajc already finished too late

markozajc commented 2 years ago

@IxGamerXL ok but have you heard about Fearless Concurrency? Rust๐Ÿš€ programs are Blazing Fast and Memory-Safe, so you can take your mind off dealing with pesky bugs

markozajc commented 2 years ago

if java is so good why do we need java the script

code-explorer786 commented 2 years ago

I'm not saying I disagree or anything, but I am saying that javascript and java support is heavily required if you don't want thousands of mod developers (and mod users) to get furious. Conversion to Rust in terms of everything including external sources is like kicking out most of the people who make mods and barely leaving any to make mods, and they might not even be good at making mods or they might've even stopped making mods altogether.

If there is no support, this has got to be the biggest middle finger in the history of Mindustry Modding.

sourcemodding exists

stillwaterkay commented 2 years ago

I might be asking a stupid question or something, but does Rust have any Javascript/Java support, or will there be support coming from other file types? If there is no support for Javascript or Java, lots, and lots, AND LOTS of mods will be hardlocked as unsupported.

If there is legacy support for older mods and in general, that might be fine then.

im pretty sure they're joking about the whole rust thing

SMOLKEYS commented 2 years ago

image

completely unacceptable

this is why i love this fucking community topogus

TheAirBlow commented 2 years ago

https://github.com/mTvare6/hello-world.rs this is an excellent project if you want reference on how 2 rust!!!! pls use rust rocket

that has >300 lines for just saying hello what in the name of trigonometry and algebra-

yesyes its already confirmed mindustry will be 100% rust in the next 6 hours now go back to your slave camp and transpile some code

I'm not saying I disagree or anything, but I am saying that javascript and java support is heavily required if you don't want thousands of mod developers (and mod users) to get furious. Conversion to Rust in terms of everything including external sources is like kicking out most of the people who make mods and barely leaving any to make mods, and they might not even be good at making mods or they might've even stopped making mods altogether.

If there is no support, this has got to be the biggest middle finger in the history of Mindustry Modding.

Why you're taking about this too seriously lol

SMOLKEYS commented 2 years ago

https://github.com/mTvare6/hello-world.rs

this is an excellent project if you want reference on how 2 rust!!!!

pls use rust rocket

that has >300 lines for just saying hello what in the name of trigonometry and algebra-

yesyes its already confirmed mindustry will be 100% rust in the next 6 hours

now go back to your slave camp and transpile some code

I'm not saying I disagree or anything, but I am saying that javascript and java support is heavily required if you don't want thousands of mod developers (and mod users) to get furious. Conversion to Rust in terms of everything including external sources is like kicking out most of the people who make mods and barely leaving any to make mods, and they might not even be good at making mods or they might've even stopped making mods altogether.

If there is no support, this has got to be the biggest middle finger in the history of Mindustry Modding.

stop taking this seriously you fu-

itcannotbe commented 2 years ago

https://github.com/mTvare6/hello-world.rs this is an excellent project if you want reference on how 2 rust!!!! pls use rust rocket

that has >300 lines for just saying hello what in the name of trigonometry and algebra-

yesyes its already confirmed mindustry will be 100% rust in the next 6 hours now go back to your slave camp and transpile some code

I'm not saying I disagree or anything, but I am saying that javascript and java support is heavily required if you don't want thousands of mod developers (and mod users) to get furious. Conversion to Rust in terms of everything including external sources is like kicking out most of the people who make mods and barely leaving any to make mods, and they might not even be good at making mods or they might've even stopped making mods altogether.

If there is no support, this has got to be the biggest middle finger in the history of Mindustry Modding.

Why so serious?

code-explorer786 commented 2 years ago

stop taking this seriously you fu-

wait this reminded me that i'm learning Rust

markozajc commented 2 years ago

ok.

TheAirBlow commented 2 years ago

โ™‚300 bucksโ™‚ and I'll open this issue again

markozajc commented 2 years ago

he switched to the dark side

TheAirBlow commented 2 years ago

@markozajc I am a C# fanboy

TheAirBlow commented 2 years ago

@markozajc guys issue aliv

TheAirBlow commented 2 years ago

@Anuken do it NOW

SecondNewtonLaw commented 2 years ago

he switched to the dark side

Blazingly fast code is hard to write, he wanted a compensation, remember, we are off for like half year onto the Mindustry (Ja๐Ÿคฎ)-> into Rust ๐Ÿš€๐Ÿš€๐Ÿš€๐Ÿš€

LixieWulf commented 2 years ago

If there is no support, this has got to be the biggest middle finger in the history of Mindustry Modding.

modding is just a containment area for all of the preteens who don't know how to socially interact yet sauce: modding-general image

many of us are intelligent and older - glenn is probably the youngest one of us while i am 18. your "sauce" here is about a community built over years of people you cant even think to understand, leading you to assume we are just preteens. just to rub that in your face, ill mention that i have two (biologically) female frens in real life and several online, while you have none and no bitches.

on the topic of how much it would be a middle finger to modding, it would indeed be - mods are build with JSON, rhino JS, or JVM compatible languages. only JSON would be remotely easy to support through a Rust port, the other ones would simply stop working nicely. good luck getting a 100% feature perfect Rust port while still having to support JS and Java mods.

SecondNewtonLaw commented 2 years ago

we will just implement mods with just Json. 100% possible.

LixieWulf commented 2 years ago

JSON modding is... limited. although you can create fun stuff with it, it can be hard to work with. its better to maintain a better system as well as JSON for ease of simple mods and for advanced modding.

SecondNewtonLaw commented 2 years ago

at this point it seems this is actually not a joke anymore and a Mindustry (Rust) wants to exist

00001H commented 2 years ago

-1 Rewrite it in Mindustry Logic instead

github-actions[bot] commented 1 year ago

This suggestion is now stale, and will be automatically closed.

markozajc commented 1 year ago

rus is gone

Arkanic commented 1 year ago

government AI shill bot cia honeypot killing the truth deep state ending future ideas rust too dangerous for the authorities fbi investigation illuminati

markozajc commented 1 year ago

your 8chan moderation application has been accepted, welcome to the team

SecondNewtonLaw commented 2 weeks ago

rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€rust ๐Ÿš€ rust ๐Ÿš€