Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
vi
HomeCategoriesArcadeBookmarks
Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
Privacy|Terms

© 2026 Coding4Food. Written by devs, for devs.

All news
TechnologyTools & Tech Stack

Dav2d: When VideoLAN's Gigachads Write Assembly for AV2

May 3, 20263 min read

While the world is busy arguing over JS frameworks, the absolute legends at VideoLAN are already building the AV2 decoder in C and Assembly. Let's dive in.

Share this post:
circuit board, circuit, control center, technology, silver, silicon, science, processor, microchip, storage, industry, mechanical engineering, e waste, electricity, electric, connection, component, semiconductor, trace, cpu, pc, solder joint, chip, data processing, connections, data, management, distributor, electronics, printed circuit board, computer, green, lines, binary, one, zero, crash, administrator, attack, information, infestation, infested, operating system, binary code, binary system, bits, computer viruses, computer virus, data exchange, digital, infected, computer science, communication, web, network, program, programming, transfer, trojan, transmission, worldwide, www, pay, webdesign, web design, science, semiconductor, semiconductor, semiconductor, semiconductor, semiconductor, operating system
Nguồn gốc: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2Nguồn gốc: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2
Nguồn gốc: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2Nguồn gốc: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/dav2d-videolan-gigachads-write-assembly-av2
dav2dvideolanav2 codecdecoder assemblytối ưu code
Share this post:

Bình luận

Related posts

microscope, investigation, scientific, laboratory, biology, microscope, microscope, microscope, microscope, microscope, investigation, laboratory, laboratory, laboratory, laboratory, biology
TechnologyTools & Tech Stack

Black Magic Hardware: Watching a LaserDisc Movie Through a Microscope

Putting a LaserDisc under a microscope to literally see the analog video signal. A mind-blowing hardware feat that puts our bloated modern code to shame.

Mar 93 min read
Read more →
paper, a book, magazine, old, side, text, nostalgia, to forget, past, retro, transience, memory, magazine, magazine, magazine, magazine, magazine, to forget, to forget, to forget
Technology

Digging Up Fossils: The 1975 BYTE Magazine Archive and the Era Before StackOverflow

The 1975 BYTE Magazine archive is blowing up on Hacker News. Let's take a nostalgic trip back to when devs had to optimize every single kilobyte and solder their own hardware.

Apr 203 min read
Read more →
africa, african, blackboard, chalk, chalkboard, comic characters, learn, math, people, teach, teacher, woman, math, math, math, math, math, teacher, teacher, teacher
Technology

The Ultimate Refactor: Deriving ALL Elementary Functions From ONE Binary Operator!

A new gigabrain paper on Hacker News proves you can derive all elementary math functions using just one binary operator. Pure magic or pure madness?

Apr 133 min read
Read more →

Sup nerds. Grab your coffee or whatever energy drink keeps you alive today. I'm taking a break from fixing dependency hell to talk about some absolute gigachad engineering. While the rest of the industry is busy chasing AI hype or arguing about which JS framework is slightly less terrible, down in the low-level trenches, the VideoLAN crew (yeah, the traffic-cone VLC guys) just casually dropped a bomb: Dav2d.

If you've ever dealt with video streaming, you know dav1d — the insanely fast, hardware-sympathetic AV1 decoder written in C with enough hand-rolled Assembly to make a modern web dev cry. Well, it's time to meet the sequel.

What in the Name of Turing is Dav2d?

TL;DR for the chronically impatient:

  • While hardware support for AV1 is still slowly rolling out to the masses, the AOMedia folks are already drafting AV2 (the next-gen video codec).
  • The wizards at VideoLAN looked at this and said, "Bet. Let's start decoding it now." Thus, the dav2d repo was born.
  • It's a next-generation decoder for AV2, built on the battle-tested philosophy of dav1d.
  • Tech stack? Pure C and Assembly. No bloat, no overhead. Just raw, unadulterated performance designed to run smoothly whether it's on a potato phone or a massive cloud vps.

Looking at their repo is like walking into a museum. It's not just code; it's digital sculpture carved directly into CPU registers.

The Hacker News Cult Reacts

With a score shooting past 553 on HN, the hardcore dev community is practically bowing down. Here's the general vibe from the comment sections of the internet:

  • The Absolute Reverence: Most devs agree that VideoLAN operates on a different plane of existence. Hand-writing ASM optimizations for different architectures in 2024 feels like a lost dark art, but these guys do it flawlessly.
  • The "Wait, AV1 isn't even finished" Crowd: A lot of folks are scratching their heads: "My TV can barely hardware-decode AV1, why are we rushing to AV2?" The reality of hardware adoption is that software has to blaze the trail years in advance.
  • The Inevitable RIIR (Rewrite It In Rust) Squad: While there wasn't a massive holy war this time, you can always feel the Rust evangelists hovering. "But memory safety!" they cry. The VideoLAN devs probably just chuckle in zero-overhead C.

Senior Dev Takeaway: Respect the Metal

Look, there's no toxic drama here, just a healthy dose of reality check. Every day, we casually eat up gigabytes of RAM running bloated Electron apps and inefficient API calls.

Watching the VideoLAN team squeeze every last drop of performance out of a CPU should make us reflect. You don't need to go learn Assembly tomorrow, but maybe, just maybe, try to have a little sympathy for the hardware executing your code. Stop writing O(n^2) loops in your frontend components, alright?

Anyway, I've got to go restart my Docker containers because they decided to eat all my memory again. Stay salty, my friends.


Sauce: Hacker News - Dav2d | Official Repo