programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
snaggen to RustEnglish · 2 years ago

Getting rustc to use AVX2 SIMD

alexheretic.github.io

external-link
message-square
0
link
fedilink
16
external-link

Getting rustc to use AVX2 SIMD

alexheretic.github.io

snaggen to RustEnglish · 2 years ago
message-square
0
link
fedilink
SIMD roughly means CPU instructions that do multiple things at once. Making use of them can make algorithms faster. The rust compiler actually uses them automatically, but it doesn’t for newer SIMD instructions like SSE4.2 & AVX2. SIMD Feature Coverage SSE2 100% SSE4.2 99.1% AVX2 89.2% AVX512F 8.73% Steam survey October 2022 Rustc can’t use them by default because not every CPU will work with them. But these days most CPUs do support these newer instructions and so certain tasks can be a lot faster for a lot of people.
alert-triangle
You must log in or register to comment.

Rust

rust

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.

  • 24 users / day
  • 52 users / week
  • 394 users / month
  • 2.93K users / 6 months
  • 1.5K local subscribers
  • 7.13K subscribers
  • 1.04K Posts
  • 4.88K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • EdTheLegendary
  • kahnclusions
  • torcherist
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org