Yetiowner / Increasing-code-complexity

Every day, I commit a new and more complicated version of some simple code.
227 stars 6 forks source link

Migrate to Rust #10

Closed Snapstromegon closed 1 year ago

Snapstromegon commented 1 year ago

I believe that #6 contained many valid points and because of that I want to contribute the migration to rust. As @TheSamDickey mentioned, this is not an easy switch, but will likely improve the situation for all users and even more so the energy consumption.

The only possible downsides from a professional point of view right now are a requried build step for execution (handled easily via cargo run --release) and a slightly increased code complexity, which should be okay.

This PR introduces rust as a dependency for the project. Use rustup to install it in a convenient way.

closes #6

floppydisken commented 1 year ago

The performance implications of staying close to the metal will be beneficial for the project overall. Arguably Rust is as readable as Python but blazingly fast. I second this PR. It really is the only sensible thing to do

Snapstromegon commented 1 year ago

For anyone stumbling upon this: You can currently vote for this PR here: https://www.reddit.com/r/ProgrammerHumor/comments/y97azd/comment/it482yg/?utm_source=share&utm_medium=web2x&context=3

TheSamDickey commented 1 year ago

Brilliant! This is a profound contribution that will be without a doubt impactful. I cannot imagine how many sleepless nights were sacrificed to accomplish such a high achievement.

Kudos!