posted in Technology

Cisco gives 27-year-old engineer unlimited AI tokens to rewrite 98% of the company's legacy code in 24 months — president plucks former startup founder, telling him to 'go nuts'.

www.tomshardware.com/tech-industry/big-tech/cisco-gives-27-year-old-engineer-unlimited-ai-tokens-to-rewrite-98-percent-of-the-companys-legacy-code-in-24-months-president-plucks-former-startup-founder-telling-him-to-go-nuts
enPage

Replying to @⁨chaosCruiser@futurology.today⁩

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?

Replying to @⁨yucandu@lemmy.world⁩

Yeah, absolutely. That’s why when people use salesforce’s easy to use flows to define business logic, they just get the business guys to do it, and they don’t manage it with fleets and fleets of programmers.

Source : Worked with salesforce as a developer, and the preference was “declarative programming” (read : flowchart diagrams) over writing Apex code,because at some point, an administrator could maintain it.

Right? RIGHT?!

No. At the end of the day, you’re going to get a technical person to manage whatever fucking mechanism you invent, otherwise it’s going to fall to pieces because some asshat can’t figure out what happens on the 29th of February.

Replying to @⁨Skullgrid@lemmy.world⁩

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.

Replying to @⁨Kaligalis@lemmy.world⁩

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.

Replying to @⁨eicker@lemmy.world⁩

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.

Replying to @⁨deegeese@sopuli.xyz⁩

Yep, rarely do devs add more code just for fun. They’ll do it when the incentives are misaligned (e.g. the new modern trend of LOC changed), or doing stuff like “speed loops” to appease really shit management.

Usually when there’s some obscure extra rule in the code it’s because there was some hardware fault, an undocumented use case, a complaint from a key client, or an intermittent failure.

Anyways, I’ll be sitting over here with some popcorn.

Replying to @⁨eicker@lemmy.world⁩

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.

Replying to @⁨trolololol@lemmy.world⁩

My boss did the same thing. A team of experts working on our SaaS applications for 20 years, constantly improving it to be more secure, more maintainable, more usable, more performant, better organized, better documented, more thoroughly tested, more accessible, more suited to what users needed, more adaptable, using the most appropriate technology stack, protected from various attack scenarios, fully standards compliant, efficient to deploy, etc., and we just found out he vibe-coded a total replacement in secret all on his own in a couple of months using Claude and all written in JavaScript, and he is putting it live and retiring what we built. He wasn’t even going to tell us until he had migrated the last customer over to his thing, so he’s been letting us all work on projects that he had no intention of using, just to buy time until his slop was done.

Replying to @⁨Pratai@piefed.ca⁩

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.

Replying to @⁨eicker@lemmy.world⁩

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.

Replying to @⁨HaraldvonBlauzahn@feddit.org⁩

Another issue also is differentiating between hidden requirenments, undocumented features (positive), bugs (negative) and developer choice made during coding of the legacy software which does not affect the program positively or negatively.

A LLM (or alternatively a tem of developers) could do a reasonable well job of repuducing all these features and behaviors in a new program. But at that point you have effectively just cross-compiled your code (and maybe refactored it a bit).

The real issue is in identifying essential and wanted features from all the features, even if you could magically extract all of them. And in most cases that requires a deep understanding of the target audience/customer, which I would argue no person (including the customer), let alone a LLM, just has without years of requirenment refinement.

Replying to @⁨needanke@feddit.org⁩

I’m an actuarie, but my day to day job is being a developer. And is really funny when I’m refractoring or migrating some code where the preview developer wasn’t an acturie and I can see entire pieces of code that are useless (on top on when they’re just wrong) and are just there because who wrote it don’t really understand the purpose of the process and added things that at the end were never used. And when they ask an LLM to translate or refractor the code, that useless code usually cause problems because they can’t understand that that pieces of code have not real use and need to be ignored.