Settings

Theme

Show HN: A TCP Proxy in 30 lines of Rust

zmedley.com

19 points by ekez 4 years ago · 3 comments

Reader

easytiger 4 years ago

The do X in n lines thing shears bothered me. Pendant perhaps.

Do X in n lines with y lines of library.

  • ekezOP 4 years ago

    Generally agree - the goal here was mostly to illustrate how simple a TCP proxy actually could be.

    I shiver to think of how many lines of code actually get run with the tokio macro and green threads.

  • nklop 4 years ago

    Yeah I've got a python program that implements all of excel in around 30 lines of code. It's super effective!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection