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

Unnecessary Optimization in Rust: Hamming Distances, SIMD, and Auto-Vectorization

emschwartz.me

external-link
message-square
3
link
fedilink
39
external-link

Unnecessary Optimization in Rust: Hamming Distances, SIMD, and Auto-Vectorization

emschwartz.me

arendjr@programming.dev to Rust@programming.devEnglish · 1 year ago
message-square
3
link
fedilink
If you're developing an application and find yourself running a benchmark whose results are measured in nanoseconds... you should probably stop and get back ...
alert-triangle
You must log in or # to comment.
  • Solon@cwb.social
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    That was satisfying. I was expecting a hundred lines of hand-tuned code. Rust rocks!

    • nik9000@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Zero cost abstractions are a hell of a thing.

  • BlackRoseAmongThorns@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Refreshing how optimized rust code is simple, coming from embedded in C, this is just * chef’s kiss *

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: [email protected]

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

Wormhole

[email protected]

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.

  • 89 users / day
  • 135 users / week
  • 421 users / month
  • 1.18K users / 6 months
  • 1 local subscriber
  • 7.55K subscribers
  • 1.13K Posts
  • 4.72K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org