Get the latest tech news

Why is calling my asm function from Rust slower than calling it from C?


This is a follow-up to making the rav1d video decoder 1% faster, where we compared profiler snapshots of rav1d (the Rust implementation) and dav1d (the C …

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of asm function

asm function

Related news:

News photo

Rex is a safe kernel extension framework that allows Rust in the place of eBPF

News photo

44% Of GNOME Core Apps Are Written In C, 13% In JavaScript & 10% In Rust

News photo

Linux Kernel Highlights For 2025: Schedulers, Rust & Torvalds' Commentary