"we just don't have a lot of Ada, SPARK, Rust programmers in the world"
Sounds bright until one remembers almost every significant market in this space is an oligopoly where there's only a handful of companies. Profitable, too. They could split all the Ada, SPARK, Rust, etc programmers while still making plenty of money and getting results. Worked for companies using Ocaml (eg Jane Street), Haskell, and even Prolog. Those sorts find they get better talent when they ask for uncommon, tougher stuff.
"ISPs already have the expertise and the infrastructure to deal with them, once it's going to cause too much problems for the quality of their service. I've witnessed this myself."
Didn't stop most DDOS's from doing their damage at all. Took many players working together. Recent one had a mitigation vendor straight-up dump Brian Krebs. The problem being as easy as you describe wouldn't have such results. It's either hard or they don't care so much.
1. Secure, automatic update process that keeps user config where possible.
2. Default configuration that's as secure as factory setting can get plus without unnecessary services running.
3. Running on a self-healing microkernel if possible.
4. Code for key functionality written in languages like Ada, SPARK, and/or Rust for reduced 0-days.
5. Embedded firewall with rate limiting from host network in event ISP detects DDOS.
6. Optionally, more secure way to connect to admin interface comes with installation CD or software.
Those seem like nice baseline for router that would increase its security and availibility at relatively, low cost. There used to even be a vendor selling switches and routers with INTEGRITY-178 separation kernel enforcing POLA down to the ports. Rockwell uses AAMP7G CPU to enforce it down to the thread or process level with mathematical proof of its correctness. So room to improve further to high-assurance for that end of the market, too, on top of what my list already gives.
EDIT to add what just showed up in another feed. Case in point about how much better baseline could be with small effort.
https://lobste.rs/c/wyyqc6