TE
테크에코
홈24시간 인기최신베스트질문쇼채용
GitHubTwitter
홈

테크에코

Next.js로 구축된 기술 뉴스 플랫폼으로 글로벌 기술 뉴스와 토론을 제공합니다.

GitHubTwitter

홈

홈최신베스트질문쇼채용

리소스

HackerNews API원본 HackerNewsNext.js

© 2025 테크에코. 모든 권리 보유.

$20K Bounty Offered for Optimizing Rust Code in Rav1d AV1 Decoder

110 포인트작성자: todsacerdoti1일 전

14 comments

pizza2341일 전
The related post on performance optimization is extremely interesting, in particular, the considerations drawn while moving from the unsafe ported code to safe¹:<p>&gt; The first performance issue we hit was dynamic dispatch to assembly, as these calls are very hot. We then began adding inner mutability when necessary but had to carefully avoid contention. We found as we removed pointers and transitioned to safe Rust types that bounds checks increasingly became a larger factor. Buffer and structure initialization was also an issue as we migrated to safe, owned Rust types.<p>Based on their conclusions², each of those issues amounts to a few percentage points (total: 11%).<p>Based on the article, it seems that with highly complex logic, safety does come at the cost of raw performance, and it can be very hard to compensate (withing the safety requirements).<p>[¹]: <a href="https:&#x2F;&#x2F;www.memorysafety.org&#x2F;blog&#x2F;rav1d-performance-optimization&#x2F;#optimization-process" rel="nofollow">https:&#x2F;&#x2F;www.memorysafety.org&#x2F;blog&#x2F;rav1d-performance-optimiza...</a><p>[²]: <a href="https:&#x2F;&#x2F;www.memorysafety.org&#x2F;blog&#x2F;rav1d-performance-optimization&#x2F;#current-state" rel="nofollow">https:&#x2F;&#x2F;www.memorysafety.org&#x2F;blog&#x2F;rav1d-performance-optimiza...</a>
评论 #43983394 未加载
评论 #43985964 未加载
评论 #43983278 未加载
Ragnarork1일 전
$20K sounds very low for the effort and expertise that are demanded here in my opinion. It would be quite a steal to bring this to the same level as the state of the art (which, correct me if I&#x27;m wrong, but I believe is dav1d?) for only that sum.
评论 #43990292 未加载
评论 #43988283 未加载
评论 #43983748 未加载
评论 #43986091 未加载
jebarker1일 전
I&#x27;d love it if someone started Kaggle for software optimization
评论 #43983982 未加载
评论 #43984066 未加载
irf11일 전
Anyone who wants to offer a bounty on GitHub can try <a href="https:&#x2F;&#x2F;algora.io" rel="nofollow">https:&#x2F;&#x2F;algora.io</a><p>It’s an open source platform (built in Elixir) for sharing bounties, contract work and full-time jobs with open source engineers<p>I’m one of the founders, feel free to reach out ioannis@algora.io
评论 #43989557 未加载
dblohm7약 24시간 전
I had always kind of hoped that somebody would try to build production decoders using something like Halide. [1]<p>[1] <a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;3150211" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;3150211</a>
minraws1일 전
Welp,<p>&gt; The contest is open to individuals or teams of individuals who are legal residents or citizens of the United States, United Kingdom, European Union, Canada, New Zealand, or Australia.<p>So most countries where putting in the effort would actually be worth the bounty offered is a no go...<p>I understand.
评论 #43984441 未加载
bArray1일 전
For the purpose of an experiment, I would love to see $20k also offered to eek out more performance on the dav1d decoder, otherwise this is just a measure of how much money people are willing to pour into optimisations.
评论 #43987769 未加载
fwip약 19시간 전
The official rules include this interesting bit:<p>&gt; Solutions must be in either rav1d itself, the Rust compiler (inclusive of llvm), or the Rust standard library.
rvz1일 전
This time you cannot phone a chatbot (ChatGPT, Claude, Gemini) to help you on this one.<p>It has to be, you know correct?
4ad약 24시간 전
Code bounties are unethical. I will absolutely die on this hill. You benefit from everyone&#x27;s work, yet only one (or a select few) <i>maybe</i> get paid (in this case a pitiful amount, considering the required expertise).<p>Almost universally, people attempting a bounty are in a dire financial situation. You’re just taking advantage of them.
评论 #43987815 未加载
degurechaff1일 전
just curious, why asian people not eligible?
评论 #43983006 未加载
评论 #43983026 未加载
评论 #43983912 未加载
评论 #43983286 未加载
评论 #43983267 未加载
feverzsj1일 전
$2mil would be the minimum.
IshKebab1일 전
&gt; Our Rust-based rav1d decoder is currently about 5% slower than the C-based dav1d decoder (the exact amount differs a bit depending on the benchmark, input, and platform). This is enough of a difference to be a problem for potential adopters<p>I&#x27;m really surprised that a 5% performance degradation would lead people to choose C over Rust, especially for something like a video codec. I wonder if they <i>really</i> care or if this is one of those &quot;we don&#x27;t want to use Rust because of silly reasons and here&#x27;s are reasonable-sounding but actually irrelevant technical justification&quot;...
评论 #43983653 未加载
评论 #43983714 未加载
评论 #43983583 未加载
评论 #43983654 未加载
评论 #43983727 未加载
评论 #43983549 未加载
bluGill1일 전
This pays for at most a week of work. I doubt it is worth anyones time to do unless they would do it for free anyway. Between the risk that someone else does it first and gets the reward and that if you are trying to make a living you need to spend time finding the next thing it just isn&#x27;t much.<p>if you can fund someone for at least 6 months of work it becomes reasonable to work for these.<p>Edit: Looks like many people are not understanding how overhead works. Your take home pay over a year is just over $100,000 since you end up so much unpaid time looking for the next gig.
评论 #43983509 未加载
评论 #43983477 未加载
评论 #43983522 未加载
评论 #43983545 未加载
评论 #43983484 未加载