Is it possible to write Rust on a low end system?
Is it possible to write Rust on a low end system?
8GB RAM isn’t a small amount (though by no means a lot). As far as RAM usage goes, the amount you need will scale with project+dependencies size, so for smaller projects, it shouldn’t be a problem at all.
8GB RAM doesn’t tell us about the rest of your system though. What CPU do you have? Is your storage slow? Performance is affected by a lot of factors. A slow CPU will naturally run programs slower, fewer hardware threads means less running in parallel, and slower storage means that reading incremental build data and writing it could be a bottleneck.
My system has a midrange amd cpu with 6 cores. I have an ssd.
I think the issue has to do with procedural macros in maud. The project is about 1000 dependencies and 10k loc.
Combined with tailwind classes and a complex ui, the templates get bloated. I have to test this theory.
The project is about 1000 dependencies and 10k loc
To me that’s a very big project. Have you tried using fewer compilation threads? Maybe you need to sacrifice some speed to make it fit in memory and disk?