Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Athletics vs. Rays Highlights | MLB on FOX

    Dollar wallows near 3-1/2-year low as Fed cuts, Trump bill in focus

    Chinese tourists crown Vietnam, sideline Thailand

    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram Pinterest VKontakte
    Sg Latest NewsSg Latest News
    • Home
    • Politics
    • Business
    • Technology
    • Entertainment
    • Health
    • Sports
    Sg Latest NewsSg Latest News
    Home»Technology»Rust developers offered $20k for rav1d to reach C performance
    Technology

    Rust developers offered $20k for rav1d to reach C performance

    AdminBy AdminNo Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    The folks behind Rust-based AV1 video decoder rav1d are looking for developers to get it running as fast as its C-based cousin, dav1d.

    It all kicked off back in March 2023. The plan? Build a high-performance AV1 decoder, but with all the memory safety goodness Rust brings. They teamed up with Immunant for the heavy lifting on the engineering side.

    Fast forward to September 2024, and rav1d was pretty much there – “basically complete,” as they put it. It passes all the same tests as the dav1d decoder it’s based on, and you can even get Chromium to play nice with it. But, the one little niggle: “it’s not quite as fast as the C version.”

    Now, we’re talking about a gap of roughly 5% slower than the C-based dav1d. It might not sound like a chasm, but as they say, it’s “enough of a difference to be a problem for potential adopters.” And, it clearly gets under their skin a bit: “frankly, it just bothers us.”

    They haven’t been twiddling their thumbs, mind. The core rav1d team slogged away at optimisation, even bringing in some specialist contractors. They’ve even written about their optimisation journey. But that last little bit of performance parity has remained stubbornly out of reach.

    “We were still unable to get to performance parity and, to be frank again, we aren’t really sure what to do next,” they admit with a refreshing honesty.

    This whole Rust versus C speed thing is a bit of a hot topic. Rust can often go toe-to-toe with C on speed in many areas. However, those brilliant safety features Rust boasts – like bounds checking – can add just a smidgen of overhead, especially in something as demanding as video work.

    The good news is that optimisations are constantly chipping away at this gap, suggesting that with enough smarts and effort, Rust could indeed match C. This whole bounty, then, feels like a bit of a gauntlet thrown down to the Rust community.

    The folks behind C-based FFmpeg couldn’t resist a cheeky comment: “Rust is so good you can get paid $20k to make it as fast as C.”

    The hope with the bounty pool of $20,000 is pretty clear: get some fresh eyes and clever minds onto the problem to nudge rav1d over the finish line. And it’s not just about rav1d; they’re keen that “ideally we and the Rust community will also learn something about how Rust performance stacks up against C.”

    If you’re thinking of having a crack, here’s the gist of the official rules:

    • Who can play? Individuals or teams, as long as you’re a legal resident or citizen of the US, UK, EU, EEA, Switzerland, Canada, New Zealand, or Australia.
    • How do you prove it? The full rules lay out how to benchmark any performance gains.
    • Where’s the magic needed? You can work your wonders on speeding up rav1d itself, the Rust compiler, or even the Rust standard library.
    • The big no-no: Both dav1d and rav1d share the exact same low-level assembly code optimisations. You absolutely “cannot modify this assembly.” The improvements must come from the Rust code or the compiler. Also, no sneaking in code written in other languages; it’s Rust all the way for rav1d.
    • Making it official: Get your improvements merged into the project like any other open-source contribution, then drop them an email as per the rules.

    When it’s all over – either because the goal’s hit or time’s up – they’ll “at our discretion, divide the bounty proportionally between the largest contributors to performance gains.”

    Ultimately, they’re holding the purse strings and “reserve the right to award the money to the person(s) or team(s) that we deem to have helped us reach or exceed performance parity in the best possible way.” So, it’s not just about the biggest gain, but the best gain.

    This is more than just a cash prize; it’s a clarion call to the Rust community. Can they step up and show that Rust can truly compete in these high-stakes, performance-critical arenas that C has owned for so long?

    See also: Chainguard rebuilds Python libraries to slam the door on malware

    Want to learn more about cybersecurity and the cloud from industry leaders? Check out Cyber Security & Cloud Expo taking place in Amsterdam, California, and London. The comprehensive event is co-located with other leading events including Digital Transformation Week, IoT Tech Expo, Blockchain Expo, and AI & Big Data Expo.

    Explore other upcoming enterprise technology events and webinars powered by TechForge here.

    Tags: av1, coding, development, languages, open-source, programming, rust

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Admin
    • Website

    Related Posts

    Football Fans In The UK Will Be Able To Watch Every Match Of This Summer’s FIFA Club World Cup FREE On DAZN

    Draft proposal looks to put EHR reform measures back on the table

    Airbus’ HTeaming gives helicopter crews in-flight UAS control   

    Get ready for watchOS 26 with $100 off a brand new Apple Watch Series 10

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Microsoft’s Singapore office neither confirms nor denies local layoffs following global job cuts announcement

    Google reveals “material 3 expressive” design – Research Snipers

    Trump’s fast-tracked deal for a copper mine heightens existential fight for Apache

    Top Reviews
    9.1

    Review: Mi 10 Mobile with Qualcomm Snapdragon 870 Mobile Platform

    By Admin
    8.9

    Comparison of Mobile Phone Providers: 4G Connectivity & Speed

    By Admin
    8.9

    Which LED Lights for Nail Salon Safe? Comparison of Major Brands

    By Admin
    Sg Latest News
    Facebook X (Twitter) Instagram Pinterest Vimeo YouTube
    • Get In Touch
    © 2025 SglatestNews. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.