Hacker News new | ask | show | jobs
Show HN: A TCP Proxy in 30 lines of Rust (zmedley.com)
19 points by ekez 1808 days ago
1 comments

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

Do X in n lines with y lines of library.

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.

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