Urgent.News

What's breaking now, across thousands of outlets.

Tech

LLVM Improves Zen 1 / Zen 2 Support To Deal With "Notoriously Bad" PDEP/PEXT

The LLVM/Clang compiler toolchain merged overnight better support for the nearly decade-old AMD Zen 1 processors and also helps with Zen+ and Zen 2 processors too. This latest work thanks to the open-source community is for providing more informed instruction scheduling around PDEP and PEXT that end up being quite costly for these original Zen processors...

We haven't written up this one. Phoronix has the full story — the link below goes straight to it.

Read the original at phoronix.com →

More in Tech

Building a Wait-Free Queue in Rust

There is a point in systems programming where concurrency stops being about “running things at the same time” and starts becoming a conversation about guarantees . Most programmers first learn concurrency through locks. You have shared data. You protect it with a mutex. One thread enters. Everyone else waits. It works.

  • Rust's ownership and type system help prevent concurrent memory bugs.
  • Wait-free algorithms allow threads to make progress independently of others.
  • A bounded ring buffer and sequence numbers are used to implement a wait-free queue in Rust.

More from Thursday 27 August →