physfluids.fr
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chrs@programming.dev to Rust@programming.devEnglish · 1 year ago

"Clean" Code, Horrible Performance in Rust

chrs.dev

external-link
message-square
25
fedilink
60
external-link

"Clean" Code, Horrible Performance in Rust

chrs.dev

chrs@programming.dev to Rust@programming.devEnglish · 1 year ago
message-square
25
fedilink
I was just recently going through some old episodes from Software Engineering Radio when I came across this one episode featuring Casey Muratori, where he goes through some of his thoughts around his video from February 2023, titled "‘Clean’ Code, Horrible Performance". I was actually already aware of the video by this time, but listening through the episode gave me an itch to see these concepts in my reality, experiment them by myself.
  • bonus_crab@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    so if (somehow) the accumulator was an integer, this loop would autovectorize and the performance differences would be smaller ?

    • Giooschi@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Very likely yes

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

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)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 11 users / day
  • 168 users / week
  • 390 users / month
  • 2.87K users / 6 months
  • 1 local subscriber
  • 6.89K subscribers
  • 510 Posts
  • 2.89K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.4
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org