23
Is it possible to write Rust on a low end system?
(lemmy.today)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
8GB is not a lot to work with. It mostly depends on what crates you work with (unfortunately by default rust statically links all code in a single final step and that can be consuming a lot of RAM) Modern editors consume a lot of RAM, and if you have rust-analyzer running it's going to use a lot more in addition to the editor.
Tips:
cargo tree,cargo depgraphand thecargo build --timings). Instead of enabling all features on crates, enable only what you need.cargo checkvery often and read up method names on docs.rs a lot more.is considered harmful.
^I^ ^don't^ ^know^ ^if^ ^someone^ ^wrote^ ^that^ ^blogpost^ ^for^ ^me^