Live data from Hacker News

FFmpeg School of Assembly Language

github.com

11–20 of 226 posts

Re: FFmpeg School of Assembly Language

#12
post #2

The only thing I don't like about this is the focus on x86 assembly, which is a sinking ship because RISC-V is coming to eat its lunch, FAST.

How would you define "fast"?

In relative terms, compared with similarly priced and powered devices on the market. RISC-V does lag behind the others - ARM, x86/64 - here, at least for now.

Re: FFmpeg School of Assembly Language

#15
post #8

"Assembly language of FFmpeg" leads me to think of -filter_complex. It's not for human consumption even once you know many of its gotchas (-ss and keyframes, PTS, labeling and using chain outputs, fading, mixing resolutions etc). But then again no-one is adjusting timestamps manually in batch scripts, so a high-level script on top of filter_complex doesn't have much purpose.

what do you mean by no purpose? you can adjust them programmatically in batch scripts.

Re: FFmpeg School of Assembly Language

#16
post #2

The only thing I don't like about this is the focus on x86 assembly, which is a sinking ship because RISC-V is coming to eat its lunch, FAST.

How would you define "fast"?

Not eating. Only drinking water or zero calory drinks such as black coffee.

Only while fasting can a person think clearly. When thinking clearly, RISC-V is inevitably chosen as the ISA.

Fasting will also eventually make you hungry. Thus "RISC-V is coming to eat its lunch, FAST."

Re: FFmpeg School of Assembly Language

#20
post #18

Asm is 10x faster than C? That was definitely true at some point but is it still true today? Have compilers really stagnated so badly they can't come close to hand coded asm?

Probably some very niche things. I know I can't write ASM that's 10x better than C, but I wouldn't assume no one can.
Post reply on HN