brooke2k 4 days ago

I don't understand the vitriol this author seems to have towards rav1d/Rust. It's just a separate implementation of the project. Slower, faster, who cares? Getting so attached to "which language is faster" seems a tad dramatic.

But maybe I'm over-reading into what's actually friendly competition. The tone just seems oddly aggressive.

6
tuetuopay 3 days ago

There seems to be multiple people at videolan dunking on rav1d, in notable part due to how it was done (transpile C to Rust, and cleanup afterwards). Perhaps they're Rust purists and don't think that's how it should have been done. Or perhaps they're not happy that rav1d proclaims that Rust is (almost) as fast as C when all the performance engineering efforts went in the ASM bits, that were copied verbatim from dav1d.

My best guess would be for the same reasons the ffmpeg twitter account has shown a lot of vitriol too: funding taken away from the original project towards another effort.

viraptor 3 days ago

> funding taken away from the original project towards another effort

Alternative phrasing: "funding originally applied to one project benefiting multiple efforts". It's sad to see people from open source doing... gatekeeping? jealousy? something...

blub 3 days ago

Alternative definition of outsourcing: the salary originally applied to one person in high cost country benefiting multiple people in low cost country :)

But… why high cost country developers jealous?

hitekker 2 days ago

> rav1d proclaims that Rust is (almost) as fast as C when all the performance engineering efforts went in the ASM bits, that were copied verbatim from dav1d.

This is key. Not to mention how advocates for ra1vd are gaming their benchmarks and obscuring how unsafe the actual code is. The bounty presenting it as "safe" on memorysafety.org is a laugh.

IMO, that dishonesty deserves some snark from VLC and ffmpeg.

mmastrac 4 days ago

I would guess the author is young and smart, but hasn't spent much time working with others. I've seen this in other developers with lots of potential. It usually takes a few years of mentorship to smooth the rough edges.

StopDisinfo910 3 days ago

I think the ffmpeg / libav controversy definitely showed that codec implementation is an area which doesn't attract only well adjusted people. Emulators have the same issue. It seems to be common about this very technical, very low level projects.

You sometimes get contributors which are very attached to their work and have strong feelings about how things should be done with the deadly combo of low / still developing social skills.

viraptor 3 days ago

It definitely is oddly aggressive. They could just say that the rav1d bounty motivated them to look for improvements in dav1d and it would be an awesome result. There's nothing like healthy friendly competition. But this isn't it.

sph 3 days ago

> making tools for more convenient work with C/C++ projects on Rust (as Python) is a more useful thing than trying to replace an already working dav1d solution (or any FOSS infrastructure) that has been tested by time, many contributors and most vulnerabilities have been closed. New projects will also have performance and vulnerability issues. No need to waste your time writing another bike, there are much more useful things.

This is their rationale, which you might disagree with, but I can’t notice any “vitriol” you’re talking about. Other people might have different opinions than yours about their favourite language, and that’s fine.

Thaxll 3 days ago

Well apparently the so called just 5% slower than dav1d is not true according to other benchmark, it's much slower.

MallocVoidstar 3 days ago

What other benchmark?

ZeroGravitas 3 days ago

One of the dav1d team shared a benchmark on twitter suggesting that single core rav1d was about 6% slower than dav1d but multicore was 35% slower.

https://nitter.net/rbultje/status/1924136075426951200

But the rav1d project has 8 core benchmarks on their GitHub suggesting more like 8-10% slower on arm.

https://github.com/memorysafety/rav1d/issues/1294