365
top 50 comments
sorted by: hot top new old
[-] HaraldvonBlauzahn@feddit.org 16 points 7 hours ago* (last edited 5 hours ago)

Just to get that straight: Legacy code is practically always large code with countless hidden requirements, and with insufficient or no tests and without documentation. But which works somehow. Any change needs to meet numerous unwritten requirements, and it can often only be tested in the real world. If you have N features, you have N*(N-1)/2 interactions between two features, so it is quadratic growth with N. This is why it is very hard and time-consuming to change.

It shouldn't be that way, but writing large software - especially in commercial environments - is often like climbing a high roof on a ladder, and then throwing away that ladder. Modifications are only incremental, and usually not documented. Incremental modifications are one of the only two working engineering approaches for software we know - and the only one used for commercial software.

The other way - which is used in aviation for example - is to specify, document, and test everything, right from the start.

Now the problem is you can rewrite legacy stuff as much as you like, but it is near impossible to make sure that large changes work. Because in order to do that, you would need to run the tests that do not exist, or create tests from specifications and requirements which do not exist either.

And GenAI tools are not going to change that. The agentic tools kinda work by filling in missing requirements with assumptions and average observed stuff. It can generate reams of code, fast. But while this kinda works for a small phone app, it doesn't for large complex stuff. If the code does not fit in the head of one person working for months on it, it will never fit in the context window of an LLM.

[-] joeschmoe@lemmy.world 47 points 15 hours ago

Don't worry, guys. I am sure he adds "make no mistakes" to every prompt. No review necessary, push straight to prod.

[-] abc@suppo.fi 2 points 7 hours ago* (last edited 7 hours ago)

What's he gonna do for the rest of the 23 months?

[-] trolololol@lemmy.world 35 points 15 hours ago

So they're replacing battle-tested unmaintainable old code written by humans with bad unreleased unmaintainable new code written by ai.

Both are unmaintainable. What's the punch line?? Is this not the onion?

[-] myyass@lemmy.world 1 points 2 hours ago

I don't know. Everyday is the onion.

[-] L7HM77@sh.itjust.works 52 points 17 hours ago

... and suddenly, overnight, claude or whatever will have very detailed, intricate knowledge around Cisco's hardware, almost like it's regurgitating internal documentation. Hm.

[-] merc@sh.itjust.works 77 points 19 hours ago

Ignore, for a second, the use of AI here.

How huge a screw up is it just to send a guy off to work on a project alone for 2 years. Can you imagine the amount of time that should be spent in code reviews looking at something someone has spent a full 2 years on? You're now going to be asking senior devs to spend months of their lives doing nothing but code reviews. And, if you skip the code reviews that's suicide.

We all know that in 2 years Cisco is still going to be using their legacy codebase. There's not a chance in hell this will work. Just announcing this like it is a sane thing to do advertises their dysfunction.

It's possible that he will find some low-hanging fruit and be able to rewrite some library code. But, really, when rewriting something old and bloated, the main thing you can do to add value is to remove code. And, AI agents are famous for their ability to generate vast amounts of code, not to get rid of it.

The absolute best case here is that this guy wastes 2 years of his life, and Cisco has some kind of deal where these "unlimited AI tokens" come at some fixed price so that this project costs Cisco only $1m or so. Then, the project's a failure, they only lose a bit of money, and they can maybe learn from the experience. But, do you really make an announcement about a project that's only going to run you $1m in costs? I doubt it. This is probably Cisco setting fire to $50m or more. And, given that they announced the project like it was a good idea, can they afford to just admit it failed? With that kind of sunk cost, they're probably going to feel a lot of pressure to achieve something positive with the stunt... so something here is going to be integrated into their codebase.

[-] ouRKaoS@lemmy.today 9 points 13 hours ago

They're advertising it trying to get some other sucker to think this will actually work and pay for enough tokens to rewrite all the code at their own company, inflating the bubble more.

Better do it now, because in two years everyone is going to be doing it; you can get ahead of the curve! 🤮

[-] PattyMcB@lemmy.world 51 points 19 hours ago

"Claude, rewrite all of these repos but better"

Done, and done!

This should be entertaining

[-] edgemaster72@lemmy.world 28 points 18 hours ago

Oof, forgot to tell it to make no mistakes. That's gonna cost another 6 months.

[-] Hupf@feddit.org 3 points 2 hours ago* (last edited 2 hours ago)

Claude, spawn seventy agents and have each rework the repo with a different method. Watch for mistakes they make and execute the agent responsible as an example to the others.

[-] fruitycoder@sh.itjust.works 20 points 17 hours ago

Hey I'm rooting for the guy. If in two years they release this mostly generated code it should be entirely public domain. Public domain slop is better for me then hostage making spyware.

[-] cruseo@piefed.world 59 points 20 hours ago

Holy shit, this really seems like something that you shouldn’t announce publicly

[-] LifeInMultipleChoice@lemmy.world 38 points 20 hours ago

So your telling me someone only has to pay off 1 27 year old to ensure they have a backdoor into most enterprise networks?

[-] historicaldocuments@lemmy.world 4 points 10 hours ago

No. They have already told off a 27 year old to ensure that the backdoor(s) they put there on purpose are still there when he gets done. It's been worse than you thought for years.

[-] barnacles@lemmy.zip 5 points 16 hours ago

LLMs will never take the job of the $5 wrench! Hit him with it til the back door is done.

[-] shittydwarf@piefed.ca 193 points 1 day ago
[-] heh@lemmy.world 19 points 17 hours ago* (last edited 17 hours ago)

Legacy code is still around for a reason. It’s not usually just a matter of refactoring it, but the business logic tied around it all.

Good luck lmao. Cisco will be underwater in years if they actually commit to this.

[-] eicker@lemmy.world 179 points 1 day ago

Cisco just handed a 27 year old unlimited AI tokens and the keys to 98% of its codebase. Somewhere, a senior engineer is quietly updating their resume. Rewriting code is easy. Discovering why that horrifying 1998 workaround exists is the actual final boss.

[-] LewdLemon@sh.itjust.works 109 points 1 day ago

I suppose a 27-year-old is about to find that out the hard way - along with Cisco's entire customer base. 🤷‍♂️

[-] chaosCruiser@futurology.today 45 points 23 hours ago* (last edited 23 hours ago)

Also, Cisco knows that now you can still do that. The AI market is largely subsided with VC money, so the current pieces are a fraction what they should be charging. Try this move after the bubble pops and you’ll need to pay millions for rewriting each application. If you want to vibe some slop code, now is the time.

[-] Skullgrid@lemmy.world 41 points 23 hours ago

Yeah, I went networking to see if I could find a job. Some asshole was the keynote speaker, and his idea was that with AI, you can now just throw the requirements at the machine and have it work out perfect. And that way, at the end of the day, the artifact that's created is no longer the code, it's the product definition. That's what you gotta guard. You can just throw the code away once you're done, it's all good.

Want to change that button's colour? Just re-create the entire fucking system, and shove it to live. Who cares how many tokens it takes?

[-] chaosCruiser@futurology.today 2 points 8 hours ago

Oh wow. That's about as wasteful as burning oil to make electricity.

And speaking of the prompt, if you want something as simple as a hello world application or Fibonacci sequence calculator, you're going to need like 10-20 sentences to explain precisely what you want. If you're also going to look at the code yourself, add another 20 lines to tell the LLM exactly how the code should look like to make maintenance easier.

[-] towerful@programming.dev 20 points 17 hours ago

"you are an internet router. Your job is to route internet packets. Make no mistakes. Use socat to read a stream of bytes from eth1 and forward them suitably using socat on eth0. Use best practices. Prevent all hacks and data leaks. Eth1 is the local trusted lan. Eth0 is the wider internet. Use Claude API when confused"

[-] Feathercrown@lemmy.world 2 points 9 hours ago

Didn't someone try this like a year ago?

load more comments (5 replies)
[-] CubitOom@infosec.pub 150 points 1 day ago* (last edited 1 day ago)

Future breaking news: Cisco hardware used in massive botnet attack.

[-] Kaligalis@lemmy.world 60 points 23 hours ago

It would genuinely be an actual achievement to make Cisco software less secure. Usually, letting AI fully write software is bad. But in this case, I expect the rewrite to be better just because of how abysmally low the bar is specifically at Cisco.

[-] foodandart@lemmy.zip 16 points 22 hours ago

LOL! God's honest I came in to say the exact same thing! Christ, the security on that kit is miserable. I ended up buying all new routers a few years ago and now use the old ones to run the Sonos speakers at my home and studio. Anyone hacks the networks and they'll get no further than my iPods.. Have fun guys!

Since I don't stream from the internet, its perfect.

load more comments (1 replies)
[-] Pratai@piefed.ca 3 points 12 hours ago

Is unlimited tokens a big deal? I don’t really get what this means…

[-] explodicle@sh.itjust.works 10 points 11 hours ago

Yeah it means he'll rack up a really high bill immediately on something stupid, and the board will pull the plug.

[-] Jeffool@lemmy.world 8 points 11 hours ago

Basically he's saying they get a blank check for AI tools.

My understanding is this: Tokens in AI wording are essentially measurements of computational time and power. You subscribe to ChatGPT for $X and you get #Y tokens. Each prompt costs a number of tokens depending on how long it takes and how much computational power it takes. The newer and more impressive models that use newer hardware (potentially more power) and expect better results also cost more tokens.

Basically rent a basic sedan for travel for $50 a day or a new sports car that goes faster and burns more gas and looks cooler at $500 a day. Maybe a pickup with practical hauling space for $300 a day.

That's what people are paying for when they subscribe to ChatGPT or Anthropic. That's how those companies make money, especially at scale for large companies.

[-] Pratai@piefed.ca 5 points 11 hours ago

What a fucking disaster. Who would do this??

[-] historicaldocuments@lemmy.world 4 points 10 hours ago

Someone with no understanding of what quality software looks like who also doesn't have to deal with the consequences of every Cisco switch and router on the planet either being old and unsupported, or new and absolutely full of security holes.

[-] Kazumara@discuss.tchncs.de 22 points 19 hours ago

Well this is concerning. Our entire network runs Cisco.

[-] pinball_wizard@lemmy.zip 6 points 13 hours ago* (last edited 13 hours ago)

It will still be "our network"... just with a wider definition of "our".

Want to give me any pointers on that to check out first, in case there's a mad rush to join in and explore?

Lol.

[-] humanspiral@lemmy.ca 20 points 19 hours ago

had founded a translation startup

Doesn't Cisco know any networking and firmware experts, with extensive legacy code knowledge, who could vibe code through a well thought out plan?

[-] ImgurRefugee114@reddthat.com 60 points 23 hours ago* (last edited 23 hours ago)

I don't know... Have you provisioned Cisco equipment before? It feels like the quality can only go up.

(But no, obviously this will end terribly unless they're incredibly careful. It's possible, but unlikely.)

load more comments (1 replies)

What happens if the price of those tokens suddenly skyrockets because the provider now knows your entire operation is relying on this one guy vibing?

[-] adarza@lemmy.ca 3 points 9 hours ago

for all we know cisco was paid to make this announcement to inflate 'ai' valuations and IPOs, and there's no actual intent for cisco to all in on a solo dev's 'ai' rewrite.

[-] inmate_p01135809@lemmy.world 50 points 23 hours ago

IDK. Sounds like a problem for Cisco to figure out.

load more comments (2 replies)
[-] xxce2AAb@feddit.dk 23 points 20 hours ago

"Welcome back to another episode of the premier game-show of the 21st century: 'What Could Possibly Go Wrong?' Man, do we have a great one for you guys tonight..."

[-] Blibittyblah@futurology.today 68 points 1 day ago

So, don’t buy Cisco. Got it.

[-] chaosCruiser@futurology.today 26 points 23 hours ago

Also, get some popcorn on your way home. When you hear the titan crashing down, it’s time to put the popcorn in the microwave.

[-] panda_abyss@lemmy.ca 36 points 23 hours ago

lol

When I was 27 I’d been coding for 15 years, so age alone shouldn’t be the red flag.

What is going to be a pop problem is the insane number of Chesterton fences stomped down that fuck everything over, or things that look like they can be optimized out or use cases you don’t think actually happen.

See rust core utils for an example of extremely well trodden and well reviewed software that ran into these issues for years. Not that it’s a bad effort, it’s an inherently hard task.

[-] abc@suppo.fi 1 points 7 hours ago

Yeah, 27 is actually the perfect starting age to do something like this. In my 40s I could also execute this, but wouldn't want the stress.

[-] deegeese@sopuli.xyz 26 points 22 hours ago

Hit the nail on the head there.

Every bit of weird code the LLM wants to simplify is a workaround for some old bug.

See also that old Joel Spolsky essay about how rewrites reimplement the bugs the legacy system fixed long ago.

load more comments (1 replies)
[-] banana_pie@piefed.zip 30 points 23 hours ago

That is peak level CEO magic thinking

[-] notso@feddit.org 30 points 1 day ago
load more comments
view more: next ›
this post was submitted on 30 Oct 2026
365 points (98.7% liked)

Technology

89269 readers
4557 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS