<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: sharifhsn</title><link>https://news.ycombinator.com/user?id=sharifhsn</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 09 Apr 2026 09:56:19 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=sharifhsn" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>The difference between using general knowledge and summaries and doing code-for-code rewrites cannot be understated. When creating `wedeo`, despite DIRECTLY reviewing FFmpeg's code, Claude would frequently make mistakes that would have to be fixed. I would constantly have it go and refer back to the ground truth FFmpeg source implementation. It did eventually work, but only after several rounds of reviews, and often dead-end investigations. Being able to directly inspect (and in some cases modify for extra debug output) FFmpeg at any given time was invaluable, and I doubt any rewrite would succeed without having that.</p>
]]></description><pubDate>Sat, 04 Apr 2026 19:48:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=47642640</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47642640</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47642640</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>I don’t really think there’s any actual benefit to `wedeo` existing, beyond the novelty of having pure Rust media processing software and perhaps being easier to use as a library. Like I said, this is mostly an experiment in LLM’s ability to rewrite software in Rust. FFmpeg is one of the most high quality pieces of open source software out there, I seriously doubt that LLMs on their own could eclipse it, even with all of Rust’s benefits. So I definitely understand what you’re saying but it’s not really my motivation.<p>As for the updating, this is something that I’ve been considering but it’s obviously not in scope until `wedeo` is fully featured. But yes, this is something that LLMs should be able to do quite easily, it could even trigger on every commit.</p>
]]></description><pubDate>Thu, 02 Apr 2026 15:29:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=47615798</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47615798</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47615798</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>Good to know! I have licensed as LGPL so I think that covers it. Rewriting x264 and x265 are in scope so I’ll keep that in mind. I will design the application as well so that those can easily be excluded from compilation to get a pure LGPL build.</p>
]]></description><pubDate>Thu, 02 Apr 2026 15:23:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=47615708</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47615708</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47615708</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>The tests are the real clincher here. That’s the main reason that this project has made so much progress: the FATE suite highlights specific bugs to fix and tracks regressions.<p>As for optimization, that seems to be more of a question of effort than whether it’s possible. I was able to take down the performance gap on Rust vs C (without Assembly) from 10x to 1.5x through detailed profiling and iterative improvements with Claude.<p>It also looks like the Anthropic C compiler was built from scratch. By contrast, `wedeo` was directly based on FFmpeg’s existing code. Going by spec and test suite only would have taken a lot longer, and the quality would have been significantly lower.</p>
]]></description><pubDate>Thu, 02 Apr 2026 15:20:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47615674</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47615674</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47615674</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>To be clear, `wedeo` took a few weeks to get to this point, and it is by no means fully featured. Even with LLMs, it will take a few months to reach that point with me as the sole human contributor.</p>
]]></description><pubDate>Thu, 02 Apr 2026 15:15:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=47615592</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47615592</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47615592</guid></item><item><title><![CDATA[New comment by sharifhsn in "Significant raise of reports"]]></title><description><![CDATA[
<p>For the purposes of debugging, assembly is machine code, just with some nice constructs to make it easier to read. Transpiling between assembly and machine code is mostly a find-and-replace exercise, not like the advanced reasoning involved in proper compilation.</p>
]]></description><pubDate>Thu, 02 Apr 2026 13:55:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47614543</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47614543</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47614543</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>These things may not be true in the future. I just meant to describe the current state of the project. With Rust being a modern language and the repository being AI-optimized, I wouldn't be surprised if it grew to have more features. And I hope that Rust can close the gap on performance, it would be a great testament to Rust's usefulness for high performance software.</p>
]]></description><pubDate>Wed, 01 Apr 2026 19:07:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47605118</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47605118</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47605118</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>You don’t have to like it but you have to admit that it’s pretty impressive to pass the entire FATE test suite with purely AI-generated code. I honestly didn’t think it would be possible when I first started this.</p>
]]></description><pubDate>Wed, 01 Apr 2026 18:21:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=47604578</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47604578</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47604578</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>I don’t know if I would say I don’t “care” about the license. I want to respect the FFmpeg license, and considering that my project is a straight ripoff, it would be dishonest to not have the same license. Whether AI-generated code can even be legally licensed or copyrighted is a separate question that hasn’t been decided by courts. I’ll happily comply with whatever experts recommend.</p>
]]></description><pubDate>Wed, 01 Apr 2026 18:20:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47604561</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47604561</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47604561</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>I found this project, but I’m not surprised that it doesn’t have much progress. Doing this kind of Rust rewrite is an absolutely gargantuan undertaking that I don’t think it would be feasible without AI. It’s not as if FFmpeg is some crufty, slow code that would seriously benefit from it.</p>
]]></description><pubDate>Wed, 01 Apr 2026 18:19:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47604538</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47604538</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47604538</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>I suppose “review” is misleading, since I’m not actually reading the code, I’m simply asking Claude to explain what the code is doing. I’ll change that so it’s expressly clear that none of this code is actually human-reviewed.</p>
]]></description><pubDate>Wed, 01 Apr 2026 18:17:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=47604522</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47604522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47604522</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>It’s used for multithreading and also for assembly loading. It’s not checked by anything other than Claude itself, so that would definitely be a strong candidate for manual review. I did have Claude ingest Rust Atomics & Locks by Mara Bos to help guide the implementation for concurrency, at least.</p>
]]></description><pubDate>Wed, 01 Apr 2026 18:16:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47604503</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47604503</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47604503</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>I’m using FFmpeg’s own FATE suite, which is intended to poke at those edge cases, as well as JVT vectors. I’d love to get a more robust set of weird files similar to what symphonia has, though, so if anyone has any resources I’d appreciate it.</p>
]]></description><pubDate>Wed, 01 Apr 2026 18:14:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47604468</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47604468</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47604468</guid></item><item><title><![CDATA[New comment by sharifhsn in "Wedeo – a Rust Rewrite of FFmpeg"]]></title><description><![CDATA[
<p>After playing around with Claude Code for a bit, rewriting some Python tooling in Rust to great effect, I was interested in pushing the boundaries of what LLMs could do in terms of rewriting projects in Rust. The result is `wedeo`.<p>For those unfamiliar, [FFmpeg](<a href="https://www.ffmpeg.org/" rel="nofollow">https://www.ffmpeg.org/</a>) is "a complete, cross-platform solution to record, convert and stream audio and video". It is one of the most powerful and impressive pieces of open-source software and is the underlying infrastructure for a ton of A/V software. It is also, like the Linux kernel, written purely in C and Assembly.<p>There are a couple reasons for why FFmpeg is a good candidate for this kind of project. The source code is incredibly high quality, being battle-tested and having contributions from the best experts in the area. A/V encoding and decoding is also rigorously described by specification, which is easily consumed by LLMs. The project's nature of being a bunch of codecs bundled together in a convenient interface made it easy to rewrite incrementally. C, being a systems programming language, maps nicely to Rust, and the assembly could be directly ported over.<p>The major contribution `wedeo` currently has is an implementation of the H.264 decoder, which is around 30,000 lines of code for the scalar Rust implementation. It doesn't support some complex features like interlacing or 10-bit, but it should support 99% of H.264 encoded video.<p>There has not been any kind of performance optimization done (except porting some assembly over and basic multithreading), so `wedeo` is much slower than FFmpeg. I expect the gap to close somewhat over time, but I doubt that even the most optimized Rust could beat FFmpeg's high quality C and Assembly.<p>In order to get this project to the point where it can actually play video properly, I have utilized some existing libraries. The intention is for the codebase to be pure Rust, so any functionality which only exists as a non-Rust library will have to be rewritten. `symphonia` is used for audio, `rav1d` and `rav1e` for AV1, and `wgpu` and `winit` for the player.<p>I have only confirmed that this works on MacOS M-series, so I would welcome testing on other machines.<p>There is a lot missing from `wedeo`, in particular any video codecs besides H.264 and AV1, as well as H.264 encoding. I will be working on this as a side project, but I would also welcome contributions on these. And if anyone is interested in taking on an active role as maintainer, I'd gladly hand the reins over.<p># On AI Slop<p>Although I can read and write Rust, 100% of the code in `wedeo` is AI-generated and I have not directly reviewed a single line of it, other than asking Claude to fix bugs and explain parts of it. It is intended as an experiment in pure LLM usage.<p>I'm aware that this community and many other technical spaces online have been overwhelmed by "AI slop", bloated projects that have LOC that run in the tens of thousands, and I can see why many people might interpret `wedeo` that way. However, the amount of code in this project is similar to the equivalent amount in FFmpeg.<p>I also think that this project is at least interesting in that this has never been attempted before, and I want to see where it can be taken. I think it's at least a better use of tokens than typical AI slop.<p>Excited to see what the community thinks!<p>P.S. I just saw [this tweet](<a href="https://x.com/FFmpeg/status/2039115531744334180" rel="nofollow">https://x.com/FFmpeg/status/2039115531744334180</a>) from FFmpeg. Ironic, but I assure you this is <i>not</i> an April Fools' joke.</p>
]]></description><pubDate>Wed, 01 Apr 2026 14:18:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47601273</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47601273</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47601273</guid></item><item><title><![CDATA[Wedeo – a Rust Rewrite of FFmpeg]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/sharifhsn/wedeo">https://github.com/sharifhsn/wedeo</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47601272">https://news.ycombinator.com/item?id=47601272</a></p>
<p>Points: 6</p>
<p># Comments: 31</p>
]]></description><pubDate>Wed, 01 Apr 2026 14:18:05 +0000</pubDate><link>https://github.com/sharifhsn/wedeo</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47601272</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47601272</guid></item><item><title><![CDATA[New comment by sharifhsn in "X is selling existing users' handles"]]></title><description><![CDATA[
<p>It’s playing stupid to pretend that the theft of a hardly used handle has anything to do with an actual user account. I’m sure if @hac had a presence online, their handle wouldn’t have been sold from under them.</p>
]]></description><pubDate>Thu, 12 Mar 2026 03:02:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=47345870</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47345870</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47345870</guid></item><item><title><![CDATA[New comment by sharifhsn in "Temporal: A nine-year journey to fix time in JavaScript"]]></title><description><![CDATA[
<p>Your bot messed up and posted twice in the same thread.</p>
]]></description><pubDate>Wed, 11 Mar 2026 19:34:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=47340158</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47340158</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47340158</guid></item><item><title><![CDATA[New comment by sharifhsn in "Leaving Google has actively improved my life"]]></title><description><![CDATA[
<p>Government can subsidize the poor. Remember Obamaphones? Just expand that idea.</p>
]]></description><pubDate>Fri, 27 Feb 2026 21:16:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47185725</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47185725</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47185725</guid></item><item><title><![CDATA[New comment by sharifhsn in "I gave Claude access to my pen plotter"]]></title><description><![CDATA[
<p>I hope you feel the same way every time you eat beef.</p>
]]></description><pubDate>Sun, 15 Feb 2026 23:46:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=47029032</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=47029032</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47029032</guid></item><item><title><![CDATA[New comment by sharifhsn in "Claude Opus 4.6"]]></title><description><![CDATA[
<p>Gemini has this feature but it’s opt-in.</p>
]]></description><pubDate>Thu, 05 Feb 2026 19:53:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=46904251</link><dc:creator>sharifhsn</dc:creator><comments>https://news.ycombinator.com/item?id=46904251</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46904251</guid></item></channel></rss>