Embedded AI Podcast podkast

E27 Stupid AI Mistakes

0:00
52:17
Do tyłu o 15 sekund
Do przodu o 15 sekund

Lights-out engineering: switch off the lights, let the AI write all the software, and walk away. We think that's a bad idea. In Luca's words, it's not engineering, it's just lights out. In this episode we look at the ways AI coding tools tend to go wrong. The models have become much more capable, but their failure modes have stayed largely the same. They have just become harder to spot.

We talk about AIs that agree with your architecture and then blatantly ignore it, invent hardware that isn't on the board, get sensor timings subtly out of spec, and read only part of the file you pointed them to (the wrong part, of course).

We also cover where AI helps: as a rubber duck, a test-idea generator and a debugging partner. Along the way you'll hear about Luca's maggot-infested cherries in the dark, which we did not expect to become a metaphor for software production.

Key Topics:

  • [00:00] What lights-out engineering means, and why AI's long-term costs only show up once you've lived with the code for years
  • [02:33] The models got much stronger, but their failure modes stayed the same. They're just harder to spot in the flood of output
  • [05:51] Software is always N=1: why factory and pipeline metaphors don't fit software development
  • [10:42] AIs that agree to an architecture and then break it, with no sense of team agreements or of the cost of touching 16 files
  • [17:53] AI simulates intent, but it can't design for maintainability, a quality we humans still struggle to measure
  • [25:59] Where AI does help: as a rubber duck for design trade-offs and as a generator of test ideas, alongside some feel-good test cases
  • [28:32] Embedded pitfalls: subtly wrong sensor timings, half-read data sheets, invented hardware, and AI's strength as a debugging partner
  • [34:42] Why Luca forbids hidden subagents, and why we keep agent work in short, agile-style feedback loops
  • [39:43] Embedded systems are already hard to observe. Adding an agent that doesn't understand the code either makes that worse
  • [43:12] Teaching engineering with AI: a study showing better homework but worse tests, and using AI to learn rather than to do the work
  • [49:45] Where to find Luca and Ryan, and Ryan's simulations of hearts, motors and tissue

Notable Quotes:

"Lights out engineering is absolutely a stupid idea. In fact, it's not engineering, it's just lights out, full stop." — Luca Ingianni

"The AI is like the greatest programmer of all time, but a programmer is not a software engineer." — Ryan Torvik

"AI software production sometimes is kind of like that. Eating maggots in the dark." — Luca Ingianni

Resources Mentioned:

  • Luca.engineer - Luca's website, with links to his trainings and LinkedIn
  • Pragmatic Embedded Podcast - Luca and Jeff's other podcast (not to be confused with the Pragmatic Programmer book)
  • Tulip Tree Technology - Ryan's company, which builds hardware simulation and now also simulates hearts, motors and tissue
  • Agile Embedded Podcast Slack - The community Slack where you can find both of us
  • Claude Code - AI coding harness we discuss, including its subagent feature

Więcej odcinków z kanału "Embedded AI Podcast"