News for hackers. Stuff that matters.
Re:Long Term Software Development by lmz on Monday December 23, 2024 @06:28AM (#42493640)
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.
Re:Long Term Software Development by throwaway290 on Monday December 23, 2024 @09:06AM (#42494450)
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)

Re:Long Term Software Development by lmz on Monday December 23, 2024 @06:28PM (#42498427)
It's the "trivial to build" thing I have issues with - especially for the HTTP server. Not runtime vs third party.
Re:Long Term Software Development by rurban on Monday December 23, 2024 @10:00AM (#42494844)
I had to write one recently. One third page of code, multi-threaded. Really trivial, and no security nightmares as with overblown 3rdparty deps.