this post was submitted on 22 Oct 2024
64 points (100.0% liked)

Rust

5953 readers
7 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
top 10 comments
sorted by: hot top controversial new old
[–] KamikazeRusher@lemm.ee 8 points 2 weeks ago

Some of the notes highlight that performance differences in specific tests were due to AVX-512 support. I’d like to see a post going into detail about what challenges the libraries (or their dependencies) went through to get that integrated and how much of an increase came from it.

[–] patrick@lemmy.bestiver.se 5 points 2 weeks ago

This article is so weird. “We outperformed our competitors because Intel improved the performance of the AWS owned cryptography library we use.”

So like…what did you guys do? Don’t get me wrong, I’m not saying that you did nothing, but your career would go better if you put it in the article that is specifically for bragging about your accomplishment.

[–] JoYo@lemmy.ml 4 points 2 weeks ago (2 children)

very nice, now let's see that binary size.

[–] FizzyOrange@programming.dev 17 points 2 weeks ago (2 children)

Unless the binary size difference is insane, who would say "oh well we were going to pick the library that wasn't riddled with security issues but we decided to save 2MB instead, hope that makes you feel better about your $12m cybersecurity fine!".

[–] KamikazeRusher@lemm.ee 4 points 2 weeks ago (1 children)

There are only going to be edge-cases where the binary size will really cause headache. Individual projects probably won’t worry too much about a size difference if it’s less than 10-20MB.

[–] JoYo@lemmy.ml 2 points 2 weeks ago (1 children)

my whole career is those edge cases

[–] KamikazeRusher@lemm.ee 7 points 2 weeks ago

I don’t doubt that some places care about a 1MB size difference. After all, some embedded systems with limited storage need every megabyte they can spare.

[–] JoYo@lemmy.ml 1 points 2 weeks ago

yes, i know people that will pay 12m to save 2mb.

[–] Solemarc@lemmy.world -4 points 2 weeks ago (1 children)

I can't be bothered to build them but looking at the releases on GitHub openssl 3.4.0 is 17.5mb and rustls is 2.6mb. both of these releases are source files not binaries but I don't see how rustls could possibly be larger than openssl.

[–] Username@feddit.org 16 points 2 weeks ago

Comparing source code sizes is completely meaningless. Rust projects are usually smaller with far more granular dependencies.