Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not saying it's impossible, but writing your own HTTP server ("trivial to build"?) to avoid bugs in other implementations doesn't sound like a good idea to me.


I had to write one recently. One third page of code, multi-threaded. Really trivial, and no security nightmares as with overblown 3rdparty deps.


Read more carefully. We talk about "third-party dependencies" not about "other implementations". Using HTTP server from your runtime is not against the recommendation of avoiding third-party dependencies. Your runtime is usually not counted as "third-party dependency", normal runtimes don't have breaking changes every other moon

(Even if you need to implement something like that from scratch it may be OK, your requirements don't need all of the functionality a third package includes because someone else needed it)


It's the "trivial to build" thing I have issues with - especially for the HTTP server. Not runtime vs third party.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: