Hacker News new | ask | show | jobs
by astrange 54 days ago
The people who write DSLs for video codec asm, or who claim that it's fine to use intrinsics or X higher-level language and it will still be fast enough to be usable, are simply wrong and have never been able to demonstrate otherwise.

Having said that I do think you could write a DSL to generate safe performant asm for a video codec. Just not a platform-independent one. It would still have to be asm.

1 comments

It sounds like your second statement contradicts your first. But also, WUFFS exists and it looks like the Google Chrome GIF decoder ships in it: https://github.com/google/wuffs
It does not contradict it, and also, a gif is not a video.
> a gif is not a video.

They're not that different; the image codec WebP is derived from VP8's intra-frame coding.

I'm well aware and I know the inventor. The important difference for performance is that a gif isn't 60fps.