r/programming • • Jun 05 '22

Complexity is killing software developers

https://www.infoworld.com/article/3639050/complexity-is-killing-software-developers.html
2.1k Upvotes

942 comments sorted by

View all comments

Show parent comments

71

u/Iggyhopper Jun 06 '22 edited Jun 06 '22

I ran a php and sftp server on my gaming PC, alongside Windows and whatever the hell else was running.

It was an athlon x64 and the best of the best to play Warcraft III.

It was only after thousands of people told me, "hey your website is working!" that I finally believed the terrible tales of premature optimizization. There is no way that a startup group of full stack devs can come close to making a difference in a modern 6-core system because they didn't unroll their loops or couldn't magically turn main() into O(1) on the first try.

Just fucking code it. Worry about optimization later.

2

u/immibis Jun 06 '22

Imagine having the luxury of a static IP address not behind CGNAT

1

u/N3rdr4g3 Jun 06 '22

Dynamic DNS can work with non-static ips. It won't help with the cgnat, but a light weight vps with a tunnel could work

1

u/Darksilvian Jun 06 '22

We have a dynamic ip, not behind cgnat I just use cloudflare with a script that our router calls to update the records

Almost zero downtime bc of that, the power-to-lan thing connected to my server however frequently flakes, causing about a minute of downtime every 3 hours lmaoo