85 points taubek 10 hours ago 95 comments
williadc 9 hours ago | parent
HarHarVeryFunny 9 hours ago | parent
Your rewritten codebase will presumably look much cleaner and more maintainable that what it's aiming to replace, but it's easy to miss the purpose/necessity of all of the old "cruft" which need not be just poor coding but rather later enhancements not anticipated by the original design whose implementation was therefore crufty.
Does anyone here work at Cisco, and have any insight as to why a rewrite is considered necessary and might be expected to succeed?
add-sub-mul-div 9 hours ago | parent
classified 9 hours ago | parent
analognoise 9 hours ago | parent
yako21000 9 hours ago | parent
daveguy 18 minutes ago | parent
Idiocracy (2006): https://en.wikipedia.org/wiki/Idiocracy
vonneumannstan 9 hours ago | parent
entrope 1 hour ago | parent
We had to turn off a bunch of on-by-default features in the system I'm deploying now because IOS matches too aggressively and decides that arbitrary UDP datagrams are DHCP requests or PTP packets that need rewriting (and then dropping when they turn out to not be DHCP/PTP). I have to think that an AI rewrite with a today-good model would recognize the lax checks and do them better.
DonHopkins 52 minutes ago | parent
Hikikomori 39 minutes ago | parent
oceansky 28 minutes ago | parent
nitwit005 24 minutes ago | parent
InsideOutSanta 23 minutes ago | parent
alwa 9 hours ago | parent
rustyhancock 9 hours ago | parent
Legacy code is typically a euphemism for old unmaintained code, no one knows how it works so it can be edited, and it probably doesn't align with current work practices.
Not to say a rewrite is necessary right, but avoiding rewrites of working code is how we ended up with more COBOL code than COBOL programmers in 2026.
rafram 9 hours ago | parent
rustyhancock 9 hours ago | parent
I think people are assuming the worst but AIs most helpful contribution beyond churning out code is explaining the code base.
Who knows if they will do a good or bad job that's down to the engineers and not the tools imo.
rafram 9 hours ago | parent
paimapi 7 hours ago | parent
That said, there's also research pointing to LLMs encoding existing bugs as test requirements: https://arxiv.org/abs/2607.05139
That CS PHD researcher, Konstantinou, in particular, has written a lot on this: https://arxiv.org/search/cs?searchtype=author&query=Konstant...
mlmonkey 2 hours ago | parent
Once AI came along, I became like Captain Picard (RIP) and would just sit back and let the AI write all unit tests. "Try harder, make sure coverage is 100%". It was very exhilarating to sit back and watch the models churn away, creating 100s of lines of unit tests. Of course, I checked them all manually before submission ;-)
LoganDark 9 hours ago | parent
Refreeze5224 9 hours ago | parent
Aperocky 9 hours ago | parent
icedchai 8 hours ago | parent
benjojo12 8 hours ago | parent
icedchai 8 hours ago | parent
runjake 7 hours ago | parent
And they've overstretched their product line to too many things, trying to be the "be all" company. Fortinet is making the same mistake, but they're earlier in that process.
I mean, it's not really a mistake on their parts, their primary goal is to get rich and they are succeeding.
Citation: I've been working with Cisco technologies since the mid-1990s. At my current job, we are a few weeks away from phasing out the last of our Cisco junk. And since people will ask: to Juniper/Mist and Arista.
ThePinion 22 minutes ago | parent
hnlmorg 1 hour ago | parent
If history has taught us anything. It’s that the measure of a successful product is usually more to do with its sales people.
kotaKat 7 hours ago | parent
https://www.cisco.com/c/en/us/support/docs/field-notices/743...
"Cisco Access Points That Are Running, Or Have Run, Releases 17.12.4, 17.12.5, 17.12.6, or 17.12.6a May Exhaust Flash Space, Preventing Upgrades"
Recovery path basically involves either factory resetting every single AP or up to, if it's already bricked, Cisco TAC + you having to console into every single bricked AP you have to pass a secret challenge/response at the bootloader to flash a recovery image :)
tw04 1 hour ago | parent
classified 9 hours ago | parent
Taikonerd 9 hours ago | parent
Otherwise he's just going to replicate all the legacy bugs and questionable design decisions.
sleepyguy 9 hours ago | parent
oblio 8 hours ago | parent
forgotpwd16 1 hour ago | parent
greggh 15 minutes ago | parent
Right? ...
piker 9 hours ago | parent
koskokos 9 hours ago | parent
m4rtink 9 hours ago | parent
dmortin 9 hours ago | parent
loloquwowndueo 9 hours ago | parent
hangrybear666 9 hours ago | parent
DonHopkins 36 minutes ago | parent
https://www.reddit.com/r/programming/comments/eaqgk/java_is_...
"XML is like violence: if it doesn't solve your problem, you aren't using enough of it." -Chris Maden
https://www.reddit.com/r/ProgrammerHumor/comments/1mbgih/xml...
"XML is a giant step in no direction at all" -Erik Naggum
https://quotefancy.com/quote/1643080/Erik-Naggum-XML-is-a-gi...
balderdash 9 hours ago | parent
petra 8 hours ago | parent
What have been achieved using this port?
And how did you make sure the port is correct?
m4rtink 9 hours ago | parent
g-b-r 3 hours ago | parent
Taikonerd 9 hours ago | parent
g-b-r 3 hours ago | parent
eudamoniac 11 minutes ago | parent
DonHopkins 47 minutes ago | parent
Aperocky 9 hours ago | parent
insane_dreamer 9 hours ago | parent
it's the testing in real world usage to shake out all the edge cases and bugs that's hard and that you can't just write unit tests for
emoII 9 hours ago | parent
blobbers 9 hours ago | parent
Not clear to me what he's doing. Re-implement switching? Simplify features? Reduce LoC? Add test coverage? Either way, AI in that world will be helpful. I'm sure it'll spot all kinds of problems in opaque drivers that are hard to follow from MF specs.
g-b-r 3 hours ago | parent
bijowo1676 1 hour ago | parent
rewrite can be done to quickly refactor and/or close the feature parity, improve the UI/UX for end customer, add missing features or integration needs
raincom 9 hours ago | parent
orthogonal_cube 17 minutes ago | parent
I’d love to know what internal services and tools that are included in this, as well as any deliverables that shipped as software products to customers.
If it’s legacy code for IOS firmware, however, I’d be very worried.
petra 9 hours ago | parent
-Works according to a defined specification
-Within the bounds of that specification, has a lot of code written to optimize speed, cost, latency, etc - all measureable goals
-Written in c, with all it's weakness
-Given limitless engineering work, some could be ported to better hardware
-the new system could be automatically compared to the old system for functional correctness
All those factors fit well with agent based development.
Btw, many of them are true in general to embedded systems.
pphysch 8 hours ago | parent
petra 8 hours ago | parent
Cyph0n 8 hours ago | parent
There are also tight time budgets (basically SLAs) that must be met along with memory considerations (both in SW and on the NPU/HBM), not to mention how the device needs to respond to load and various failure scenarios.
bijowo1676 1 hour ago | parent
wil421 8 hours ago | parent
mkjs 8 hours ago | parent
Then consider that not all vendors implement the standards identically, because the standards can be a bit woolly and in some cases followed rather than lead live implementations.
There will be a bunch of code that looks useless, but is actually there because of specific interoperability scenarios.
petra 8 hours ago | parent
I wonder whether AI is any good at looking at that code,running the system, and documenting those edge cases?
mkjs 8 hours ago | parent
Lots of this stuff should work in theory, you only find out that it doesn't in practice when you try it on real hardware. And there are thousands of bits of hardware.
Cyph0n 8 hours ago | parent
This whole thing sounds like a deluded vanity project birthed in an ivory tower.
eudamoniac 9 minutes ago | parent
causal 8 hours ago | parent
simonw 8 hours ago | parent
Fortune's source was the CEO himself:
> “I’ve given him unlimited tokens because he’s going to refactor code,” Patel told Fortune at a small roundtable dinner. “So I’m like, you can go, you can go nuts.”
I think that Fortune story is better than the Tom's Hardware one. It ties the Cisco anecdote into a larger trend of some people deliberately hiring younger, less experienced developers for their AI projects - because they are more likely to be "AI native".
rasz 8 hours ago | parent
simonw 7 hours ago | parent
I frequently find myself in conversations with people who are resistant to AI and turn out to have a very skewed idea of what it can and cannot do.
mr_roboto 8 hours ago | parent
Ancalagon 7 hours ago | parent
mr_roboto 7 hours ago | parent
The main takeaway though is we had one person, in a single month, do the equivalent of at least a couple years of work for a small team. We view bugs and performance issues as a currently inevitable part of the process and we are dealing with them with models just like we do with humans on every other project already. Overall though it is representing an absolutely massive speedup. If you work in an environment where the models make egregiously more mistakes than your human counterparts then I am quite jealous.
greenchair 55 minutes ago | parent
rasz 8 hours ago | parent
bluegatty 8 hours ago | parent
ChrisArchitect 8 hours ago | parent
jeffybefffy519 49 minutes ago | parent
snov 29 minutes ago | parent