Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Kieran Kunhya

πŸ‘€ Speaker
1922 total appearances

Appearances Over Time

Podcast Appearances

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

And then, of course, you arrive very quickly at 80%, then 90%, takes a bit more time, and then you got the last ones, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

On the other side, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So for new projects, it's great.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Everything related to parsing files, networking, because of the memory checker, borrower checker, it's amazing and there is nothing else.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

To answer a bit differently for us, imagine I take a piece of software like a David or x264, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Which has a ton of runtime in assembly, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

I rewrite the C part in Rust, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So it's more secure.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Yes, but then you arrive into the assembly and you can jump anywhere in the memory because we are doing handwritten assembly.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So even if I rewrite the C part in Rust,

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

for security reason, you break all the security when you write handwritten assembly because we can jump anywhere.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So in my opinion, we need to do something that is secure assembly, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So which is compile time, check the assembly, which is similar to the check assembly projects that we're doing on David and x364 with Videoland.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

is to start instrumenting your assembly at compile time to check that it's not jumping anywhere in the memory.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Because else you might rewrite a part of C in Rust, but if you want to have the same performances, you're going to have inline assembly, and so you destroy your whole security model.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

So that's a bit what I think about Rust.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

Oh, that was cool.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

In the community, I want to speak about two people who are wizards of assembly, right?

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

The two of them are actually working, living in North of Europe, Sweden and Finland.

Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

And Henrik Gramner knows so much about