this post was submitted on 05 Nov 2026
347 points (98.6% liked)

Technology

7518 readers
145 users here now

News community around technology, social media platforms, information technology and governmental policy surrounding it.

What doesn't fit here?

The core of the story has to be technology focused.


Post guidelines

Title formatPost title should mirror the news source title. If you don't like the title of article, look for an alternative source instead of editorializing it.
URL formatPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
[Opinion] prefixOpinion (op-ed) articles must use [Opinion] prefix before the title. Opinion articles refer to articles that their publisher doesn't explictly endorse.
Country prefixCountry prefix can be added to the title with a separator (|, :, etc.) if the news is from a local publisher who doesn't clearly mention the country.


Rules

1. English onlyTitle and associated content has to be in English.
2. Use original linkPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
3. Respectful communicationAll communication has to be respectful of differing opinions, viewpoints, and experiences.
4. InclusivityEveryone is welcome here regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
5. Ad hominem attacksAny kind of personal attacks are expressly forbidden. If you can't argue your position without attacking a person's character, you already lost the argument.
6. Off-topic tangentsStay on topic. Keep it relevant.
7. Instance rules may applyIf something is not covered by community rules, but are against lemmy.zip instance rules, they will be enforced.


Companion communities

!globalnews@lemmy.zip
!interestingshare@lemmy.zip


Icon attribution | Banner attribution


If someone is interested in moderating this community, message @brikox@lemmy.zip.

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ryannathans@aussie.zone 11 points 3 days ago (2 children)

Rust apps seem to always be on the heavy side, maybe depends how much debug info they leave in

[–] fartsparkles@lemmy.world 38 points 3 days ago (1 children)

Indeed, they’re probably shipping a backtrace symboliser, and since there’s no system-wide equivalent of libc to link against, they’ll be including the entire Rust standard library with the binary too.

My other hunch is the Krisp noise cancellation ML model is a huge chunk of the memory footprint.

[–] Axolotl_cpp@lemmy.dbzer0.com 5 points 3 days ago

Krisp shouldn't be running when you ain't on a VC tho, I neve use VCs tbh and still get crazy numbers

[–] threeonefour@piefed.ca 8 points 3 days ago (2 children)

I once played around with reverse engineering a Rust program. I compiled the optimized version of the standard "hello world" program which somehow turned into 50,000 lines of assembly.

It looked like it copied over dozens of functions from libc and the data section was filled with every single possible error string "file not found", "connection timed out", etc. as if there was a possibility of hello world generating an access denied error.

[–] henfredemars@infosec.pub 6 points 2 days ago

Was your C hello world program statically linked? I believe Rust includes its libraries whereas the typical hello world does not. Static linkage generally brings in large amounts of unused code.

[–] boonhet@lemmy.zip 3 points 2 days ago

Rust has static linking, you get the necessary (and some unnecessary) parts of the standard library in your binary instead of the user having to install the library the way you have to have a libc installed. Makes for fatter binaries but much easier compatibility.