Re:Basic proxy implementation using io_uring
by Fischgericht on Sunday February 18, 2024 @10:04AM
(#39419608)
Or people have no respect for arrogant boasting.
Also, you most likely are a liar. Just the matrix tables you need for MPEG-1 are 500+ lines.
Unless of course you used 1100 lines to call ffmpeg. Then you don't need the tables.
But that being said: Yes, writing a TCP proxy in 200 lines is indeed possible. But it will use standard socket calls. You might want to read up about what io_uring is all about, and why it's worth going the extra mile.
Also, you most likely are a liar. Just the matrix tables you need for MPEG-1 are 500+ lines.
Unless of course you used 1100 lines to call ffmpeg. Then you don't need the tables.
But that being said: Yes, writing a TCP proxy in 200 lines is indeed possible. But it will use standard socket calls. You might want to read up about what io_uring is all about, and why it's worth going the extra mile.
Or, as an alternative, you could STFU :)