Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snake Game when compiling #14771

Closed
arnoexe opened this issue Nov 1, 2024 · 1 comment
Closed

Snake Game when compiling #14771

arnoexe opened this issue Nov 1, 2024 · 1 comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage.

Comments

@arnoexe
Copy link

arnoexe commented Nov 1, 2024

Problem

For small projects, it doesn't take too long to compile Rust projects.

For big projects, it can take a while, definitely if you've made a lot of changes. Hence why it could be nice to have a small snake game to play on the side in your terminal. Maybe a cool little easter egg that only works when you pass a specific flag in the cargo run command.

Proposed Solution

Snake game.

Notes

Snake game.

@arnoexe arnoexe added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage. labels Nov 1, 2024
@weihanglo
Copy link
Member

As for gaming during compilation, I would recommend Factorio, which you also wait for cargos a lot in game.

Joke a side, we have a Performance label tracking Cargo's performance issues. The compilation of Rust mostly spend on the compiler side. Read this chapter of The Rust Performance Book for how to improve the compile time.

As for Cargo itself, issues would immediately impact compile time is a better story around caches. Per user cache is one of them. A better scheduling algorithm also a potential one.

Close as maintainers have no capacity to maintain this easter egg. Feel free to discuss more on those issues :)

@weihanglo weihanglo closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage.
Projects
None yet
Development

No branches or pull requests

2 participants