Current Events > Of course ffmpeg's source code would be C

Topic List
Page List: 1
FLUFFYGERM
02/17/18 1:51:49 PM
#1:


Fucking hate C.
---
Do good.
... Copied to Clipboard!
DevsBro
02/17/18 1:53:22 PM
#2:


It's annoying for sure but it's the lingua franca so to speak so a whole lot of stuff is going to be written in it.

On the plus side, if your favorite language has an FFI, I guarantee it's compatible with C.
---
... Copied to Clipboard!
FLUFFYGERM
02/17/18 1:54:51 PM
#3:


Not sure if an FFI would help because I want a custom build of ffmpeg itself, not just a wrapper around it.
---
Do good.
... Copied to Clipboard!
DevsBro
02/17/18 1:56:48 PM
#4:


Hm. In that case, I guess you'll have to put on the old rubber gloves.
---
... Copied to Clipboard!
FLUFFYGERM
02/17/18 1:58:01 PM
#5:


More like actually learn C since I've only ever used it a handful of times in school. >_>

Shouldn't be too bad, but having to worry about pointing to spots in memory and cleaning up resources is so fucking primitive. Really spoiled by the garbage collection in modern frameworks. Although I suppose managing your own resources is part of why ffmpeg is so freaking fast in the first place.
---
Do good.
... Copied to Clipboard!
DevsBro
02/17/18 2:00:35 PM
#6:


It's more than just that though. C has a whole lot of stuff missing that you might take for granted.

Like the printf function, for example, is like... turbo super ultra stupid.
---
... Copied to Clipboard!
FLUFFYGERM
02/17/18 2:01:20 PM
#7:


FFFFFFF DevsBro what would your salary requirements be if you were to join a startup?
---
Do good.
... Copied to Clipboard!
DevsBro
02/17/18 2:02:34 PM
#8:


Tell me about your pension plan first.
---
... Copied to Clipboard!
FLUFFYGERM
02/17/18 2:03:02 PM
#9:


No pension plan, but there are worthless stock options that might be worth something in the future! Moon shot of course.
---
Do good.
... Copied to Clipboard!
DarkDragon400
02/17/18 2:10:48 PM
#10:


Also you have to be careful of how easy it is to have vulnerabilities in C code.
---
... Copied to Clipboard!
FLUFFYGERM
02/17/18 2:14:24 PM
#11:


DarkDragon400 posted...
Also you have to be careful of how easy it is to have vulnerabilities in C code.


Example?
---
Do good.
... Copied to Clipboard!
DarkDragon400
02/17/18 2:18:24 PM
#12:


FLUFFYGERM posted...
DarkDragon400 posted...
Also you have to be careful of how easy it is to have vulnerabilities in C code.


Example?

Stuff like buffer overflows, integer overflows, heap overflows, and format string attacks.
---
... Copied to Clipboard!
Topic List
Page List: 1