News for hackers. Stuff that matters.
Re:Everyone Should Build Their Own Network Stack by _pdp_ on Sunday August 30, 2026 @08:39AM (#49498139)
Everyone should build their own ** is the general advise I would give just about anything. Otherwise it is hard to appreciate how much effort it goes into things that we take for granted.

Everything looks simple from the outset until you try to build it yourself.

Re:Everyone Should Build Their Own Network Stack by Hasz on Sunday August 30, 2026 @09:13AM (#49498355)
We do these things not because they are easy, but because we thought they would be easy.

I also think there is an incredible transference of skills from one domain to another. This is a risk (everything looks like nail when you have hammer), but there are many domains that are very mature where you can learn a trick and apply it to a new domain over and over again.

Re:Everyone Should Build Their Own Network Stack by hn_submit on Sunday August 30, 2026 @09:23AM (#49498429)
I recently saw this guy on HN who had written a web server for an Atmel AVR and also implemented a TCP/IP stack to boot. It obviously was far from feature complete, but it did work. He used SLIP to communicate with the "server."
Re:Everyone Should Build Their Own Network Stack by _pdp_ on Sunday August 30, 2026 @09:53AM (#49498675)
Respect
Re:Everyone Should Build Their Own Network Stack by utopiah on Sunday August 30, 2026 @03:07PM (#49501783)
> far from feature complete, but it did work

well that's the trick. If you look at implementing a Web browser or a physics engine you instantly give up, and you are right about it, it's just too hard. If instead you write a partial HTTP client which can display some text from a URL or have a 3D scene and in it an object Y coordinates get smaller each millisecond then suddenly in terms of the essence of each, you are 80% there really. Now if you want to implement the "rest" you might need an entire lifetime, or more. Still IMHO it's definitely worth doing very compact and limited versions of all those in order to learn, even if done only once in your life.

Re:Everyone Should Build Their Own Network Stack by convolvatron on Sunday August 30, 2026 @03:54PM (#49502154)
I used to implement these things professionally and to write an IP + TCP + HTTP is certainly less than a year with experience. would I ship that and expect people to use it without a lot of burnin? no..but to say that its a lifetime of work is off by at least a factor of 10.
Re:Everyone Should Build Their Own Network Stack by utopiah on Monday August 31, 2026 @03:25AM (#49506669)
Maybe not an HTTP client but a modern browser with its JavaScript engine, encryption support, CSS engine, etc I think for most people really is a lot of work. If one does rely on the right libraries it's a weekend of fun (and pain) so I would argue between few hours and a lifetime, depending on how much you implement.

My point is that the essence, the core mechanism, is typically a 1-liner, but only with a pedagogical context, not a production (in the sense of anybody else using it reliably in realistic situations) context.

Re:Everyone Should Build Their Own Network Stack by DANmode on Sunday August 30, 2026 @09:08AM (#49498322)
At least look inside and appreciate the value of it already being together!
Re:Everyone Should Build Their Own Network Stack by tonyhart7 on Sunday August 30, 2026 @08:44AM (#49498169)
if you have time, money, energy, attention to do it then yes

but unfortunately not everyone have same opprtunities

Re:Everyone Should Build Their Own Network Stack by _pdp_ on Sunday August 30, 2026 @08:53AM (#49498213)
My point is that it is a great way to learn and be more appreciative of what is done and why - network stacks, graphic stacks, web, etc - before being too critical of them.

Besides, statements such as "$7B for a proxy" or "it is just a wrapper" or "we can build it in-house" mostly come from those that have not had any measure of the scope due to not having any real experience with the said problem.

Re:Everyone Should Build Their Own Network Stack by PunchyHamster on Sunday August 30, 2026 @08:57AM (#49498248)
you can spend day less on HN and write something
Re:Everyone Should Build Their Own Network Stack by tonyhart7 on Sunday August 30, 2026 @09:02AM (#49498283)
or you can just do both ??? why we acting like HN isn't take 5 minute max ????
Re:Everyone Should Build Their Own Network Stack by tipperjones on Sunday August 30, 2026 @11:49AM (#49499766)
Cause it's not 5 min max